Bug 433217 - Section header letters in "All Applications" have mixed uppercase and lowercase
Summary: Section header letters in "All Applications" have mixed uppercase and lowercase
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.21.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 04:11 UTC by Jin Liu
Modified: 2021-02-19 17:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.21.1


Attachments
New launcher. Section header in lowercase, if the first app in the section is lowercase. (193.89 KB, image/png)
2021-02-19 04:11 UTC, Jin Liu
Details
Dolphin. Always uppercase. (156.80 KB, image/png)
2021-02-19 04:12 UTC, Jin Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2021-02-19 04:11:09 UTC
Created attachment 135882 [details]
New launcher. Section header in lowercase, if the first app in the section is lowercase.

SUMMARY
In "all applications" in the new launcher, if the name of the first app in a section is lowercase, then the section header is lowercase. And vice versa.
The section header letters should be all in uppercase, as in other places (e.g. Dolphin).

STEPS TO REPRODUCE
1. Install an app with lowercase name (e.g. "baidunetdisk", "nnn"), as the first app name starting with that letter ("b" or "n").
2. Open the new launcher.
3. Open "All Applications".
4. Scroll to the "B" section.

OBSERVED RESULT
Section header is "b".

EXPECTED RESULT
Section header is "B".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Jin Liu 2021-02-19 04:12:03 UTC
Created attachment 135883 [details]
Dolphin. Always uppercase.
Comment 2 Nate Graham 2021-02-19 16:25:11 UTC
Fascinating. It seems to take the first character of the first item in that section; if the first item begins with a lowercase letter, the section heqader letter will be lowercase too. I can reproduce with my "b" section because its first item is "balenaetcher"
Comment 3 Nate Graham 2021-02-19 16:54:03 UTC
Will fix.
Comment 4 Nate Graham 2021-02-19 17:03:59 UTC
Git commit 9d909c89321a80c153f640308d3ed6fad6f9a578 by Nate Graham.
Committed on 19/02/2021 at 17:02.
Pushed by ngraham into branch 'master'.

[applets/kickoff] Always capitalize section header letters

Or else you can wind up in a funky situation where the section header
letter is lowercase when the first item in that section begins with a
lowercase letter!
FIXED-IN: 5.21.1

M  +3    -1    applets/kickoff/package/contents/ui/SectionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/9d909c89321a80c153f640308d3ed6fad6f9a578
Comment 5 Nate Graham 2021-02-19 17:04:27 UTC
Git commit 6ddaa4cebda77a33041a96bfa4301d4a1ec6ac90 by Nate Graham.
Committed on 19/02/2021 at 17:04.
Pushed by ngraham into branch 'Plasma/5.21'.

[applets/kickoff] Always capitalize section header letters

Or else you can wind up in a funky situation where the section header
letter is lowercase when the first item in that section begins with a
lowercase letter!
FIXED-IN: 5.21.1
(cherry picked from commit 9d909c89321a80c153f640308d3ed6fad6f9a578)

M  +3    -1    applets/kickoff/package/contents/ui/SectionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/6ddaa4cebda77a33041a96bfa4301d4a1ec6ac90