[Bug 1103682] New: global applications shortcuts flaky
http://bugzilla.suse.com/show_bug.cgi?id=1103682 Bug ID: 1103682 Summary: global applications shortcuts flaky Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I added a global shortcut (ctrl-alt-y) for xterm. It does not work always though. Sometimes I have to log out and in again to make it work. Some race somewhere? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c1 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com, | |lnussel@suse.com Flags| |needinfo?(lnussel@suse.com) --- Comment #1 from Fabian Vogt <fvogt@suse.com> --- Sounds like https://bugs.kde.org/show_bug.cgi?id=353926 - does it work by invoking it as "Ctrl-Alt-z" in the broken cases? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c2 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #2 from Ludwig Nussel <lnussel@suse.com> --- also doesn't work -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c3 --- Comment #3 from Ludwig Nussel <lnussel@suse.com> --- it happens reproducible on auto login (also rcxdm restart). when logging out and in again the shortcut works. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c4 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lnussel@suse.com) --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- Tried it about five times each - still can't reproduce the issue. Are there any other applications enabled on autostart which might request an X key grab? xdotool key "XF86LogGrabInfo" will print a list of all grabs into the X server log. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c15 --- Comment #15 from Ludwig Nussel <lnussel@suse.com> --- Created attachment 781849 --> http://bugzilla.suse.com/attachment.cgi?id=781849&action=edit xev from not working shortcut -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c16 --- Comment #16 from Ludwig Nussel <lnussel@suse.com> --- Created attachment 781850 --> http://bugzilla.suse.com/attachment.cgi?id=781850&action=edit xev from working shortcut -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c17 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #17 from Ludwig Nussel <lnussel@suse.com> --- (In reply to Michal Srb from comment #14)
(In reply to Fabian Vogt from comment #12)
I had a look at the code and it uses X11 KeySyms throughout.
Actually KeySyms are layout-dependent, did you mean KeyCodes?
The code that prints the current grabs in X server does not look like it could cause any changes. My best explanation is that when the xdotool virtually presses the "XF86LogGrabInfo" key, which was not present on the current keyboard layout, it causes some update to it. (Even though that layout should not matter for the shortcuts.)
So, I don't have idea what could be broken, but I have some questions:
Can you reliably reproduce the problem and reliably fix it using the xdotool?
Yes on one laptop, no on another.
Does switching keyboard layout between DE and US make any difference? Does pressing ctrl-alt-z (instead of y) do something?
no but this key seems to be special in some way. I put another app on ctrl-alt-d and that one works always. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c18 --- Comment #18 from Ludwig Nussel <lnussel@suse.com> --- actually on system #2 I can't get ctrl-alt-y to work at all. On system #1 calling setxkbmap without arguments also made the shortcut work. It looks like setxkbmap without arguments installs some different keyboard layout but still German. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c19 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |KDE Workspace (Plasma) Assignee|xorg-maintainer-bugs@forge. |opensuse-kde-bugs@opensuse. |provo.novell.com |org QA Contact|xorg-maintainer-bugs@forge. |qa-bugs@suse.de |provo.novell.com | --- Comment #19 from Ludwig Nussel <lnussel@suse.com> --- turning off autologin makes it work. So maybe SDDM launches the session differently when autologin is enabled? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c20 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lnussel@suse.com) --- Comment #20 from Fabian Vogt <fvogt@suse.com> --- The xev output doesn't show anything wrong - in the working case the KeyPress of "y" doesn't arrive. (In reply to Ludwig Nussel from comment #19)
turning off autologin makes it work. So maybe SDDM launches the session differently when autologin is enabled?
When doing autologin, the greeter is not started. To rule out keyboard layout race conditions: Is the keyboard layout configured for the session (kcmshell5 keyboard) the same as the global X11 configuration (localectl)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c21 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #21 from Ludwig Nussel <lnussel@suse.com> --- there are no layouts configured in kcmshell5 keyboard. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c22 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Flags| |needinfo?(lnussel@suse.com) --- Comment #22 from Fabian Vogt <fvogt@suse.com> --- I was finally reproduce the issue in a VM and it's indeed keyboard layout related. Fix: https://phabricator.kde.org/D16434 Test package is in home:Vogtinator:boo1103682/openSUSE_Leap_15.0_Update, please try. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c23 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #23 from Ludwig Nussel <lnussel@suse.com> --- works, thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c24 --- Comment #24 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1103682) was mentioned in https://build.opensuse.org/request/show/646193 Factory / kglobalaccel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c25 --- Comment #25 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1103682) was mentioned in https://build.opensuse.org/request/show/646195 15.0+42.3+Backports:SLE-12-SP1+Backports:SLE-12-SP2+Backports:SLE-12-SP3+Backports:SLE-15 / kglobalaccel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c27 --- Comment #27 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2018:3795-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1103682 CVE References: Sources used: SUSE Package Hub for SUSE Linux Enterprise 12 (src): kglobalaccel-5.20.0-6.1, kglobalaccel-5.26.0-5.1, kglobalaccel-5.32.0-9.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 http://bugzilla.suse.com/show_bug.cgi?id=1103682#c28 --- Comment #28 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2018:3799-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1103682 CVE References: Sources used: openSUSE Leap 42.3 (src): kglobalaccel-5.32.0-2.6.1 openSUSE Leap 15.0 (src): kglobalaccel-5.45.0-lp150.2.6.1 openSUSE Backports SLE-15 (src): kglobalaccel-5.45.0-bp150.4.4.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:8209:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1103682 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:8209:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com