Bug 456148 - Really long window titles can cause Window List widget to displace other widgets off the panel
Summary: Really long window titles can cause Window List widget to displace other widg...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Window List widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 22:40 UTC by guimarcalsilva
Modified: 2026-10-30 16:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.3
Sentry Crash Report:


Attachments
Window list gets too big (9.64 KB, image/png)
2022-06-29 22:46 UTC, guimarcalsilva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guimarcalsilva 2022-06-29 22:40:28 UTC
SUMMARY

STEPS TO REPRODUCE
1. Add the window list widget
2. Open an application with a very long name (edit any application with the menu editor and give it a very long name)

OBSERVED RESULT

The widget becomes so big that all other widgets disappear from the screen

EXPECTED RESULT

The widget shouldn't get bigger than a certain size.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.13.0-51-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series
Comment 1 guimarcalsilva 2022-06-29 22:46:22 UTC
Created attachment 150277 [details]
Window list gets too big

Window list gets too big and displaces all other widgets until they disappear
Comment 2 Bug Janitor Service 2022-12-29 07:28:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1320
Comment 3 Bug Janitor Service 2026-10-27 13:38:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4130
Comment 4 Niccolò Venerandi 2026-10-27 15:36:14 UTC
Git commit a8a72a58d57ccdd7c11d29de4de71a921df8ffdb by Niccolò Venerandi.
Committed on 27/10/2026 at 15:35.
Pushed by niccolove into branch 'master'.

applets/window-list: Elide long titles instead of growing without limit

We elide long titles when space is unavailable on the panel, instead
of moving other widgets off of the panel, and cap the whole widget
at 20 gridUnits regardless.

M  +2    -0    applets/window-list/MenuButton.qml
M  +2    -2    applets/window-list/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/a8a72a58d57ccdd7c11d29de4de71a921df8ffdb
Comment 5 Niccolò Venerandi 2026-10-27 15:37:03 UTC
Git commit a2c0a101efab775b6b74e5eba16fe828d58ac1ee by Niccolò Venerandi.
Committed on 27/10/2026 at 15:36.
Pushed by niccolove into branch 'Plasma/6.8'.

applets/window-list: Elide long titles instead of growing without limit

We elide long titles when space is unavailable on the panel, instead
of moving other widgets off of the panel, and cap the whole widget
at 20 gridUnits regardless.


(cherry picked from commit 62a014f9248649c60337568ff5cbaf25868a352d)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +2    -0    applets/window-list/MenuButton.qml
M  +2    -2    applets/window-list/main.qml

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