https://bugs.kde.org/show_bug.cgi?id=458836

            Bug ID: 458836
           Summary: [Wayland] global shortcuts do not work when a "Chrome
                    app" is active
           Product: kwin
           Version: 5.25.5
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

Running kwin-wayland 4:5.25.5-0ubuntu1 on Kubuntu Kinetic, when a "Chrome app"
(a website that was added to "chrome://apps" and then marked with "open as
window") is open and active, none of the global shortcuts work - except ALT-F4
to close the window. That includes:
- kwin window management shortcuts (such as window operations menu shortcut or
switch to next app)
- other applications global shortcuts (such as spectacle screen capture)

STEPS TO REPRODUCE
1. Start a Wayland plasma session and install Chrome
2. Open a Chrome tab to "chrome://apps"
3. Either add a new app by opening another tab to a website that you want to
"applify" and then dragging its "website information" icon (often shown as a
lock) to the apps tab, or just use one of the existing pre-installed apps.
4. Right click the app you want to test and choose "Open as window" from the
menu.
5. Click the app icon and wait for it to open.
6. try to switch to another app using the keyboard shortcut.

OBSERVED RESULT

Nothing happens

EXPECTED RESULT

Kwin should activate the original Chrome window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION

When pressing global shortcuts in a "chrome app" window, the user journal has
this to say:

----8<----
Sep 07 16:25:59 vesho plasmashell[9328]:
[9323:9323:0907/162559.973043:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_translate_keyboard_state: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:25:59 vesho plasmashell[9328]:
[9323:9323:0907/162559.973076:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_add_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:25:59 vesho plasmashell[9328]:
[9323:9323:0907/162559.973094:ERROR:input_method_context_impl_gtk.cc(122)]
Cannot translate a Keyevent to a GdkEvent.
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.196809:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_translate_keyboard_state: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.196824:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_add_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.196833:ERROR:input_method_context_impl_gtk.cc(122)]
Cannot translate a Keyevent to a GdkEvent.
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.301176:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_translate_keyboard_state: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.301217:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_add_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.301239:ERROR:input_method_context_impl_gtk.cc(122)]
Cannot translate a Keyevent to a GdkEvent.
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.359204:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_translate_keyboard_state: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.359232:ERROR:browser_main_loop.cc(269)] Gdk:
gdk_keymap_add_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed
Sep 07 16:26:00 vesho plasmashell[9328]:
[9323:9323:0907/162600.359249:ERROR:input_method_context_impl_gtk.cc(122)]
Cannot translate a Keyevent to a GdkEvent.
----8<----

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to