Bug 506698 - "Present Windows" effect lost shortcuts in Plasma 6.4
Summary: "Present Windows" effect lost shortcuts in Plasma 6.4
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-present-windows (other bugs)
Version First Reported In: 6.4.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-07 00:16 UTC by Maximilian Böhm
Modified: 2025-08-26 21:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4.4
Sentry Crash Report:


Attachments
kglobalshortcutsrc (22.65 KB, text/plain)
2025-07-07 14:46 UTC, Maximilian Böhm
Details
No default key combo at the All Desktops scale effect in German (31.30 KB, image/png)
2025-07-11 12:53 UTC, Maximilian Böhm
Details
kglobalshortcutsrc (16.81 KB, text/plain)
2025-07-12 13:07 UTC, Thomas Carmichael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Böhm 2025-07-07 00:16:31 UTC
"Present Windows" effect lost ability to bind keys to modi in Plasma 6.4

After upgrading to Plasma 6.4, my key shortcuts for the different Present Windows modi were dysfunctional. It was really confusing to find out the whole effect entry got deleted from the list and all that was left was the Overview effect, which is for casual notebook users IMHO. I wasn’t able to find this mentioned in the release notes. Thank god the effect modi are still available as screen corner action.

I really, really hope you don’t consider also removing this! Being able to present windows from all desktops, only from my current desktop, or from my current window class is an integral part of my workstation workflow and has been since the Compiz era in the mid-00s. Compiz and Kwin have inherited this very useful feature from Mac OS X Exposé. You *have* to use this when you are working with lots of different multimedia tools, open file manager windows and browser windows, even more so with lots of workspaces. Not everyone is typing their whole day along inside a code editor.

I suggest re-adding these effect modi as a configurable keyboard shortcut to the Overview entry in the effects list:

Toggle Present Windows (All desktops)
Toggle Present windows (Current desktop)
Toggle Present windows (Window class)
Toggle Present Windows (Window class on current desktop)
Comment 1 Blazer Silving 2025-07-07 02:27:32 UTC
Hello Maximilian! The Present Windows bindings have been absent from the Overview options KCM for some time (since at least Plasma 6 I believe), but there are still a few ways to get to them in 6.4. 

> System Settings -> Keyboard -> Shortcuts -> Window Management -> Toggle Present Windows. 
They can also be scripted: 

> qdbus org.kde.kglobalaccel /component/kwin invokeShortcut Expose (Expose, ExposeAll, ExposeClass, ExposeClassCurrentDesktop)

I definitely agree Overview is too simplified, it makes options like these harder to find. This isn't the old 5.x C++ Present Windows effect to note, it's Overview's backend running with elements like the Desktop Bar absent (WindowView). It would be logical to merge WindowView's advanced filtering into Overview's options and consolidate the two effects entirely, but the new options might make heads spin.
Comment 2 Oliver Beard 2025-07-07 11:01:21 UTC
In either 6.2 or 6.3 we hid the entry for the Present Windows effect, because we consider it to be core to KWin and perfectly fine to leave enabled.

https://invent.kde.org/plasma/kwin/-/commit/1d42d64f8722be51d0dede3c2e7da3ed3e32936c

The shortcuts previously accessible there remain accessible through the Shortcuts System Settings page.
Comment 3 Maximilian Böhm 2025-07-07 12:03:46 UTC
I’m relieved you are not taking it away.

Why did Plasma 6.4 delete my shortcuts for these effects then? They haven’t worked anymore and the keys were suddenly free to bind to other actions. It’s Arch, so I’m coming from 6.3.

I was able to find all 4 modi in the global shortcuts list now.
Actually searched there before but they have changed names now in the German locale ("Fenster zeigen" was what I remembered).

"Fenster auf allen Arbeitsflächen anzeigen" (Before: "Present Windows (All desktops)") doesn’t do anything when I bind a key. Neither on X.Org, nor on Wayland. The others work.
It does work with "qdbus org.kde.kglobalaccel /component/kwin invokeShortcut ExposeAll" though. Somewhere might be a bug in the visual config pane.

The discoverability is really unlucky now. It was more likely you came across the possible 4 modi before when browsing though the effects page and clicking Present Windows to look for options. Now, only the most hardcore users will even learn about Present Windows of all desktops, only the current desktop class etc. Besides of the screen corner config pane.

Also, the 4 modi aren’t beneath each other, at least not in the German locale. They are alphabetically ordered with all other possible Kwin shortcuts, which separates them in the huge list basically meters from each other.
Comment 4 Oliver Beard 2025-07-07 13:43:55 UTC
Ah, I'm not at all sure why the shortcuts would be dropped on update. There are no code changes that should have caused this to happen.

Can you add a copy of your ~/.config/kglobalshortcutsrc file as an attachment to the bug?
Comment 5 Maximilian Böhm 2025-07-07 14:46:39 UTC
Created attachment 183041 [details]
kglobalshortcutsrc
Comment 6 Maximilian Böhm 2025-07-07 15:32:48 UTC
Oh, forgot I had cleared my shortcut to test the key with other actions. You have to add this as new line 219:

Window On All Desktops=F8,,Fenster auf allen Arbeitsflächen anzeigen

Still not working here.
Comment 7 Blazer Silving 2025-07-07 16:48:53 UTC
Hm, I can confirm all four effect triggers work as intended on my system (both X11 and Wayland), mapped to single F7, F8, F9, F10 in Keyboard Shortcuts to match your kglobalshortcutsrc, no modifiers. 

Does the default Ctrl+F10 work to launch "All Desktops" (ExposeAll) on your system, and would a similar Ctrl+F8 work?
Comment 8 Maximilian Böhm 2025-07-11 12:53:57 UTC
Created attachment 183161 [details]
No default key combo at the All Desktops scale effect in German
Comment 9 Maximilian Böhm 2025-07-11 12:55:37 UTC
Hey, sorry for the delay. Wanted to try this on a different family computer.
It did not work there either.

Interestingly, there also isn’t a standard key combo in the settings like with the other three modi, there is no default Ctrl + F8 to disable. See the new attachment. The other modi "Current desktop" and "Current desktop, current window class" have a Ctrl + F9 / F7 default, but not "Current desktop, current window class". The last one works though with manually assigned key. "All desktops" does not.

I highly suspect this has something to do with the German localization. Might be the same reason why the 6.4 upgrade has deleted my custom shortcuts F7, F8, F9.
Comment 10 Thomas Carmichael 2025-07-12 13:07:55 UTC
Created attachment 183184 [details]
kglobalshortcutsrc

I did have keybindings in use for the All Desktops and Current Desktop options, but I don't seem to have them on updating to 6.4 and can't find any bindings available via > System Settings -> Keyboard -> Shortcuts -> Window Management -> Toggle Present Windows. Specifically, the software versions are:

KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

Do I need to manually add the shortcuts back to the kglobalshortcutsrc file or should I expect to the see the bindings under the Window Management shortcuts?

I've attached my kglobalshortcutsrc file for reference.
Comment 11 Maximilian Böhm 2025-07-27 22:56:46 UTC
For me, either an update or rereading through the effects list in the shortcut settings has resolved my last issue: I was able to bind F8 again to Present Windows – All desktops.

I might have gotten confused by "Fenster auf allen Arbeitsflächen anzeigen" instead of "Fenster aller Arbeitsflächen anzeigen", that’s maybe why I didn’t see the Ctrl+F10 standard there before either.

That’s the direct consequence of removing the own Present Windows effect settings with its clear list of four modi from the Kwin settings page. 
Terrible discoverability of this keyboard shortcut setting and highly confusing now.
Comment 12 Thomas Carmichael 2025-08-05 05:35:28 UTC
I'm seeing the same now after an update (versions below) that the bindings are available again, though my existing bindings were cleared, but that's easily fixable.

KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Comment 13 tarnmarlin 2025-08-21 03:46:06 UTC
Honestly this was a super annoying change for no good reason. I want to filter all windows. Why hide the keyboard shortcuts for that critical function? I am glad to see others also noticed this breaking change.
Comment 14 Nate Graham 2025-08-26 21:40:41 UTC
> Why did Plasma 6.4 delete my shortcuts for these effects then
Because of a bug. It was fixed in https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/72. Hopefully it won't happen again!