Bug 496249

Summary: Application Launcher text label doesn't strips whitespace
Product: [Plasma] plasmashell Reporter: cam.webb
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: cam.webb, mikel5764, nate, noahadvs
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Settings Text label
tiny start menu button
Plasma 5.27.11 large start menu button

Description cam.webb 2024-11-14 02:43:15 UTC
SUMMARY
Application Launcer (start menu button) no longer renders whitespace in the text label. It is no longer possible to increase the button padding size by manually adding spaces as a prefix or suffix for the Text label.


STEPS TO REPRODUCE
1. Right click on a taskbar panel with Application Launcher icon
2. Click on Configure Application Launcher 
3. Under General, type into the Text label spaces, tab characters or no-break-spaces
4. Click on Icon > Remove Icon
5. Click on Apply

OBSERVED RESULT
Application launcher button is extremely narrow with no icon.

EXPECTED RESULT
Application launcher button to be wider than normal with no icon.

SOFTWARE/OS VERSIONS
Broken on:
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-9-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: NV138

Working on:
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-47-generic (64-bit)
Graphics Platform: Wayland (also works on X11)


ADDITIONAL INFORMATION
Noticed after upgrading from KDE Plasma 5.27.11. I was using a single tab character \t as the Application Launcher text label so the button was wider and removed the icon to reduce clutter on smaller resolution screens.
Comment 1 cam.webb 2024-11-14 02:44:13 UTC
Created attachment 175799 [details]
Settings Text label
Comment 2 cam.webb 2024-11-14 02:45:25 UTC
Created attachment 175800 [details]
tiny start menu button
Comment 3 cam.webb 2024-11-14 02:52:34 UTC
Created attachment 175801 [details]
Plasma 5.27.11 large start menu button
Comment 4 Nate Graham 2024-11-14 17:44:33 UTC
Accidental duplicate of Bug 496246
Comment 5 cam.webb 2024-11-15 10:11:28 UTC
Found a work around by using four non-printable characters U+FFA0 as the Application Launcher text label in Plasma 6.2 to acheive the same as one tab character U+0009 in Plasma 5.27.11 😄