Skip to content

Blurry icons #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cazacugmihai opened this issue May 7, 2018 · 2 comments
Closed

Blurry icons #144

cazacugmihai opened this issue May 7, 2018 · 2 comments

Comments

@cazacugmihai
Copy link

cazacugmihai commented May 7, 2018

Hi,

The dock applet draws blurry icons on my system:

mate-dock-applet

The quality of the icons doesn't change, no matter what width I set to the panel. On the above picture, the mate-panel width is set to 48 pixels.

Env:

OS: Ubuntu 18.04 LTS x86_64
Resolution: 3840x2160 
DE: MATE 
WM: Metacity (Marco) 
WM Theme: Arc-Darker 
Window manager: Marco (Compton GPU compositor)
Theme: Arc-Darker [GTK2/3] 
Icons: Arc-Icons [GTK2/3] 
GPU: Intel HD Graphics 530 

Thanks!

@cazacugmihai cazacugmihai changed the title Blurry Icons Blurry icons May 7, 2018
@robint99
Copy link
Contributor

robint99 commented Jun 4, 2018

I think this is probably a hidpi issue and I've just committed a fix for it. Unfortunately, I don't have a hidpi monitor to test it with, so I don't know for sure that it actually works...

If you'd like to try it for yourself, you'll have to install the very latest version of the applet. Fortunately I've written a Python script to do this for you and you can find it in here one of my other repositories.

Cheers.

vkareh added a commit to vkareh/mate-dock-applet that referenced this issue Jun 18, 2018
This change uses cairo surfaces instead of pixbufs to render icons compatible with HiDPI displays

Fixes ubuntu-mate#144
@vkareh
Copy link
Member

vkareh commented Jun 18, 2018

@robint99 - your fix does not scale icons, instead it loads a larger icon size, but then it just shrinks it back for rendering in the corresponding drawing area. I've submitted a pull request that loads scaled icons and converts them to a surface - it then uses that surface as the source for the cairo context during the draw phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants