Bug 477810

Summary: panel dodge windows mode stops working after changing display resolution or scale
Product: [Plasma] plasmashell Reporter: fanzhuyifan
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR Keywords: qt6, usability
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: panel not dodging full screen windows
panel settings

Description fanzhuyifan 2023-12-01 01:48:57 UTC
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. Create a panel with the dodge windows setting
2. Use the computes for a bit

OBSERVED RESULT
The panel sometimes stops dodging windows

EXPECTED RESULT
The panel should always dodge windows

SOFTWARE/OS VERSIONS
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-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G16 GU603VV_GU603VV
System Version: 1.0

ADDITIONAL INFORMATION
When this happens, changing the visibility setting and changing it back makes the panel start dodging windows again.
Comment 1 fanzhuyifan 2023-12-01 02:00:53 UTC
Created attachment 163682 [details]
panel not dodging full screen windows

This is reproduced on latest neon unstable. A `plasmashell --replace` also solves the problem
Comment 2 fanzhuyifan 2023-12-01 02:01:39 UTC
Created attachment 163683 [details]
panel settings
Comment 3 Nate Graham 2023-12-01 20:41:32 UTC
Unfortunately "Use the computer for a bit" is not going to be good enough to triage this bug. Can you do some experiments of your own to narrow down the circumstances under which the panel stops dodging windows? Some ideas:

- When an app is in "needs attention" state
- When a window is secretly touching the panel but this isn't visually obvious
- After moving the panel from one edge to another
- After moving the panel or its desktop do another screen
- After changing screen arrangements
- After maximizing or de-maximizing a window
- After entering or exiting full screen with a window

Thanks!
Comment 4 fanzhuyifan 2023-12-09 02:52:39 UTC
STEPS TO REPRODUCE
1. Create a panel with the dodge windows setting
2. Change display resolution or scale.
Comment 5 fanzhuyifan 2023-12-09 02:53:43 UTC

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