Skip to content
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

Add HiDPI scaling support for high resolution displays #455

Closed
wants to merge 1 commit into from

Conversation

newhoa
Copy link
Contributor

@newhoa newhoa commented May 16, 2024

@ochosi and @bluesabre, would you all be able to take a look at this HiDPI/Scaling option (and test it out)?

There was some question as to whether we should stay PNG or go SVG, so I thought an option for SVG would be a good compromise.

I would like to know if this method would work for distro-packaging. Would this allow the HiDPI version to be installable as a separate package?

Or should the SVG version of the theme just be installed as an extra theme (like elementary-xfce-dark)? This would increase package size.

Xfce added some icon scaling support in 4.18 and with 4.20 it will be supported throught the DE. The PNG theme won't work well for people who enable scaling (In xfce4-appearance > Settings > Window Scaling). So I'd like to work on some initial solution.

Anyway, I'd appreciate it if you all could take a look and let me know if this works or what I can do to make it work better. Thanks!


Add an optional --hidpi configure flag to allow installing as a fully SVG theme, with an updated index.theme for HiDPI support. This will be seen when Scaling is set to 2x or 3x.

Fixes issues where wrong icons are shown in some places with scaling enabled (like the Places sidebars in file managers), and blurry icon issues, especially with scaling enabled. The PNG non-HiDPI theme also restricted the amount of zoom steps the icons had with scaling enabled, so this should resolve that as well.

Fixes #124
Fixes #317
Fixes #362
Fixes #403

Add an optional --hidpi configure flag to allow installing
as a fully SVG theme, with an updated index.theme for HiDPI
support. This will be seen when Scaling is set to 2x or 3x.

Fixes issues where wrong icons are shown in some places with
scaling enabled (like the Places sidebars in file managers),
and blurry icon issues, especially with scaling enabled.
The PNG non-HiDPI theme also restricted the amount of zoom
steps the icons had with scaling enabled, so this should
resolve that as well.

Fixes shimmerproject#124
Fixes shimmerproject#317
Fixes shimmerproject#362
Fixes shimmerproject#403
@newhoa
Copy link
Contributor Author

newhoa commented May 16, 2024

Gah, I had to fix an error in the name of the index file. Sorry if that caused any problems to anyone.

Also, I should've added the command is:

./configure --hidpi --prefix=$HOME/.local

@newhoa
Copy link
Contributor Author

newhoa commented Aug 24, 2024

Replacing this with #476

@newhoa newhoa closed this Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant