Gnome-shell-extension-gsconnect: Device icon not scaled to display density

Created on 25 Aug 2018  路  9Comments  路  Source: GSConnect/gnome-shell-extension-gsconnect

I noticed the device icon with the battery circle on the left of each device should be twice the size as it is for me, this is caused by my display using 200% scaling. Setting scaling to 100% makes it behave like normal and setting it to 300% makes it even smaller relatively.

screenshot from readme
Big device icon (from readme)

screenshot
Small device icon (200% scaling)

bug needs testing

Most helpful comment

For most Clutter elements this should be done automatically, but the device icon is a custom cairo surface so I'll have to make some changes to support HiDPI screens. I'm approaching the time to merge the wip-rewrite branch so this won't be done until after that.

All 9 comments

Noticed as well. Anyone have any idea how to fix?

For most Clutter elements this should be done automatically, but the device icon is a custom cairo surface so I'll have to make some changes to support HiDPI screens. I'm approaching the time to merge the wip-rewrite branch so this won't be done until after that.

I thought I'd just update you to let you know I'm working hard to get the rewrite in shape to merge. I'd just like to get everything major settled (like new/deprecated settings, file paths) so I can do a "feature freeze" and a release candidate (v13-RC1) soon after.

Since I don't have a HiDPI screen and emulating one is difficult, I'd appreciate help testing the extension from people that do, to make sure everything looks like it is supposed to. I was told by a Gnome dev that this is usually handled automatically at render time, but maybe there are some other exceptions where it has to be adjusted manually (like that Remote Input bug) that I can't predict.

On the upside, I might be able to use the opportunity to make the whole widget resizable in CSS, which would let themers include adjustments for their "compact" variants.

Thanks for the update! Once you've merged the rewrite branch, I'll gladly help testing it by finding HiDPI related bugs and submitting PRs where I can. I've already partially (hardcoded for 200%) fixed this issue for me so I can probably help making this widget resizable.

Hi, I've recently merged the rewrite and I'd like to address the HiDPI issues in GSConnect before doing a release candidate. If you have the time I'd appreciate help tracking those down and fixing them since I don't have a HiDPI screen myself.

I pushed a change that checks the scale factor before loading the device icon, and the overall size is set in CSS. I'm hoping this at least partially fixes the problem.

Hi @andyholmes I just installed the master branch and the same problem still persists.
screenshot from 2018-09-22 14-37-34

Okay, I think I fixed it this time.

screenshot from 2018-09-23 19-28-43
Comfirmed, thanks for the hard work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aia832003 picture aia832003  路  6Comments

neumannjan picture neumannjan  路  3Comments

daleosm picture daleosm  路  6Comments

amivaleo picture amivaleo  路  5Comments

rugk picture rugk  路  4Comments