Bug 480890 - With left screen edge panel in "Dodge Windows" mode, sidebar UIs (e.g. Activity Switcher, Widget Explorer) don't touch screen edge when panel is dodging windows
Summary: With left screen edge panel in "Dodge Windows" mode, sidebar UIs (e.g. Activi...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.93.0
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 10:58 UTC by Mohammadreza Hendiani
Modified: 2025-04-12 17:23 UTC (History)
5 users (show)

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


Attachments
a picture of bug (149.22 KB, image/png)
2024-02-05 10:58 UTC, Mohammadreza Hendiani
Details
bad activity switcher position (2.72 MB, image/png)
2025-04-12 17:07 UTC, goo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammadreza Hendiani 2024-02-05 10:58:37 UTC
Created attachment 165560 [details]
a picture of bug

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. put panel on left side
2. switch panel to doge window mode
3. open another app like: Dolphin
3. switch activity with super+Q

OBSERVED RESULT
panel is under the aforementioned app (i.e Dolphin) 
so it looks like activity switcher is floating

EXPECTED RESULT
panel would be on top of aforementioned app (i.e Dolphin) 


SOFTWARE/OS VERSIONS
Windows:  -
macOS: -
Linux/KDE Plasma: Fedora Linux 40 (KDE Plasma) x86_64
(available in About System)
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
was running on mare metal
Comment 1 Nate Graham 2024-02-05 21:14:14 UTC
Can also reproduce with the Widgets Explorer. Seems to affect all full-height sidebars. Auto-Hide mode works fine.
Comment 2 Nate Graham 2024-08-28 19:11:20 UTC
Similar issue to Bug 488929. Ultimately maybe we should make these side panels also be floating.
Comment 3 Bug Janitor Service 2025-03-12 17:02:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2881
Comment 4 Niccolò Venerandi 2025-03-13 20:15:32 UTC
Git commit 12e658537ee6cb531176b688cdc3a43642b44d0c by Niccolò Venerandi.
Committed on 13/03/2025 at 20:15.
Pushed by niccolove into branch 'master'.

Use entire screen to place sidebars when not in edit mode

We previously made sure that the sidebar would avoid panels
to allow for easier drag and drop from the widget sidebar,
since that's only supposed to happen in edit mode we only
consider panels in edit mode, and instead use the entire
screen otherwise. If we try to avoid panels when outside
edit mode, we won't be able to know if dodge window panels
are visible, and if they're not the sidebar will be visually
broken.

M  +10   -3    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/12e658537ee6cb531176b688cdc3a43642b44d0c
Comment 5 Niccolò Venerandi 2025-03-13 20:16:03 UTC
Git commit 12d73b182940e9f081da7c043204033af6526027 by Niccolò Venerandi.
Committed on 13/03/2025 at 20:15.
Pushed by niccolove into branch 'Plasma/6.3'.

Use entire screen to place sidebars when not in edit mode

We previously made sure that the sidebar would avoid panels
to allow for easier drag and drop from the widget sidebar,
since that's only supposed to happen in edit mode we only
consider panels in edit mode, and instead use the entire
screen otherwise. If we try to avoid panels when outside
edit mode, we won't be able to know if dodge window panels
are visible, and if they're not the sidebar will be visually
broken.


(cherry picked from commit 12e658537ee6cb531176b688cdc3a43642b44d0c)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +10   -3    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/12d73b182940e9f081da7c043204033af6526027
Comment 6 goo 2025-04-12 17:07:28 UTC
Created attachment 180204 [details]
bad activity switcher position
Comment 7 goo 2025-04-12 17:08:53 UTC
(In reply to Niccolò Venerandi from comment #5)
> Git commit 12d73b182940e9f081da7c043204033af6526027 by Niccolò Venerandi.
> Committed on 13/03/2025 at 20:15.
> Pushed by niccolove into branch 'Plasma/6.3'.
> 
> Use entire screen to place sidebars when not in edit mode
> 
> We previously made sure that the sidebar would avoid panels
> to allow for easier drag and drop from the widget sidebar,
> since that's only supposed to happen in edit mode we only
> consider panels in edit mode, and instead use the entire
> screen otherwise. If we try to avoid panels when outside
> edit mode, we won't be able to know if dodge window panels
> are visible, and if they're not the sidebar will be visually
> broken.
> 
> 
> (cherry picked from commit 12e658537ee6cb531176b688cdc3a43642b44d0c)
> 
> Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>
> 
> M  +10   -3    desktoppackage/contents/views/Desktop.qml
> 
> https://invent.kde.org/plasma/plasma-desktop/-/commit/
> 12d73b182940e9f081da7c043204033af6526027

Sorry but this change completely broke the positioning of the widget on my multi-monitor setup.
The widget now opens in an apparently random and unusable position, as you can see from the attached screenshot in the previous comment.
IMHO KDE should implement some sort of tests for multi-monitor layouts before every single point release because what I can see is that most regressions I stumble upon are related to windows or widgets positioning/geometry.
Comment 8 Nate Graham 2025-04-12 17:18:54 UTC
That's tracked with Bug 502656 or Bug 502375.
Comment 9 goo 2025-04-12 17:23:41 UTC
(In reply to Nate Graham from comment #8)
> That's tracked with Bug 502656 or Bug 502375.

Thanks, I completely missed these!