fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.34k stars 214 forks source link

Change Monitor order #220

Open julianschwuchow opened 5 years ago

julianschwuchow commented 5 years ago

I'm using bug.n for a while now and a problem that hit me multiple times won't go away this time.

I'm using a multi monitor setup with three monitors. The order of the monitors is setup correctly in windows (1 2 3), my mouse moves from one monitor to the other as expected. But bug.n mixes up the order. When I move a window from one monitor to the other, let's say from left to right, it moves the window from monitor 1 to monitor 3. When I move it to the right again it ends up on monitor 2. So the window moves 1->3->2 instead of 1->2->3.

Before I could solve the problem by changing my monitor settings in windows. Then bug.n opens a popup which asked me if the monitor configuration should be adjusted. I clicked yes and everything worked as expected again. Not nice, but no deal breaker either.

This time however even if I change my monitor settings, forcing the popup to open, and click yes, the order remains wrong.

I also tried rebooting and resetting bug.n multiple times. Nothing works.

Is there any way for me to tell bug.n the correct order of my monitors?

joten commented 5 years ago

For retrieving the monitor configuration bug.n depends on the AutoHotkey function SysGet and the order of monitors given by it. Therefor there is currently no possible remedy for this issue.

I will flag it as an enhancement; there should be a possibility to set the order of monitors in Config.ini using the display names.

schkr commented 4 years ago

Experienced the same problem with bug.n. My issue ended up not being with bug.n or AutoHotkey. I was able to duplicate the out of order monitor reporting in AMD Radeon Pro Advanced Settings-Monitor Settings. Windows Display settings reports the correct monitor order, but the system is reporting a different order.

Flushing the registry keys in CurrentControlSet > GraphicsDrivers > Configuration, Connectivity, & ScaleFactors caused the system to respect the Windows Display Settings order.