[Bug 1091816] New: Using Wayland Plasma Konsole does not allow to enter characters like ', ", and ^
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816 Bug ID: 1091816 Summary: Using Wayland Plasma Konsole does not allow to enter characters like ', ", and ^ Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: freek@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I installed in Tumbleweed some wayland packages and now I have the option to start Wayland Plasma. At installetion time I did set to use US keyboard International. To get a ' I need to press key ' and spacebar for the character ' to appear on the screen. When I start such a session and start Konsole I tried to get a ' on the screen, so I pressed the above mentioned keys, but only a space appears on the screen. Same is true for character " and ^; they do not appear on the screen. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c1
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c2
--- Comment #2 from Freek de Kruijf
Is this really specific to Konsole, or does it rather happen with *all* applications?
Not only Konsole.
Sounds like a keyboard layout with dead keys is used.
Indeed, that what I choose when I installed the system (US keyboard with dead keys)
Did you change the keyboard layout in KDE's systemsettings5?
No, I did not realize that was needed.
If not, it's rather not a KDE problem I suppose, although I'm not sure at the moment how the systemwide keyboard settings are handled in Wayland. (for X11 they are in /etc/X11/xorg.conf.d/00-keyboard.conf, which is generated by the X startup scripts if it doesn't exist, using a mapping table)
After selecting in System Settings the keyboard layout to be US international, the problem is solved. In my view the bug is that the settings are not copied when Wayland is used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c3
--- Comment #3 from Wolfgang Bauer
Sounds like a keyboard layout with dead keys is used.
Indeed, that what I choose when I installed the system (US keyboard with dead keys)
And why are you surprised about that then?
From what you wrote so far, everything seems to work as expected. You chose "US keyboard with dead keys" during installation, and get "US keyboard with dead keys" when you login to Wayland.
Or am I missing something here?
Did you change the keyboard layout in KDE's systemsettings5?
No, I did not realize that was needed.
It should not be needed per se, unless you want to override the system-wide settings for the user. Without it, Plasma will not change the keyboard layout at all during login.
In my view the bug is that the settings are not copied when Wayland is used.
What settings should be copied from where? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c4
--- Comment #4 from Freek de Kruijf
(In reply to Freek de Kruijf from comment #2)
Sounds like a keyboard layout with dead keys is used.
Indeed, that what I choose when I installed the system (US keyboard with dead keys)
And why are you surprised about that then?
From what you wrote so far, everything seems to work as expected. You chose "US keyboard with dead keys" during installation, and get "US keyboard with dead keys" when you login to Wayland.
Or am I missing something here?
Yes. I choose US keyboard with dead keys during installation, but when starting Plasma Wayland that setting was not used.
Did you change the keyboard layout in KDE's systemsettings5?
Yes, after starting Wayland Plasma and your suggestion, I used KDE's systemsettings5, to set the keyboard layout to US keyboard with dead keys, after which the problem in the subject was solved.
No, I did not realize that was needed.
It should not be needed per se, unless you want to override the system-wide settings for the user.
Without it, Plasma will not change the keyboard layout at all during login.
In my view the bug is that the settings are not copied when Wayland is used.
What settings should be copied from where?
The settings used during installation for the keyboard layout should be copied, such that Plasma Wayland uses these settings, now these are not used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c5
--- Comment #5 from Wolfgang Bauer
Or am I missing something here?
Yes. I choose US keyboard with dead keys during installation, but when starting Plasma Wayland that setting was not used.
Did you change the keyboard layout in KDE's systemsettings5?
Yes, after starting Wayland Plasma and your suggestion, I used KDE's systemsettings5, to set the keyboard layout to US keyboard with dead keys, after which the problem in the subject was solved.
Ah, so the problem is that dead keys did *not* work. I misread comment#0 as that you have to press space after ^ (or whatever) to get the ^, i.e. the expected behavior with dead keys.
What settings should be copied from where?
The settings used during installation for the keyboard layout should be copied, such that Plasma Wayland uses these settings, now these are not used.
That's hardly something to be done from the KDE side though. But as I wrote, I have absolutely no idea currently where Wayland gets its default keyboard layout from, or how this works. And I'm still on Leap 42.3 at the moment and cannot use Wayland. Btw, Wayland still has to be considered experimental to some degree, it's still work-in-progress. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c6
--- Comment #6 from Freek de Kruijf
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c7
--- Comment #7 from Wolfgang Bauer
After setting a keyboard layout using systemsettings5 and after a reboot and choosing Plasma Wayland, I again have problems entering the mentioned characters. Checking the layout, adding a standard US keyboard also, there are still problems using the keys ' " and ^, in the setting with US keyboard with dead keys. Changing to the normal US keyboard layout makes it possible to enter these characters. In the setting with dead keys and when pressing the accent-key or the quote-key the popup which also shows when <Alt>+<F2> is pressed, pops up.
This should probably better be reported upstream though, IMHO. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c8
--- Comment #8 from Freek de Kruijf
This should probably better be reported upstream though, IMHO.
I found a similar problem in https://bugs.kde.org/show_bug.cgi?id=379912, where it is categorized as a Qt problem. I entered a new bug report: https://bugs.kde.org/show_bug.cgi?id=393907 Will see if it should be entered as a Qt bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c9
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c10
--- Comment #10 from Freek de Kruijf
Plasma on Wayland gets the default (= only if not set with systemsettings) keyboard layout from system-localed.
What does localectl say? What's the output of "env | grep XKB_DEFAULT"?
The following is with settings by systemsettings5. freek@eiktum:~> env | grep XKB_DEFAULT XKB_DEFAULT_VARIANT=intl XKB_DEFAULT_OPTIONS=terminate:ctrl_alt_bksp XKB_DEFAULT_LAYOUT=us XKB_DEFAULT_MODEL=microsoftpro freek@eiktum:~> localectl System Locale: LANG=nl_NL.UTF-8 VC Keymap: us-intl X11 Layout: us X11 Model: microsoftpro X11 Variant: intl X11 Options: terminate:ctrl_alt_bksp freek@eiktum:~> When entering this in Firefox I can enter the character ' by pressing key ' and spacebar. I removed the two layouts US and US with dead keys in systemsettings, left konsole and started konsole again. I got the same as above. I will end this Plasma Wayland session and log in again leaving the keyboard layout unset in systemsettings and come back in the following comment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c11
Freek de Kruijf
(In reply to Fabian Vogt from comment #9)
Plasma on Wayland gets the default (= only if not set with systemsettings) keyboard layout from system-localed.
What does localectl say? What's the output of "env | grep XKB_DEFAULT"?
I will end this Plasma Wayland session and log in again leaving the keyboard layout unset in systemsettings and come back in the following comment.
I got the same output on the two commands as reported in comment #10 after removal of the two layouts in systemsettings5 and logging in again in Plasma Wayland. See below: freek@eiktum:~> env | grep XKB_DEFAULT XKB_DEFAULT_VARIANT=intl XKB_DEFAULT_OPTIONS=terminate:ctrl_alt_bksp XKB_DEFAULT_LAYOUT=us XKB_DEFAULT_MODEL=microsoftpro freek@eiktum:~> localectl System Locale: LANG=nl_NL.UTF-8 VC Keymap: us-intl X11 Layout: us X11 Model: microsoftpro X11 Variant: intl X11 Options: terminate:ctrl_alt_bksp freek@eiktum:~> However pressing the accent key, the Shift+accent-key (double quote) and the Shift+6-key I get the same popup after pressing <Alt>+<F2>. Also the other dead keys like tilde and back-tick invoke this popup. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c12
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c13
Freek de Kruijf
Is the behaviour different if you use konsole with qtwayland, i.e. "konsole -platform wayland"?
No, it is the same in the case there is no layout defined.
What's the content of .config/kxkbrc?
freek@eiktum:~> more .config/kxkbrc [Layout] DisplayNames= LayoutList= LayoutLoopCount=-1 Model=logiex110 Options=terminate:ctrl_alt_bksp ResetOldOptions=true ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=false freek@eiktum:~> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c14
Fabian Vogt
(In reply to Fabian Vogt from comment #12)
Is the behaviour different if you use konsole with qtwayland, i.e. "konsole -platform wayland"?
No, it is the same in the case there is no layout defined.
What's the content of .config/kxkbrc?
freek@eiktum:~> more .config/kxkbrc [Layout] DisplayNames= LayoutList=
^ This seems to be the issue. Can you try to set "us(international)" manually here and relogin? I'm not sure whether that's the right value though.
LayoutLoopCount=-1 Model=logiex110 Options=terminate:ctrl_alt_bksp ResetOldOptions=true ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=false freek@eiktum:~>
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c15
--- Comment #15 from Freek de Kruijf
(In reply to Freek de Kruijf from comment #13)
LayoutList=
^ This seems to be the issue. Can you try to set "us(international)" manually here and relogin? I'm not sure whether that's the right value though.
I used systemsetting5 to enter a layout and now LayoutList shows: LayoutList=us(intl) Some looking around I found this file is where the keyboard layout is saved if set by systemsettings5. Will investigate somewhat further. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c16
Freek de Kruijf
(In reply to Fabian Vogt from comment #14)
(In reply to Freek de Kruijf from comment #13)
LayoutList=
^ This seems to be the issue. Can you try to set "us(international)" manually here and relogin? I'm not sure whether that's the right value though.
I used systemsetting5 to enter a layout and now LayoutList shows: LayoutList=us(intl) Some looking around I found this file is where the keyboard layout is saved if set by systemsettings5.
Will investigate somewhat further.
The above was done in Plasma. Leaving this setting I logged out and in again in in Wayland Plasma. Inspected the configuration and systemsettings5 shows the configured keyboard layout us(intl). However trying to enter ' in konsole, in spite the setting, was not possible. Pressing that key made the command window popup. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c17
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c18
--- Comment #18 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c19
--- Comment #19 from Freek de Kruijf
I just tried this on Leap 15.0:
I configured us(intl) in YaST and then logged into Plasma (Wayland).
' + space results in ' in konsole, so it appears to work fine here, without any configuration inside Plasma.
Can you try again without the .config/xkbrc file?
I also tried in Leap 15.0 and configured the layout in YaST. The file .config/xkbrc is not present, and in konsole things work as expected. Need to test in Tumbleweed as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c20
Freek de Kruijf
I used the keyboard kcm to configure the same layout manually and it works fine on startup as well.
Once you tried without the kxkbrc, try with this one as well:
[Layout] DisplayNames= LayoutList=us(intl) LayoutLoopCount=-1 Model=pc101 ResetOldOptions=false ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=true
Tested in Tumbleweed also. Configured in YaST the system keyboard. Removed in systemsettings5 any layout, which leaves kxkbrc as: [Layout] DisplayNames= LayoutList= LayoutLoopCount=-1 Model=logiex110 Options=terminate:ctrl_alt_bksp ResetOldOptions=true ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=false The problem with ' + space and other dead keys is gone. All OK now, both in Leap 15.0 and Tumbleweed. Anything else you want me to do? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c21
Fabian Vogt
(In reply to Fabian Vogt from comment #18)
I used the keyboard kcm to configure the same layout manually and it works fine on startup as well.
Once you tried without the kxkbrc, try with this one as well:
[Layout] DisplayNames= LayoutList=us(intl) LayoutLoopCount=-1 Model=pc101 ResetOldOptions=false ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=true
Tested in Tumbleweed also. Configured in YaST the system keyboard. Removed in systemsettings5 any layout, which leaves kxkbrc as:
[Layout] DisplayNames= LayoutList= LayoutLoopCount=-1 Model=logiex110 Options=terminate:ctrl_alt_bksp ResetOldOptions=true ShowFlag=false ShowLabel=true ShowLayoutIndicator=true ShowSingle=false SwitchMode=Global Use=false
The problem with ' + space and other dead keys is gone. All OK now, both in Leap 15.0 and Tumbleweed. Anything else you want me to do?
Hm, so you can't reproduce the issue anymore? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816
http://bugzilla.opensuse.org/show_bug.cgi?id=1091816#c22
Freek de Kruijf
Hm, so you can't reproduce the issue anymore?
In my view problem solved, both in Tumbleweed and Leap 15.0. I marked the issue as resolved. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com