Bug 510098 - Panel set to "dodge windows" doesn't animate visibility state when switching virtual desktops
Summary: Panel set to "dodge windows" doesn't animate visibility state when switching ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.4.5
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-30 12:16 UTC by sludge.phd
Modified: 2025-10-01 10:16 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sludge.phd 2025-09-30 12:16:55 UTC
SUMMARY

When the panel is configured to "dodge windows", it only properly animates when a window or the cursor is brought close, but will immediately pop into or out of existence when using keyboard shortcuts to switch virtual desktops.

STEPS TO REPRODUCE
1. Configure panel visibility to "dodge windows"
2. Bind a keyboard shortcut to switch virtual desktops
3. Put a fullscreen window on one desktop, but not the other, so that the desired panel visibility differs between them
4. Press the keyboard shortcut to switch between the virtual desktops
5. The panel pops into and out of existence instead of animating nicely

OBSERVED RESULT

Animation is skipped, causing a minor problem with a e s t h e t i c s.

EXPECTED RESULT

The panel should always animate.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux Asahi Remix 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

Using three-finger swipes to switch between desktops will also cause the bad behavior, but only when the swipe isn't fully completed. When pushing the desktop all the way over, the panel animates properly.
Comment 1 TraceyC 2025-09-30 15:38:06 UTC
I see this behavior on git-master, but it looks intentional. The developers will need to weigh in on this.
Comment 2 Nate Graham 2025-09-30 15:43:59 UTC
I don't *think* this is intentional at least. I also think it would be nice to have it animate in this case.
Comment 3 TraceyC 2025-09-30 15:50:25 UTC
I noticed that for floating panels, they animate when switching virtual desktops. At the least, this seems like an inconsistency that should be fixed.
Comment 4 Marco Martin 2025-10-01 08:55:08 UTC
here i see that with the switch desktop touchpad gesture, it sometimes animate, sometimes it doesn't, while with keybpard shortcut seems to consistently not animate.

This is probably a kwin issue since it's what it actually animates the panel