Open drojf opened 1 year ago
Just an update (2024) that while investigating another issue (https://github.com/07th-mod/hou-plus/issues/13), I found all the above issues still exist (and also exist on Hou+).
I found another issue
[ ] (Affects all OS) On the main config menu (not the F10 menu), after going fullscreen, the button for the current resolution (eg 1080p) will stay "clicked". This prevents you from going back to windowed at the same resolution (you need to click one of the other resolutions like 720p to go back to windowed).
[ ] On hou+, if you try to set a windowed resolution greater than your monitor resolution, it doesn't set it, but it also doesn't set one of the pre-defined resolutions like on Windows (eg on Windows if you click 2440p and your screen is 1080p, it will revert to 1080p). It also results in the mouse cursor not aligning with what is on the screen anymore.
The 'f' key and 'alt-enter' are the most annoying ones, esp if you accidentally set a resolution when you can't see the buttons anymore.
I noticed these minor issues which probably aren't related to this issue, but might be. I've seen some of them before but didn't note them down anywhere. I'll raise another issue later with these items once this PR is closed.
One small issue I noticed (I don't think it's due to this issue), is that on my system I can forcibly resize the window by dragging it to touch the top of the screen (this kind of pins it as windowed mode, but fills the whole screen). Once it is in this state, you can't change the windowed resolution (it will change briefly, then change back). Going fullscreen, then back to windowed doesn't fix the issue. You need to drag the window out of the pinned state, then it returns to normal.
Another unrelated? issue I noticed is that I can set the windowed resolution greater than the resolution of my screen (for example, set 2560x1440 when my screen is 1920x1080). Changing to a lower windowed resolution is then only possible if you go fullscreen again via a hotkey, which is complicated by the next issue (because you cannot see the resolution change buttons anymore as they are off the screen).
Going fullscreen via the f key only works if you're not in a menu - you have to be in normal mode - 'StateNormal' as it is called in DLL I think.
Using ALT-Enter to change from windowed to fullscreen has no effect (hopefully it's not my laptop keyboard setup or something). I thought I noticed the window trying to change resolution when I pressed alt-enter, but I can't seem to reproduce it.
Originally posted by @drojf in https://github.com/07th-mod/higurashi-assembly/issues/93#issuecomment-1303094668