Bug 457309 - Keyboard layout text visually too low in comparison to system tray icons
Summary: Keyboard layout text visually too low in comparison to system tray icons
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (other bugs)
Version First Reported In: 5.25.3
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 18:13 UTC by doncbugs
Modified: 2024-08-23 16:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
keyboard layout icon is not centered like other icons (13.77 KB, image/png)
2022-07-30 18:13 UTC, doncbugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2022-07-30 18:13:43 UTC
Created attachment 151004 [details]
keyboard layout icon is not centered like other icons

SUMMARY
The text to indicate which keyboard layout you are using sits at the baseline of Breeze icons in the system tray. This give it the appearance of being too low. Perhaps it could be more--centered?


STEPS TO REPRODUCE
1. Add a new keyboard layout from System Settings (Input Devices > Keyboard > Layouts) 
2. Observe System Tray, ideally with multiple other icons visible

OBSERVED RESULT
Text appears bottom-aligned and all other icons are taller

EXPECTED RESULT
Text may look better if vertically-aligned

ADDITIONAL INFORMATION
This may actually make it look worse, I am not sure.
Comment 1 Nate Graham 2022-08-01 16:35:35 UTC
Let's see
Comment 2 Nate Graham 2024-08-23 16:41:39 UTC
I investigated this while helping someone else out with a fix for Bug 491867, and found that it's not really fixable, unfortunately. The issue is that "us" has two letters that are short. A different string with any letters that are taller will look better.

Right now we align all the labels to the same baseline, which exaggerates the issue. But if we didn't do that and center-aligned them all instead, it would look weird for a different reason: because none of the labels would share a baseline while switching. It would be swapping out one issue for another.

So I think unfortunately there's nothing feasible we can do here, sorry.