Panels + Multi-Monitor

Started by David_H, July 26, 2023, 11:56:51 PM

Previous topic - Next topic

David_H

This appears to affect the quick-view panel more than others.
I have three monitors; they are all 2560x1440 (125% scaling), and are in order 3, 1 and 2. (1 being in the middle and the primary display).

I usually have IMatch on monitor 3 (left-most), and try to keep the quick view panel on 1.
However, when the panel is on a different display to the main application, the context menu from the titlebar becomes very confused, and opens up at weird offset (more confusingly, the shadow behind the context menu is mostly in the expected place). If IMatch is on #3, then the offset is to the right. If it is on #2, then it is to the left.


If it can't be easily fixed, is there any chance there could be a shortcut for Maximize ?

Also, dragging panels between monitors seems to result in weirdness at the boundaries - especially with the quick view panel; they either try snapping back to the original window, or losing their content. Resizing the panel across the monitors works though.

Mario

I run IMatch on two 4K monitors and I cannot see this problem.

I float the Quick View panel and move it to the second monitor.
I right-click on the caption bar. The menu opens where I clicked and I choose "Maximize".

I can force a alignment issue to show up when I deliberately switch the monitor to a different DPI scaling.
I usually use 150% on both monitors. When I force the monitor containing the Quick View panel to use 100% scaling, Windows positions the menu incorrectly. The shadow appears where IMatch places the menu, the menu itself appears at the wrong spot.
Is this what you are seeing.


QuoteAlso, dragging panels between monitors seems to result in weirdness at the boundaries - especially with the quick view panel; they either try snapping back to the original window, or losing their content. Resizing the panel across the monitors works though.
This would indicate that you are using different screen resolutions or scaling on your different monitors, a situation which causes a lot of strange things in Windows' window management, when a window (panel) is partly shown on different monitors with different resolutions or scaling. I have even seen graphics drivers crash in this situation.

When I do this, I move the panel quickly so that Windows does not try to refresh / repaint the window while it is shown on both screens. If resizing and then moving the moving the panels works better on your setup, use that trick.



-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

I have fixed the case I could reproduce for the next IMatch release.

For some reasons, somewhere in the innards between the 3rd party user interface toolkit and Windows's menu handling, the positioning of the menu goes wrong.

I have coded this on my own directly, and not it works.
Hopefully it also works in your case.

I'll close this ticket.
Comment on it when you can still reproduce it.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

David_H

Hi Mario,

That's much better behaved, and doesn't seem to be causing the dock jumping issues either.

For the other part of the issue, maximize a panel (must be maximized) then drag it to any other monitor and watch as it misbehaves:


Mario

QuoteThat's much better behaved, and doesn't seem to be causing the dock jumping issues either.
Thanks. But the only change I did is the positioning of the menu.

Moving panels between monitors, especially if they use different resolutions or DPI scaling, is always an issue in Windows. Not everything can be solved by IMatch.

If your system cannot handle it: maybe resize the panel to span both screens, then move it.
If your graphic card driver crashes or misbehaves, ask the vendor.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook