Bug 455476

Summary: Plasma panel changes size to 34px and/or flickers while moved between screen edges
Product: [Plasma] plasmashell Reporter: Martin Rieff <azazazazazazaz.20600>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo.venerandi, qydwhotmail
Priority: NOR Keywords: wayland
Version: 5.25.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

Description Martin Rieff 2022-06-17 11:40:30 UTC
STEPS TO REPRODUCE
1. Have a plasma panel
2. Move the panel between screen edges at various speeds (preferably from top/bottom to side and vice versa)
(It might not happen on the first move so try to move the panel a few more times)

OBSERVED RESULT
Moving the panel to a screen edge modifies the panel size and makes the panel flicker
The size changed from 22px to 34px and from 44px to 34px without user input

EXPECTED RESULT
The panel should keep a constant size and not flicker while moved between screen edges

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.3-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
My first bug report

Could be probably because of a missing package/dependency?
I had another problem in the past and it was fixed by installing the missing xdg-desktop-portal package.
Comment 1 Fushan Wen 2022-06-17 11:46:23 UTC
Can reproduce flickering but not the size issue.
Comment 2 Nate Graham 2022-06-17 19:43:24 UTC
Can reproduce.
Comment 3 Nate Graham 2022-06-17 19:43:40 UTC
(also cannot reproduce the size issue, but I can reproduce the flickering)
Comment 4 Martin Rieff 2022-06-20 11:19:57 UTC
(In reply to Fushan Wen from comment #1)
> Can reproduce flickering but not the size issue.

Here is a screen recording: https://imgur.com/a/b2LoiKv
It seems that a qt5 update made the bug less worse.
Comment 5 Niccolò Venerandi 2023-11-06 20:15:55 UTC
Git commit 8bad74fe9ed43af3081b8dd97cc17524b82c2d77 by Niccolò Venerandi.
Committed on 06/11/2023 at 21:15.
Pushed by niccolove into branch 'master'.

Redesign panel settings with a dialog

This moves all panel options in a single dialog that floats near the panel.
Related: bug 450892, bug 459103, bug 458008, bug 440274, bug 453693, bug 460844, bug 455478, bug 462980, bug 454720, bug 460845, bug 468009, bug 474354, bug 364456
FIXED-IN: 6.0

M  +495  -133  desktoppackage/contents/configuration/PanelConfiguration.qml
D  +0    -305  desktoppackage/contents/configuration/panelconfiguration/MoreSettingsMenu.qml
M  +76   -84   desktoppackage/contents/configuration/panelconfiguration/PanelRepresentation.qml
M  +53   -266  desktoppackage/contents/configuration/panelconfiguration/Ruler.qml
M  +10   -37   desktoppackage/contents/configuration/panelconfiguration/SliderHandle.qml
D  +0    -594  desktoppackage/contents/configuration/panelconfiguration/ToolBar.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8bad74fe9ed43af3081b8dd97cc17524b82c2d77