Bug 430556 - Margin size of Panel changes when compostior is toggled
Summary: Margin size of Panel changes when compostior is toggled
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.20.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-18 21:45 UTC by Simon Vogl
Modified: 2021-06-10 15:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.83


Attachments
Screenshots of compositing disabled (2.81 MB, image/png)
2021-01-05 18:20 UTC, Simon Vogl
Details
Screenshots of compositing enabled (2.82 MB, image/png)
2021-01-05 18:21 UTC, Simon Vogl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Vogl 2020-12-18 21:45:38 UTC
The Margin size of panels in plasma change when the compositor is toggled on/off. It seems like in one settings there are absurdly large margins on the upper and lower edges of the panel, the highlighting of the currently opened app loses connection with the panel edge which looks akward with the breeze theme. Meanwhile in the other everything seems normal (like with KF5 5.76.0).
I already applied the fix to fix the black lines, but the inconsistent panel margins seem to stay even after the patch is applied:
https://bugs.kde.org/show_bug.cgi?id=430390


STEPS TO REPRODUCE
1. Install latest KDE Plasma 5.20.4 and KDE Frameworks 5.77.0 (with the fix applied
2. Toggle the compostior with ALT+SHIFT+F12
3. Watch how the margin size of the Control Panel changes significantly

OBSERVED RESULT
The margin size of the Control Panel changes significantly

EXPECTED RESULT
The margin size of the Control Panel should not change at all


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.9.14-zen1-1-zen / 5.20.4 (Arch Linux Stable Branch)
(available in About System)
Driver: NVIDIA 455.45.01
KDE Plasma Version:  5.20.4
KDE Frameworks Version: 5.77.0-2 (with the patch from https://bugs.kde.org/show_bug.cgi?id=430390 applied) 
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This could be possibly fixed by preventing the "thick margin" from the patch from affecting any Plasma Panels
Comment 1 Simon Vogl 2020-12-20 10:39:03 UTC
Is anyone able to confirm this?
Personally , I tested on openSUSE Tumbleweed too and it happened there aswell, but I don't know about KDE neon yet.
Comment 2 Serdar Tasel 2020-12-20 13:59:10 UTC
(In reply to Simon Vogl from comment #1)
> Is anyone able to confirm this?
> Personally , I tested on openSUSE Tumbleweed too and it happened there
> aswell, but I don't know about KDE neon yet.

My bug report (https://bugs.kde.org/show_bug.cgi?id=430622) may be related to this one.
Comment 3 Nate Graham 2021-01-05 17:00:29 UTC
Could you attach two screenshots, showing what it looks like with compositing turned on, and turned off?
Comment 4 Simon Vogl 2021-01-05 18:20:43 UTC
Created attachment 134582 [details]
Screenshots of compositing disabled
Comment 5 Simon Vogl 2021-01-05 18:21:37 UTC
Created attachment 134583 [details]
Screenshots of compositing enabled
Comment 6 Simon Vogl 2021-01-05 18:28:30 UTC
Thank you for the reply.
I attached one screenshot for each compositing disabled and enabled.
The panel size itself does not change, but the margins between the panel edges and the elements on the panel do seem to change, and that does happen with all panel sizes for me.
However, it might have to do with NVIDIA's drivers since it doesn't seem to be reproducible 100% consistently.
I will try to build Plasma frameworks 5.78 with ABS and check if that helps.
Comment 7 Simon Vogl 2021-01-05 19:20:14 UTC
I fear I might not be able to test KF5 5.78.0 just yet, on ArchLinux it would require rebuilding the entire KF5 stack by hand (modifying like 50 PKGBUILDS by hand) and on Tumbleweed the KDE:Unstable:Frameworks5 repo prevents my system from booting so I had to roll back with snapper.
I will report back on around June 9 when KF5 5.78.0 actually becomes released.
Comment 8 Nate Graham 2021-01-05 19:23:22 UTC
*January 9th, hopefully. :) The Arch packagers are usually a bit faster than that. ;)
Comment 9 Simon Vogl 2021-01-10 11:53:17 UTC
Arch just shipped KF5 5.78.0 and Plasma 5.20.5.
After installing these, clearing the .cache folder and rebooting the system the behavior is still the same, the size/positioning of icons on the panel changes slightly when the compositor is toggled, as seen in the two screenshots I uploaded.
Comment 10 Nate Graham 2021-01-14 19:02:19 UTC

*** This bug has been marked as a duplicate of bug 430622 ***
Comment 11 Tomas 2021-06-10 01:31:35 UTC
Doesn't seem fixed. Still have this issue in Kubuntu 21.04, Plasma 5.21.4.
Comment 12 Nate Graham 2021-06-10 15:32:43 UTC
This was fixed in a newer frameworks version than the one shipped in Kubuntu, sadly. 5.83 IIRC.