Bug 337288 - Keyboard layout indicator icon distorted
Summary: Keyboard layout indicator icon distorted
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
: 340064 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-09 20:06 UTC by Thomas Pfeiffer
Modified: 2014-12-13 14:49 UTC (History)
4 users (show)

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


Attachments
Screenshot (7.16 KB, image/png)
2014-08-24 13:23 UTC, Someone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfeiffer 2014-07-09 20:06:20 UTC
The keyboard layout indicator icon in the system tray looks distorted (see http://wstaw.org/m/2014/07/08/systray.png ).
This happens regardless of whether the pane is resized or not.

Reproducible: Always




Tested on neon5-201407041042.iso
Comment 1 David Edmundson 2014-07-19 11:15:32 UTC
Confirmed.

2 things here:
 SystemTray/IconItem aren't centering the image from KStatusNotifier and instead stretching it.

 For this case we should probably port the proper applet and make it DBus activated, then remove the statusnotifieritem from the kded module.
Comment 2 Someone 2014-08-24 13:23:08 UTC
Created attachment 88398 [details]
Screenshot
Comment 3 Someone 2014-08-24 13:24:00 UTC
Comment on attachment 88398 [details]
Screenshot

Flag label looks terrible too
Comment 4 David Edmundson 2014-08-24 13:34:10 UTC
What's the flag from?
Comment 5 Someone 2014-08-24 13:44:05 UTC
David,

System Settings -> Human Input Devices -> Keyboard tab -> Layouts -> Layout indicator group box

I switched it there from "label" to "flag".
Comment 6 David Edmundson 2014-08-26 22:13:45 UTC
*** Bug 337287 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Pfeiffer 2014-08-26 22:39:47 UTC
It indeed is about different things. Maybe it doesn't really come across well in the screenshot, but the other icons indeed were blurry after resizing. I''ll retest and report back as soon as I find the time to give the newest Neon ISO a spin.
Comment 8 Sebastian Kügler 2014-08-28 23:26:55 UTC
This seems to happen when the icon size hits 32. It could be a problem with the SVGs, which don't align in that case (assuming they're aligned to render pixel-perfectly at 24px (which I think was the idea), they're scaled by ~1.333 up to 32, leaving half a pixel and making the outline blurry.

This is what I can come up with from the screenshots, anyway.
Comment 9 Bhushan Shah 2014-10-18 03:43:18 UTC
*** Bug 340064 has been marked as a duplicate of this bug. ***
Comment 10 David Edmundson 2014-12-13 14:49:40 UTC
Aleix fixed this in the keyboard kded to return square icons