Bug 511533 - Keyboard layout icon not aligned to center
Summary: Keyboard layout icon not aligned to center
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.5.1
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-02 17:57 UTC by Artem
Modified: 2025-12-23 00:31 UTC (History)
3 users (show)

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


Attachments
Panel with shifted icon (5.67 KB, image/png)
2025-11-02 17:57 UTC, Artem
Details
Panel tray with 200% scale factor (71.02 KB, image/png)
2025-12-22 16:03 UTC, Artem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem 2025-11-02 17:57:08 UTC
Created attachment 186421 [details]
Panel with shifted icon

Hello

I have a vertical panel with keyboard layout icon as a country flag. And after update to KDE Plasma 6.5.1 that icon was shifted to the left a bit (see the attachment). I have fractional scaling 125%, and changing it to 100% fixes the issue. The problem is not occurring for text layout representation, only for icon mode.

Panel position: vertical left
Screen resolution: 2560x1600
Panel width: 56
Fractional scaling: 125%
Comment 1 TraceyC 2025-11-07 02:19:28 UTC
I'm able to reproduce this on Plasma 6.5.1 (36px panel on 100% scaling but not 56px & 100%)
I cannot reproduce with Plasma built from git-master (48px, 56px, 100%, 125%)
I'm also not able to reproduce this on a Neon Testing VM (6.5.2) with your exact settings.

Hopefully, this is fixed in 6.5.2 / 6.6.0.
In the past, however, bugs involving the panel were very sensitive to system, display settings and panel settings. I'll leave this open in case others can reproduce it.
Comment 2 Artem 2025-11-11 17:53:20 UTC
Unfortunately, still reproduced on 6.5.2 for me.

Fedora Kinoite 43
KDE Plasma 6.5.2
KDE Frameworks 6.19.0
Qt 6.10.0
Kernel 6.17.7-300.fc43.x86_64
Comment 3 Nate Graham 2025-12-12 16:52:45 UTC
Hi Artem,
Does this reproduce in a new clean user account, with the only customizations being  the panel position and thickness, scale factor, and keyboard layout?
Comment 4 Artem 2025-12-22 16:03:03 UTC
Created attachment 187873 [details]
Panel tray with 200% scale factor

Hi

Yes, it's reproducing for me with a such test scenario:
1. Create new user
2. Move panel to the left\right side of the screen
3. Change keyboard layout widget style to icon (or icon + text)
4. Change scale factor to >100%

It's reproducing for any scale factors >100%, it's just more noticeable for a bigger values. And for 200% it's obvious that this icon is not scaled properly as other tray elements (see new image attached).

KDE Plasma 6.5.4 (Wayland)
KDE Frameworks 6.21.0
Qt 6.10.1
6.17.12-300.fc43.x86_64
Comment 5 TraceyC 2025-12-23 00:31:25 UTC
I still can't reproduce this on git-master, hopefully this is fixed in 6.6.0