INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Linux => Topic started by: hillcreative on June 14, 2018, 05:57:59 pm

Title: Autocomplete on words with 2 of the same letters in a row
Post by: hillcreative on June 14, 2018, 05:57:59 pm
I get a window that pops up in Unbutu that whenever I type two letters in a row that are the same: IE Letter. Ubuntu pops up with a list of possible letters after the first occurrence which requires that I mouse back into the field and type the second letter occurrence. A pain in the ass when updating a bunch of fields.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: mwillems on June 14, 2018, 06:51:37 pm
I get a window that pops up in Unbutu that whenever I type two letters in a row that are the same: IE Letter. Ubuntu pops up with a list of possible letters after the first occurrence which requires that I mouse back into the field and type the second letter occurrence. A pain in the ass when updating a bunch of fields.

I've been seeing the same thing on Arch but didn't know what was triggering it.  Good eye!
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: Rizlaw on June 23, 2018, 11:31:17 am
I've been noticing this, as well, for awhile now.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: bob on June 25, 2018, 03:23:40 pm
I've been noticing this, as well, for awhile now.
In MC?
If so, the DM is stealing control of the window.
Probably somewhere to turn it off in the DM settings.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: hillcreative on June 25, 2018, 04:37:35 pm
Yes MC24. Turn off 'DM' Where can I find that in Ubuntu?
Cheers

Hillcreative
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: mwillems on June 25, 2018, 06:04:27 pm
Bob, it doesn't happen in any other programs that I'm aware of, but it's 100% reproducible in MC on my Gnome system.  If I start typing in the search box or any tag field, entering two of the same letter in a row pops up a little window showing an alternative letter.  It did not happen in MC23 to my knowledge

Of interest: if I right-click on the pop-up it crashes MC immediately (segfault), 100% reproducible.

Here's a log package created after reproducing the crash.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: JimH on June 25, 2018, 06:08:15 pm
I suppose you've tried typing really slowly.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: mwillems on June 25, 2018, 06:41:50 pm
I suppose you've tried typing really slowly.

I just did; leaving about ten seconds between letters still showed the same behavior.  Interesting idea, though.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: JimH on June 25, 2018, 06:43:16 pm
Any other similar problems in other applications?
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: mwillems on June 25, 2018, 06:56:37 pm
Any other similar problems in other applications?

No only in JRiver; in fact until this thread opened, I wasn't even aware what triggered it in JRiver, just that sometimes I'd get a weird popup while typing in the tag editor JRiver.  The double letter thing does it like clockwork though.

If I see it in another application I'll report back.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: JimH on June 25, 2018, 07:13:17 pm
Thanks.  We'll investigate.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: Awesome Donkey on June 26, 2018, 01:58:31 am
Yes MC24. Turn off 'DM' Where can I find that in Ubuntu?

Bob means desktop manager/environment, e.g. GNOME in this case. It's something you can't actually turn off, or else your Ubuntu install would only boot to the terminal. :P Bob meant a setting within the DM that controls window focus - GNOME doesn't have easy options for stuff like this, and it'd likely would require messing with the dconf-editor. That said, this might be GNOME specific since Ubuntu uses GNOME by default now. I'd recommend waiting to see what Bob finds out here.

KDE Plasma is known to have focus issues with MC, which requires a setting to be changed in Plasma (which is handy, since Plasma has options for this within the settings app for Plasma).

EDIT 1: I see what you guys mean now. That's the character popup that was added in MC, mainly to add Latin characters with diacritics. It's in MC for Windows and Mac too, but it works only if you hold the key down for a second or two.

Code: [Select]
NEW: Text edit boxes now have a more convenient way to add Latin characters with diacritics.  Press and hold a letter key and a list of choices with diacritical versions for that letter is shown to choose from.
The problem is it's triggering by pressing the key (twice in a row) instead of holding down the key (for X amount of time) for it to pop up. I'll test other desktop environments and post the results here.

EDIT 2: Happens in Cinnamon and KDE Plasma too. Can even easily reproduce this in Debian Stretch with GNOME as well. Which means it's likely not desktop environment/distro specific.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: bob on June 26, 2018, 08:47:00 am
Bob means desktop manager/environment, e.g. GNOME in this case. It's something you can't actually turn off, or else your Ubuntu install would only boot to the terminal. :P Bob meant a setting within the DM that controls window focus - GNOME doesn't have easy options for stuff like this, and it'd likely would require messing with the dconf-editor. That said, this might be GNOME specific since Ubuntu uses GNOME by default now. I'd recommend waiting to see what Bob finds out here.

KDE Plasma is known to have focus issues with MC, which requires a setting to be changed in Plasma (which is handy, since Plasma has options for this within the settings app for Plasma).

EDIT 1: I see what you guys mean now. That's the character popup that was added in MC, mainly to add Latin characters with diacritics. It's in MC for Windows and Mac too, but it works only if you hold the key down for a second or two.

Code: [Select]
NEW: Text edit boxes now have a more convenient way to add Latin characters with diacritics.  Press and hold a letter key and a list of choices with diacritical versions for that letter is shown to choose from.
The problem is it's triggering by pressing the key (twice in a row) instead of holding down the key (for X amount of time) for it to pop up. I'll test other desktop environments and post the results here.

EDIT 2: Happens in Cinnamon and KDE Plasma too. Can even easily reproduce this in Debian Stretch with GNOME as well. Which means it's likely not desktop environment/distro specific.
Ok, thanks for the extra info, we'll take a look at it...
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: bob on June 26, 2018, 02:08:17 pm
Both the bug and the crash are fixed in the next build.
This is implemented by some more keyboard functionality on linux, if it causes issues please let us know.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: hillcreative on June 26, 2018, 09:44:14 pm
Perhaps a dumb question but where do I download beta 37 for Ubuntu? Using the helpful installation instructions only install beta 36. BTW is it also necessary to re-install my master license every time I update? I'm running out of installations.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: Awesome Donkey on June 27, 2018, 03:16:43 am
Either add the beta repo, do a sudo apt-get update and do a system update or manually install it using dpkg.

EDIT: I can confirm this issue is indeed fixed in 24.0.37 beta. :D
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: hillcreative on June 27, 2018, 06:52:20 am
sudo wget http://dist.jriver.com/beta/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24beta.list

Installs version 24.0.36
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: Awesome Donkey on June 27, 2018, 07:22:48 am
Oh, it must not be on the beta repo yet. You can easily manually install it by downloading the .deb and using sudo dpkg -i <pathto.debfilehere>
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: bob on June 28, 2018, 09:42:11 am
Oh, it must not be on the beta repo yet. You can easily manually install it by downloading the .deb and using sudo dpkg -i <pathto.debfilehere>
It's in the beta repo now.
Licensing didn't change in this revision and hopefully won't going forward.
Title: Re: Autocomplete on words with 2 of the same letters in a row
Post by: hillcreative on June 28, 2018, 10:47:19 am
Thanks Bob!