Keyboard Icon in Panel size problem in hidpi

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
Costas
Level 1
Level 1
Posts: 10
Joined: Sun Sep 03, 2017 7:07 am

Keyboard Icon in Panel size problem in hidpi

Post by Costas » Fri Dec 08, 2017 10:09 am

Hi all,

I have installed 2 keyboard layouts and the icon in the panel is tiny to begin and it increases in size when I hover my mouse over it (and stays correct size). On re-login it goes back to small again.

I have a hidpi display (laptop) 3600x1800
fresh install of LM 18.3 Cinnamon
mint-X icon and window border theme
linux-mint desktop theme

I had problems with the dropbox panel icon which was sorted by downloading bigger icons and replacing the default small icons.

Many thanks for suggestions (and whether this should be registered as a bug?)
initial.jpg
initial.jpg (6.68 KiB) Viewed 194 times
mousehover.jpg
mousehover.jpg (10.16 KiB) Viewed 194 times

Costas
Level 1
Level 1
Posts: 10
Joined: Sun Sep 03, 2017 7:07 am

Re: Keyboard Icon in Panel size problem in hidpi

Post by Costas » Sun Dec 17, 2017 5:33 pm

Another interesting fact is that different themes behave differently. For example in Elegance, mouse hover does not make the icon become bigger.

EDIT: I have found out now that panel applets have their own visualisation rules and these may be hard coded into the applet.js. Likely there is a conflict in the js file of keyboard applet that calculates the wrong size for the icon in hidpi screens when scaling is enabled. I will keep digging. Maybe I will fill a bug report too cause I am not a coder.

Post Reply

Return to “Cinnamon”