Bug 413176

Summary: keyboard input not detected properly
Product: [Applications] systemsettings Reporter: José Pekkarinen <koalinux>
Component: kcm_formatsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: asturm, nate, plasma-bugs, rasasi78
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=427589
Latest Commit: Version Fixed In:

Description José Pekkarinen 2019-10-19 08:46:33 UTC
SUMMARY

In previous version of plasma, I was able to use a Finnish
layout to handle tilde characters like the e of my name, and
the n tilde. Since Gentoo updated to plasma 5.16.5 this is
no longer possible, though I can go to a raw terminal and
write them there using same keyboard and underlying config
of gentoo. 

STEPS TO REPRODUCE
1. Open a plasma session.
2. Configure input as keyboard model "Generic 105-key PC"
3. Configure only finnish-default or finnish-classic layout
4. Try to write ntilde or any tilde based character in editor/terminal.

OBSERVED RESULT

regular n, or vowel shown.

EXPECTED RESULT

Tilde character,

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo linux / Plasma-desktop-5.16.5
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3

Thanks!

Jose(no tilde... damn...)
Comment 1 José Pekkarinen 2019-10-30 17:42:00 UTC
this still happens in 5.17.1.
Comment 2 José Pekkarinen 2019-11-03 21:24:40 UTC
this turns out to be a mismatch between the locales of the system
and the ones showed in system settings -> regional settings -> Formats.
In the region drop down, if I select a locale that is in the system
I can write é and ~ again, however, I cannot find several locales
defined in the system, like fi_FI.UTF-8, instead I find others not
defined like en_FI, so I'm not sure where is plamsa looking for the locales
but surely not in the default for the system.

Best regards.

José Pekkarinen.
Comment 3 José Pekkarinen 2020-07-12 16:51:03 UTC
the workaround in comment 2 lasted little and I'm again for a while
unable to write caracters like é and ~, that I use in my daily basis.

I'm currently living in:

Linux/KDE Plasma: Gentoo linux / Plasma-desktop-5.19.3
(available in About System)
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2

Thanks!

José
Comment 4 José Pekkarinen 2020-09-15 06:49:46 UTC
I'm inclined to think this bug that doesn't work even with the workaround
I found for a big while is actually a problem in Gentoo. I'm lately using
debian with plasma and ubuntu with the neon repository and there I can
write all characters without problem. Also, if I fire a gtk program like
seamonkey in Gentoo(regardless of being in plasma session), I can write
the characters correctly, so I'm not sure which piece gentoo doesn't
configure in Qt not to be recognized.

My current sw versions:

Linux/KDE Plasma: Gentoo linux / Plasma-desktop-5.19.5
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

Thanks!

José Pekkarinen.
Comment 5 Christoph Feck 2020-10-12 06:23:35 UTC
I suggest to report this issue to Gentoo developers. They could find the differences to an Ubuntu/Neon system.
Comment 6 Andreas Sturmlechner 2020-10-13 08:35:25 UTC
The important bit to realise here is that not Gentoo configures your system, you configure your system. I can't reproduce this with German keyboard layout.
Comment 7 José Pekkarinen 2020-10-13 08:45:05 UTC
(In reply to andreas.sturmlechner from comment #6)
> The important bit to realise here is that not Gentoo configures your system,
> you configure your system. I can't reproduce this with German keyboard
> layout.

While I agree with that, it is not clear to me this is a wrong system
configuration, as I rebuilt the system using mostly everything default,
even leaving locale to en_US, and merging wayland, plasma and libinput,
and I still got the same result. Regular TTYs does write the characters,
gtk apps writes them, just qt/plasma related ones doesn't.

Thanks!

José.
Comment 8 Andreas Sturmlechner 2020-10-13 08:45:36 UTC
...and I just added Finnish default lazout, añd it wœrks fínè for me apparentlz.

Quick search shows someone on Fedora struggling as well with the Finnish layout.
Comment 9 José Pekkarinen 2020-10-14 18:40:30 UTC
As hinted by Andreas from Gentoo, I may have forgotten to mention this
happens in wayland, I've been using it for long that I assumed it was
the default everybody uses for all this period.

José.