Bug 477895 - if dodge windows is enabled the panel isnt shown when peeking at desktop
Summary: if dodge windows is enabled the panel isnt shown when peeking at desktop
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-02 08:18 UTC by Edip
Modified: 2023-12-12 20:56 UTC (History)
2 users (show)

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


Attachments
video (2.38 MB, video/mp4)
2023-12-02 08:19 UTC, Edip
Details

Note You need to log in before you can comment on or make changes to this bug.
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