Bug 449497 - Expose effect does not update when changing virtual desktops while it's open
Summary: Expose effect does not update when changing virtual desktops while it's open
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-present-windows (show other bugs)
Version: 5.23.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-02 12:13 UTC by Nicolai Weitkemper
Modified: 2022-05-05 15:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.25
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolai Weitkemper 2022-02-02 12:13:55 UTC
SUMMARY
The Expose effect does not update when changing virtual desktops while it's open. That is, I see the panel updating in the background and after closing the Expose effect I can confirm that the virtual desktop was switched as expected. But before closing, the "exposed" windows still reflected the old – now "wrong" – virtual desktop.

A note on invocation: If I were to use the regular keyboard shortcuts while the Expose effect is active, nothing would happen. That's maybe not ideal, but a fair choice. However, I use Touchegg with the "Switch desktop" preset. I also verified that calling `qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch to Next Desktop"` shows the same behaviour.

STEPS TO REPRODUCE
1. Have some windows open in (at least) two desktops.
2. Open the Expose effect
3. Switch the virtual desktop, for example by using `sleep 2 && qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch to Next Desktop"` or by using Touchegg.

OBSERVED RESULT
The virtual desktop changes, but the displayed windows are still the ones from the virtual desktop where the effect was opened.

EXPECTED RESULT
The shown windows should always reflect the current virtual desktop. An animation would be cool, but just updating the shown windows would be sufficient.
Comment 1 Nate Graham 2022-05-05 15:25:44 UTC
This has been fixed with the rewrite in Plasma 5.25, done by Marco Martin with https://invent.kde.org/plasma/kwin/-/commit/376ee357dbc50fec3b6e71c40938171ddb2e726a!