IridiumIO / CompactGUI

Transparently compress active games and programs using Windows 10/11 APIs
GNU General Public License v3.0
5.11k stars 238 forks source link

3.0.2 window problem #382

Closed Evanstanislas closed 8 months ago

Evanstanislas commented 10 months ago

So after trying to use this app again, I noticed 1 problem.

My CompactGUI hasn't been good enough to fit into the screen during the last update (3.0 alpha to beta ish) but since the UI scale update, it's finally able to fit the screen.

1 problem stayed though when opening the app this happened

image

So the upper part of the window that contains the settings and the close button remains out of the boundaries of my window. Changing the scale of the UI doesn't work as it remains stuck there after I close and reopen it. And I can't move the window since the button that moves it is on the top.

More notes: Trying to play with the taskbar auto-hide works temporarily, but after closing the app, the problem will emerge happen again.

Vitaliuz commented 9 months ago

It's still a thing in the v3.1.0. I've waited since 3.0.2 (when it first occured), thinking that the developer will notice it, yet no changes were made all the way to v3.1.0. The window still gets clipped if the desktop height (including the taskbar, ofc) is less than 800 pixels (on 800 you can barely see the window title bar, yet at least you can move the window). If you change the resolution from a higher to lower (lower than 800 pixels in height) - it gets moved to the screen edge properly (thanks to DWM, ofc, not the app).

Even though the issue was "fixed" (in the commit 54578df) - but in rather .... unusual way. In a lower res (up to 768p) it clips through the top edge: image But in higher res (800p+) it spawns (almost) properly, in the screen center: image image

Don't know why the developer used such a weird fix (FallbackValue=800), instead of keeping the launch position at the exact center of both width and height, with the addition of sticking to the top edge - if the resolution height is lower than the window's. Or just leave it to the user, with an optional "remember last position" feature - like it supposed to be in 2k24 (don't know why it's needed to be explained even - it's Design 101).

To all those who have smaller/extra screens, or who stumbled upon this post after googling - just use the v3.0.1-r.0 (listed as v3.0.1 in the releases section, with an MD5 of EB4EC8B2023882F97B468A69238A39DA). It has all the useful features just like the very last version has - but works properly-ish with the screen positioning.

Iridium-IO commented 9 months ago

"all the way to 3.1" isn't that many releases. It's literally 3 weeks. Chill a bit, there's no need to be so snarky. I'll get round to it