compute-size: Bounds and scale incorrect
I played a bit more with Toplevel::compute-size
to see if it could be a solution for Loupe's initial window scaling. I thought that they could generally cause bugs, therefore reporting them independently.
It looks like gdk_toplevel_size_get_bounds
are physical pixels for traditional scaling and logical pixels for scale-monitor-framebuffer
enabled. So the same issue as for GdkMonitor.
The Surface:scale
I get during the signal is 2.0 while having set 1.5. It changes to 1.5 at some point after the signal. Shouldn't that information be up-to-date during compute-size
?
I have observed some issues when switching between different fractional scalings. Not sure if they are related. I will also report them independently if I can reproduce them.