https://bugs.kde.org/show_bug.cgi?id=480550

            Bug ID: 480550
           Summary: Floating panel gets confused when window snap zone is
                    larger than the screen edge snap zone
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 165356
  --> https://bugs.kde.org/attachment.cgi?id=165356&action=edit
Panel rapid animation behaviour

SUMMARY
In system settings under window behaviour, in the Movement tab, we can set the
size of the snap zone for both the "screen edge snap zone" and the "window snap
zone". The panel seems to be considered both a window and a screen edge for the
purposes of this setting.

Since the floating panel can move, this can cause issues when the window snap
zone is larger than the screen edge snap zone. In particular the floating dock
goes back and forth between floating and attaching to the screen quickly.

I'm not sure if there's any reason why someone would want the window snap zone
to be larger than the screen edge snap zone, but it could happen accidentally.
For example if you increase the window snap zone while leaving the screen edge
snap zone to its default value, which is how I noticed it.

Could probably fix this by making the panel only count as only a screen edge,
not a window.

STEPS TO REPRODUCE
1. Go to System Settings > Window Behaviour > Movement
2. Set screen edge snap zone to some value smaller than the window snap zone
(say 15 px and 30 px)
3. Move a window close to the floating panel

OBSERVED RESULT
The panel attaches and floats from the edge of the screen in quick succession

EXPECTED RESULT
The panel only attaches once to the screen

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.0
Kernel Version: 6.6.13-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to