Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows sees normal windows as full screen if they exceed monitor dimensions #4

Open
dechamps opened this issue Mar 12, 2022 · 0 comments

Comments

@dechamps
Copy link
Owner

dechamps commented Mar 12, 2022

If a non-maximized, normal window is resized such that its borders are outside the limits of the monitor, the window seems to be seen as full screen by the Rude Window Manager. The taskbar will lose always on top when such windows are in the foreground. This is a failure mode that RudeWindowFixer does not currently mitigate.

This is reproducible using something as simple as Notepad. It's hard to trigger it accidentally though, because resizing a window to exceed the boundaries of the monitor requires some fiddling.

On the other hand, it's relatively easy to accidentally trigger this on the main window of Steam. It's not clear what's different about that window - it might be related to its custom border style, or maybe to its custom "snapping" behaviour when approaching the edges of a monitor.

It also looks like changing monitor resolution and/or scaling can end up resizing windows in such a way as to end up in this situation.

From a RudeWindowFixer perspective, the main challenge in solving this problem is that it's not entirely clear how to reliably distinguish between a window that is intended to be full screen (i.e. where the application deliberately set up the client area to cover an entire monitor), and a window that is accidentally full screen (i.e. this case). If we get this wrong, the taskbar will end up being shown on top of actual full screen applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant