GNOME Bugzilla – Bug 776896
Icons incorrectly scaled on non-hidpi screen
Last modified: 2017-01-09 23:55:56 UTC
Created attachment 342944 [details] Issue When using 2 screens, one hidpi and the other not. Nautilus seems to use the wrong scaling factor for the icon view. Attached is a video of the issue. You can reproduce this using a nester mutter : MUTTER_DEBUG_NUM_DUMMY_MONITORS=2 MUTTER_DEBUG_DUMMY_MONITOR_SCALES=2,1 mutter --wayland --nested and launch nautilus like this : GDK_BACKEND=wayland WAYLAND_DISPLAY=wayland-1 nautilus
Created attachment 343026 [details] [review] canvas-container: listen to scale factor to invalidate icons
Created attachment 343027 [details] [review] icon-info: hash/store icons using scale factor as well as size
Review of attachment 343026 [details] [review]: Yeah, feel free to backport to 3.22
Review of attachment 343027 [details] [review]: Looks good, thanks! Eventually all of this will be fixed with the port to GtkFlowBox etc.
Review of attachment 343026 [details] [review]: Pushed to 3.22 and master.
Review of attachment 343027 [details] [review]: Pushed to 3.22 and master.
All done, cheers!