Bug 477895

Summary: if dodge windows is enabled the panel isnt shown when peeking at desktop
Product: [Plasma] plasmashell Reporter: Edip <medip642>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo.venerandi
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video

Description Edip 2023-12-02 08:18:21 UTC
SUMMARY


STEPS TO REPRODUCE
1. enable dodge windows from panel settings 
2. open an applicatoin window
3. drag the window over the panel to make the panel hides
4. press ctrl + f12 (peek at desktop shortcut)

OBSERVED RESULT
panel is not shown

EXPECTED RESULT
panel should shown as there is no windows shown in the desktop

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-1-cachyos (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Edip 2023-12-02 08:19:26 UTC
Created attachment 163747 [details]
video
Comment 2 Nate Graham 2023-12-05 21:31:44 UTC
Can reproduce.
Comment 3 Bug Janitor Service 2023-12-06 17:02:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1902
Comment 4 Nate Graham 2023-12-12 20:56:23 UTC
Git commit a08a540f3eb0a438beb30d5fba4cb9ef521c4bfc by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 12/12/2023 at 21:56.
Pushed by ngraham into branch 'master'.

Do not dodge windows when peek at desktop is activated

Simply had to make sure `touchingWindow` accounted for `showingDesktop`,
and that it gets updated correctly when the variable changes in value.

M  +4    -2    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/a08a540f3eb0a438beb30d5fba4cb9ef521c4bfc