dozius / winsplit-revolution

A small utility which allows you to easily organize your open windows by tiling, resizing and positioning them to make the best use of your desktop real estate.
GNU General Public License v3.0
88 stars 12 forks source link

incorrect window position on multiple monitors #5

Open snaix opened 4 years ago

snaix commented 4 years ago

The current version does not seem to support multiple displays. I have 3 monitors. When I press ctrl+alt + numpad on 1st monitor, everything is fine. But if the window move to the 2nd monitor, it can't be resized correctly. It seems that winsplit regards the 2nd display and the 3rd display as the same display. The window is resized&moved in a larger resolution( resolution = 2nd + 3rd).

dozius commented 4 years ago

Please provide more info about your setup. Monitor resolution & DPI for each.

I use this on a multi-monitor setup without issues, but in my case both monitors have the same resolution and DPI. I suspect this is a DPI awareness issue. Winsplit is old and likely doesn't support DPI awareness.

lgmazure commented 4 years ago

I really appreciate your work.

I report a similar issue with wildly wrong positioning with the new version. I do have multiple screens and all with different DPIs, and resolutions. Because my setup involves DPI scaling ranging from 100-400%, even ctrl+num pad results a pretty wired behaviour.

The original version Winsplit v11.04 behaves somewhat acceptable, it works within one screen (ctrl+num pad); and breaks slightly only when you ctrl+arrow to move windows across the screen, it will keep the window size of the original screen and try to fit it into the new screen.

dozius commented 4 years ago

Thanks for confirming that this is a mixed DPI issue. It might be as simple as communicating to the OS that the application is DPI aware, but I don't have much experience in this area. To keep expectations realistic, I don't have access to a mixed DPI environment, so it's unlikely I will be able to fix this on my own.