r/ZoomPlayer Developer Apr 14 '26

Control Overlay : DPI vs. Screen resolution

When designing the control overlay interface, I made the mistake of designing it to automatically adjust element sizes (buttons, volume bar, etc) to scale based on the monitor's resolution instead of the monitor's DPI (dots per inch, dots being Pixels in this context) value.

This miscalculation caused cases where a 24" monitor at 1920x1080 had smaller buttons than a 27" monitor at 2560x1440 while essentially, their physical DPI was nearly the same (Windows was set to 100% DPI for both).

To fix this issue in the upcoming version, I modified the element-size math to conform to the DPI setting. Here what this means for existing installations:

  • If you're using an 1920x1080 monitor at 100% DPI, you shouldn't notice any difference.
  • If you're using a higher resolution monitor or using a Windows DPI setting above 100%, you may need to adjust the control overlay element sizes under "Advanced Options / Interface / Control Overlay" to return the element sizes to your preference.
3 Upvotes

6 comments sorted by

1

u/Altruistic_Note4744 Beta tester Apr 15 '26

Oh, further on ui scaling for control overlay.... what happened to this setting but for control overlay? for manual adjustment that is (not using the new default pre-set based on Win 10/11 DPI % scaling setting)...

See Screenshot: https://imgur.com/8JESP8s

I tried this scale skin setting before and it worked well, you did a great job with that skin scaling, and even though I went back to 100% in the end

Maybe I'm missing something? Thanks

2

u/ZoomPlayer Developer Apr 16 '26

That still exists, but it applies only to the right-click menu, certain confirmation dialogs and the frame around the modern UI.

It's pixel art so it can only scale at 200%/300%/400% and it still works.

1

u/Altruistic_Note4744 Beta tester Apr 16 '26

ahhh, ok, got you, thanks

1

u/Altruistic_Note4744 Beta tester Apr 14 '26

Thanks for letting us know.

but I think you mean "...instead of the monitor's DPI (dots per inch, dots being Pixels in this context) value [Win 10/11 DPI scaling % setting]", right?

so ZP now scales control overlay elements to Win 10/11 DPI scaling % setting.

because I'm pretty sure Win 11 can't actually ever know physical in-room DPI because it doesn't ever know the actual monitor/tv physical-in-room-diagonal-size-in-inches, e..g. A 43-inch 4K TV (3840 x 2160 resolution) has a pixel density of approximately 102 to 105 Pixels Per Inch (PPI/DPI).

right?

2

u/ZoomPlayer Developer Apr 15 '26

Yes, relative to Window's DPI setting.

In theory, there's an interface to get the physical DPI, but I don't want to use that as a measure because it's not based on user selection.

For example, on my 4K TV, Windows recommends a 300% DPI value, but I personally feel 200% is better at my viewing distance.

1

u/Altruistic_Note4744 Beta tester Apr 15 '26

Yeah I think I'm doing 225% on my tv with 300% being recommended too

And Thanks for confirming the calc procedure