Bug 480880 - Long text for System Tray applets overflows rather than eliding
Summary: Long text for System Tray applets overflows rather than eliding
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.27.10
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 09:06 UTC by Ramil
Modified: 2024-02-06 15:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments
screenshot panel battery (42.04 KB, image/png)
2024-02-05 09:06 UTC, Ramil
Details
screenshot header in panel (50.02 KB, image/png)
2024-02-05 09:09 UTC, Ramil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramil 2024-02-05 09:06:48 UTC
Created attachment 165556 [details]
screenshot panel battery

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Clicked the battery icon in the notification bar
2. 
3. 

OBSERVED RESULT
The title does not fit into the widget

EXPECTED RESULT
The title is placed in the widget

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1
Kernel Version: 6.5.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 15.0 ГиБ of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP Pavilion Laptop 15-eh0xxx

ADDITIONAL INFORMATION
Comment 1 Ramil 2024-02-05 09:09:53 UTC
Created attachment 165557 [details]
screenshot header in panel
Comment 2 Nate Graham 2024-02-05 21:22:25 UTC
Can reproduce. Note that in Plasma 6 you should be able to resize the popup now so that there's no more overlap. But yeah, we should make this text elide, rather than overlapping.
Comment 3 Bug Janitor Service 2024-02-05 21:29:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3870
Comment 4 Nate Graham 2024-02-06 15:08:21 UTC
Git commit 769ddf993282873e4b0183a2b47e0704be0f4d59 by Nate Graham.
Committed on 06/02/2024 at 14:54.
Pushed by ngraham into branch 'master'.

applets/systemtray: elide applet title rather than overflowing

The popup is resizable now so at least the user can self-satisfy here,
but we still shouldn't be letting long text overflow in the first place.
FIXED-IN: 6.0

M  +2    -0    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/769ddf993282873e4b0183a2b47e0704be0f4d59
Comment 5 Nate Graham 2024-02-06 15:24:13 UTC
Git commit ca375ac839514c9546e3183999d52931b1c79aec by Nate Graham.
Committed on 06/02/2024 at 15:23.
Pushed by ngraham into branch 'Plasma/6.0'.

applets/systemtray: elide applet title rather than overflowing

The popup is resizable now so at least the user can self-satisfy here,
but we still shouldn't be letting long text overflow in the first place.
FIXED-IN: 6.0
(cherry picked from commit 769ddf993282873e4b0183a2b47e0704be0f4d59)

M  +2    -0    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

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