Bug 454095 - Active Window Control "Fill width" feature now moves all the widgets next to the Active Window Control out of reach
Summary: Active Window Control "Fill width" feature now moves all the widgets next to ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.24.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 454538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-20 15:35 UTC by Cristóbal Veas
Modified: 2022-06-03 15:54 UTC (History)
4 users (show)

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


Attachments
A video that shows how to reproduce the bug. (3.31 MB, video/mp4)
2022-05-20 15:35 UTC, Cristóbal Veas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristóbal Veas 2022-05-20 15:35:20 UTC
Created attachment 149027 [details]
A video that shows how to reproduce the bug.

SUMMARY
If you put the Active Window Control widget (https://store.kde.org/p/998910) in the panel and use the "Fill width" feature, the widgets that are next to the Active Window Control widget are moved outside of the screen. 


STEPS TO REPRODUCE
1. Download the Active Window Control widget (https://store.kde.org/p/998910).
2. Put it in the panel, just before any other widget.
3. Configure the Active Window Control widget, and enable the "Fill width" feature.

OBSERVED RESULT
The rest of the widgets are moved outside of the screen.

EXPECTED RESULT
The rest of the widgets are moved to the corner of the panel.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-2350M CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000

ADDITIONAL INFORMATION
This didn't happen in KDE Plasma 5.24, the video shows a little more about this bug.
Comment 1 Fushan Wen 2022-05-25 01:41:30 UTC
Can reproduce. BTW the applet should be submitted to upstream.
Comment 2 Bug Janitor Service 2022-05-25 06:02:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/956
Comment 3 Nate Graham 2022-06-01 17:47:48 UTC
*** Bug 454538 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2022-06-03 15:53:32 UTC
Git commit d03aa17cd36bdeb8c5d22d04e8137edcf5bcbc82 by Nate Graham, on behalf of Fushan Wen.
Committed on 03/06/2022 at 15:53.
Pushed by ngraham into branch 'master'.

containments/panel: fix Layout binding in `appletContainerComponent`

`lastSpacer` is still required because depending on
implicitWidth/implicitHeight is not reliable as they are usually updated
too late in a layout.
Related: bug 454517
FIXED-IN: 5.25

M  +5    -2    containments/panel/contents/ui/ConfigOverlay.qml
M  +24   -19   containments/panel/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/d03aa17cd36bdeb8c5d22d04e8137edcf5bcbc82
Comment 5 Nate Graham 2022-06-03 15:54:41 UTC
Git commit c5e6eff14f0f18afbcf51ae372bca68afe22de52 by Nate Graham, on behalf of Fushan Wen.
Committed on 03/06/2022 at 15:54.
Pushed by ngraham into branch 'Plasma/5.25'.

containments/panel: fix Layout binding in `appletContainerComponent`

`lastSpacer` is still required because depending on
implicitWidth/implicitHeight is not reliable as they are usually updated
too late in a layout.
Related: bug 454517
FIXED-IN: 5.25


(cherry picked from commit d03aa17cd36bdeb8c5d22d04e8137edcf5bcbc82)

M  +5    -2    containments/panel/contents/ui/ConfigOverlay.qml
M  +24   -19   containments/panel/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/c5e6eff14f0f18afbcf51ae372bca68afe22de52