Bug 439098

Summary: Text overflow in show alternatives menu for task manager in Brazilian Portuguese.
Product: [Plasma] plasmashell Reporter: guimarcalsilva
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.22.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.5
Sentry Crash Report:
Attachments: Text overflowing

Description guimarcalsilva 2021-06-24 04:08:42 UTC
Created attachment 139628 [details]
Text overflowing

SUMMARY

The text doesn't fit in the show alternatives menu for task manager in Brazilian Portuguese. Please check screenshot.

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-59-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 1 Nate Graham 2021-07-29 15:40:25 UTC
Oops. Yeah the layout here uses some pretty dated code. I might have a look.
Comment 2 Bug Janitor Service 2021-08-05 16:19:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/539
Comment 3 Nate Graham 2021-08-06 15:25:45 UTC
Git commit 6749d08aa631e773d5eed58717af49e096a82d47 by Nate Graham.
Committed on 06/08/2021 at 15:25.
Pushed by ngraham into branch 'master'.

[desktoppackage/alternatives] Don't overflow with long text

This code was previously making the list item height equal to the icon
height plus some padding, but the text was vertically unbounded so it
would overflow. This commit fixes that by using the implicit height of
the whole content layout which knows about the height of the labels too.
FIXED-IN: 5.22.5

M  +3    -1    desktoppackage/contents/explorer/AppletAlternatives.qml

https://invent.kde.org/plasma/plasma-desktop/commit/6749d08aa631e773d5eed58717af49e096a82d47
Comment 4 Nate Graham 2021-08-06 15:26:17 UTC
Git commit 9d3af571e68f699f60d1fd559b5c815b6d1ead8c by Nate Graham.
Committed on 06/08/2021 at 15:26.
Pushed by ngraham into branch 'Plasma/5.22'.

[desktoppackage/alternatives] Don't overflow with long text

This code was previously making the list item height equal to the icon
height plus some padding, but the text was vertically unbounded so it
would overflow. This commit fixes that by using the implicit height of
the whole content layout which knows about the height of the labels too.
FIXED-IN: 5.22.5


(cherry picked from commit 6749d08aa631e773d5eed58717af49e096a82d47)

M  +3    -1    desktoppackage/contents/explorer/AppletAlternatives.qml

https://invent.kde.org/plasma/plasma-desktop/commit/9d3af571e68f699f60d1fd559b5c815b6d1ead8c