SuperGouge / ChanThreadWatch

Fork of the original discontinued ChanThreadWatch.
90 stars 13 forks source link

Window size bug #42

Closed SatoMew closed 9 years ago

SatoMew commented 9 years ago

I'm using Windows 8.1 on a screen with high PPI and the Windows GUI is DPI-scaled. Since Chan Thread Watch does not support DPI scaling, I set the flag in the executable that disables DPI virtualization. However, this is causing a very odd issue: the window resizes every time the app is run and each subsequent run makes the window bigger. Resetting the flag for DPI virtualization fixes the issue.

Even if this issue is patched, I think that support for DPI scaling should be added in a future release.

SuperGouge commented 9 years ago

What happens when you don't disable DPI virtualization? CTW is supposed to support scaling.

SatoMew commented 9 years ago

When DPI virtualization is enabled for CTW, Windows applies it to the app as if it were not DPI-aware. In my case, the DPI is scaled by 150% but CTW instead appears blurry due to the scaled-up 100% DPI.

Here's how it looks with DPI virtualization enabled (default):

ctw_dpiv

And with DPI virtualization disabled:

ctw_nodpiv

The bug occurs in the latter case and only in subsequent runs of the app since it's fine on the first run (which is what the above screenshot shows).

SuperGouge commented 9 years ago

The bug should be fixed in the next release. I'll see about the DPI-awareness issue but my setup doesn't allow me to test this specific issue effectively for the moment.

SatoMew commented 9 years ago

It's fixed now, thanks :)