Bug 431668 - Icons-Only Task Manager centered using panel spacers flickers when system tray displays a new entry
Summary: Icons-Only Task Manager centered using panel spacers flickers when system tra...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.20.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-16 00:16 UTC by Felipe Kinoshita
Modified: 2022-02-21 17:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Kinoshita 2021-01-16 00:16:35 UTC
I centralized the Icons-Only Task Manager with two flexible spacers, when a system tray's "Show when relevant" entry is shown, it flickers

STEPS TO REPRODUCE
1. put two flexible size spacer around the Icons-Only Task Manager
2. set some system tray's entry to "Show when relevant"
3. activate the entry, e.g. if the clipboard entry is currently hidden, copy some text so it activates 

OBSERVED RESULT
Icons-Only Task Manager flickers when hidden entry is shown

EXPECTED RESULT
Icons-Only Task Manager should not be affected

SOFTWARE/OS VERSIONS
Linux: Fedora KDE 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Bug Janitor Service 2022-02-15 19:51:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1464
Comment 2 Nate Graham 2022-02-21 16:58:06 UTC
Git commit 5824e6362008988f74d07c9fce930e93294b990d by Nate Graham, on behalf of Martin Seher.
Committed on 21/02/2022 at 16:58.
Pushed by ngraham into branch 'master'.

applets/panelspacer: Fix optimal size calculation

Get rid of the delayed optimal size calculation caused by Qt.callLater
and calculate optimal size immediately when an applet's size changes.
This removes the unnecessary jumping of applets that are centered between 2
spacers.
FIXED-IN: 5.24.2

M  +8    -22   applets/panelspacer/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/5824e6362008988f74d07c9fce930e93294b990d
Comment 3 Nate Graham 2022-02-21 17:00:37 UTC
Git commit b382f61c914072732cabd9b5ae0d6e7b12fc20a9 by Nate Graham, on behalf of Martin Seher.
Committed on 21/02/2022 at 17:00.
Pushed by ngraham into branch 'Plasma/5.24'.

applets/panelspacer: Fix optimal size calculation

Get rid of the delayed optimal size calculation caused by Qt.callLater
and calculate optimal size immediately when an applet's size changes.
This removes the unnecessary jumping of applets that are centered between 2
spacers.
FIXED-IN: 5.24.2


(cherry picked from commit 5824e6362008988f74d07c9fce930e93294b990d)

M  +8    -22   applets/panelspacer/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/b382f61c914072732cabd9b5ae0d6e7b12fc20a9