Bug 477730

Summary: "Doge-Window" mode does not work when panel is on an edge between two screens
Product: [Plasma] plasmashell Reporter: fanzhuyifan
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR Keywords: qt6
Version: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fanzhuyifan 2023-11-29 19:41:37 UTC
STEPS TO REPRODUCE
1. Create a new panel on the edge between two monitors in a multiple monitor setup
2. Set its visibility to "Dodge windows"
3. Open a full screen window in that monitor

OBSERVED RESULT
The panel does not auto hide.

EXPECTED RESULT
The panel should dodge the window and auto hide.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Arch Linux
(available in About System)
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-29 20:44:02 UTC
Can reproduce. The root cause is the same as Bug 351175 since we just enter Auto-Hide mode conditionally, which triggers that pre-existing bug.

Originally I requested a new bug report since I thought it needed to be fixed differently, but now I'm less sure. The issue with needing a pixel to trigger Auto-Hide and that being almost impossible for shared edges without some kind 'f "edge resistance" effect would plague Dodge Windows as well. So I do think it's ultimately the same bug and requires the same fix. Sorry for sending you on a wild goose chase!

*** This bug has been marked as a duplicate of bug 351175 ***