Summary: | present windows alternate activation key does not toggle | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jason Tibbitts <j> |
Component: | effects-present-windows | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, nate, notuxius |
Priority: | NOR | ||
Version: | 5.6.4 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/376ee357dbc50fec3b6e71c40938171ddb2e726a | Version Fixed In: | 5.25 |
Sentry Crash Report: |
Description
Jason Tibbitts
2016-06-08 21:30:49 UTC
Yeah makes sense. The effect grabs the keyboard, thus it implements the toggle by itself. The toggle got implemented before alternative keys were supported, so it only knows about the primary key. Anyway: on Wayland I'm sure it works. I'm not sure how long it's going to take for Wayland to actually become a viable alternative to X, though. So in the meantime, if you have any hints as to where in the source that toggling is implemented I'd be happy to take a look (unless you're already planning to look into this yourself, of course). The last time I wrote C++ was using cfront, but I can probably make something work. the relevant code is in: git://anongit.kde.org/kwin file: effects/presentwindows/presentwindows.cpp The problematic code might be in method globalShortcutChanged. If I interpret the code correctly it results in alternative shortcuts being removed. Toggle with alternative hotkey doesn't happening in Wayland Distribution: Netrunner Rolling Kernel: 4.18.0-1-MANJARO Plasma: 5.13.3 Apps: 18.04.3 Qt: 5.11.1 Frameworks: 5.48.0 Wayland: 1.15.0 Graphics: Card-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0a16 Display: wayland server: X.Org 1.20.0 driver: intel unloaded: modesetting alternate: fbdev,vesa compositor: kwin wayland tty: N/A OpenGL: renderer: Mesa DRI Intel Haswell Mobile v:4.5 Mesa 18.1.4 compat-v: 3.0 direct render: Yes I can't confirm the problem on X11. Confirmed on Wayland - bug 404627 seems related. Tested meta+r as global alternate shorcut. Operating System: KDE neon Developer Edition KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.0 This has been fixed with the rewrite in Plasma 5.25, done by Marco Martin with https://invent.kde.org/plasma/kwin/-/commit/376ee357dbc50fec3b6e71c40938171ddb2e726a! |