cassidyjames / dippi

Calculate display info like DPI and aspect ratio
https://cassidyjames.com/dippi
GNU General Public License v3.0
75 stars 26 forks source link

3840×2160 at 24" shows as potentially problematic, though it should work fine at 2× #113

Closed melix99 closed 1 year ago

melix99 commented 1 year ago

Hi, I wanted to try how Dippi feels about a 24" 3840x2160 desktop screen and the result is that it's potentially problematic:

image

The problem is that if I set a resolution of 1920x1080 (half of 4k), it now says that it's ideal for LoDPI.

I didn't expect this result, because I think that the UI in a 24" 4k monitor with 200% scaling should appear just like the 1080p one, but maybe I'm just not considering something else? :)

cassidyjames commented 1 year ago

Hmm, yeah, this is because GNOME (and elementary OS, at least) defaults to 192 DPI as the cutoff for HiDPI; this is just below that at 183 DPI, so by default, it would be at 1× scaling. I agree it would be better to handle, though, with a specific message about it working okay at 2× scaling.

I'll have to think about how to handle this.

cassidyjames commented 1 year ago

Ah actually I'm going to consider this a duplicate of #112; it is the same underlying issue. Thanks for reporting, I'll aim to resolve this in the next release.