torum / Image-viewer

A cross-platform, simple and minimum, yet configurable photo viewer/slideshow/digital signage app for Windows, Linux, and Mac.
https://torum.github.io/Image-viewer/
MIT License
92 stars 11 forks source link

Multiple monitors on Windows 10 - Appears on wrong monitor when fullscreen is selected #11

Open mcicogni opened 3 years ago

mcicogni commented 3 years ago

The subject line says it all, really.

I run Windows 10, with extended screens (extended, not mirrored). When I have the window on my secondary monitor, then hit F or click on fullscreen, the secondary monitor does go white, but the image is actually displayed on the primary monitor.

Size seems to be right (i.e., it would be right for the secondary monitor). Position is with a side adjacent to the side of the primary monitor where the secondary monitor is attached. Perhaps just a coordinate miscalculation?

What should I send to help troubleshoot the issue?

Cheers Mauro

torum commented 3 years ago

Hi, thank you for reporting. Hmm.. I can't reproduce the problem. I have a secondary monitor (and extended) as well. But the window appear at where it should be...

Right now, I have no idea why you experience such problem. Please give me some time to go thorough the code.

Thank you.

mcicogni commented 3 years ago

If it helps, I can also report that if I move the window to the extended screen, there's no way to make the position stick: it will always appear on the main screen, right next to the side where the extended screen is positioned.

If I move the window around on the main screen, when I close the application then open it again, it will correctly remember where the window was last time and put it back there.

The window size, on the other hand, does stick on both screens.

Cheers Mauro

--

On 02/06/2021 13:59, torum wrote:

Hi, thank you for reporting. Hmm.. I can't reproduce the problem. I have a secondary monitor (and extended) as well. But the window appear at where it should be...

Right now, I have no idea why you experience such problem. Please give me some time to go thorough the code.

Thank you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/torum/Image-viewer/issues/11#issuecomment-852966818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDCF2JB5BEMCYDDOBDJ3H3TQYMKFANCNFSM452U64VA.

username115 commented 3 years ago

I have a similar issue on Linux Mint 20.2. It works fine fullscreen on my left monitor and center monitor (primary). When I try to fullscreen it on my right monitor, it blanks out that screen, but displays fullscreen on the primary monitor.

In my case, it may be because my left and center monitors are 1440p, and the right is 1080p, or because the right monitor is positioned farther down compared to the other two (both physically, and in the OS layout).

mcicogni commented 3 years ago

What an uncanny similarity! My secondary monitor, too, has a lower resolution than the primary and is positioned lower down, both physically and in the OS layout:

image (Monitor 2 is where I have the issue)

The only difference is that in my case it sits on the left of the primary monitor, but I imagine that's irrelevant.

username115 commented 3 years ago

2021-07-15_08-18

I didn't think to attach a screenshot before. The one in yellow is the one with issues in my case.