https://bugs.kde.org/show_bug.cgi?id=514893
Bug ID: 514893
Summary: Support negative launcher counts
Classification: Plasma
Product: plasmashell
Version First 6.4.5
Reported In:
Platform: Kubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Task Manager and Icons-Only Task Manager widgets
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 188745
--> https://bugs.kde.org/attachment.cgi?id=188745&action=edit
A "-" sign is shown in KDE
SUMMARY
I am using Unity’s launcher count API to show temperature from an weather app
in the launcher.
When the temperature is negative, KDE just shows a -ve sign (see attached
image).
In comparison, Plank dock correctly shows the negative number (see
https://discuss-cdn.kde.org/uploads/default/original/3X/c/8/c8b7b924699c33f0c8dee10adf7b8f955714e1c2.png
). For details see
https://discuss.kde.org/t/kde-shows-a-ve-sign-witout-any-numbers-when-the-unity-launcher-count-is-negative/32620?u=archisman
STEPS TO REPRODUCE
1. Make some way to get a negative launcher count (e.g. by setting location at
a cold place with typhoon weather app, or by running the python code at
https://discuss.kde.org/t/kde-shows-a-ve-sign-witout-any-numbers-when-the-unity-launcher-count-is-negative/32620?u=archisman
)
OBSERVED RESULT
Only a "-" sign is shown.
EXPECTED RESULT
The negative integer number should be shown
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.8.3
ADDITIONAL INFORMATION
The issue occurs because of this code
https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/taskmanager/qml/Badge.qml#L51.
Can we remove this code enable negative counts here?
--
You are receiving this mail because:
You are watching all bug changes.