MM5 window extends into other monitors when maximized [#16804]

Help improve MediaMonkey 2027 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderátor: Gurus

drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

MM5 window extends into other monitors when maximized [#16804]

Příspěvek od drakinite »

This is a display bug that Discord had for a while as well. When MM5 is maximized and I have multiple monitors, MM5's window extends into the monitor next to it by 9 pixels. This happens whether the other monitor is on the left or on the right. Here is a screenshot showing what it looks like: https://i.imgur.com/FBcjs7T.jpg
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Příspěvky: 59946
Registrován: sob zář 06, 2003 5:53 pm

Re: MM5 window extends into other monitors when maximized

Příspěvek od Lowlander »

Please detail monitor setup (resolutions).

Related: https://www.mediamonkey.com/forum/viewt ... 30&t=96329
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized

Příspěvek od drakinite »

Monitor setup can be seen here:
Obrázek

Display 1 is 1920x1080 and scaled at 150%.
Display 2 is 2560x1440 and scaled at 125%, and is the primary monitor.
Display 3 is 1280x1024 and scaled at 100%.

The resolutions and orientations don't make a difference, though. It always bleeds by 9 pixels in every direction when MM5 is maximized. It can be seen more clearly here, where I added a pixel grid:
Obrázek
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized

Příspěvek od drakinite »

Bump - I don't think anyone tracked this on Mantis yet
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
PetrCBR
Příspěvky: 1837
Registrován: úte bře 07, 2006 5:31 pm

Re: MM5 window extends into other monitors when maximized

Příspěvek od PetrCBR »

Probably it's somehow related to DPI settings ... can you try to 100% scale on displays 2 and 3 ?
How to make a debuglog in Windows - step 4b: https://www.mediamonkey.com/forum/viewt ... 30&t=86643
How to make a debuglog in MacOS - https://www.mediamonkey.com/forum/viewt ... p?t=109505
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized

Příspěvek od drakinite »

Just changed every monitor to 100% scale, and even after restarting MM it extends into other displays in every direction. Though, strangely enough in build 2259, it seems to be extending by 8 pixels now instead of 9 pixels.
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized

Příspěvek od drakinite »

Actually, that's not exactly right. It looks like the exact number of pixels it extends by depends on the scale of the displays.
When the primary display is at 100%, it extends by 8 pixels. At 125%, it extends by 9 pixels; and at 150%, it extends by 11-12 pixels, depending on which screen it's next to. Let me know if you want a more rigorous explanation of which display is put where when I get 11 vs 12 pixels.
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Příspěvky: 59946
Registrován: sob zář 06, 2003 5:53 pm

Re: MM5 window extends into other monitors when maximized

Příspěvek od Lowlander »

Added as: https://www.ventismedia.com/mantis/view.php?id=16804

Can you confirm that to reproduce you require to have the MediaMonkey window on more than 1 monitor before maximizing? For me both monitors are same resolution and DPI, but I did see this problem if MediaMonkey was on 2 monitors before maximizing.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od drakinite »

No, actually... The MM5 window can start at any size before maximizing, and it always extends into the adjacent window the same
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Příspěvky: 59946
Registrován: sob zář 06, 2003 5:53 pm

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od Lowlander »

It's not the size that matters, but the only way I was able to reproduce was that the MediaMonkey window was on 2 monitors before maximize. If the whole window is on a single monitor, than maximize doesn't exhibit this problem.

The window actually maximizes properly here, it just leaves part of it drawn on the other monitor. Your screenshot seems to show something a little different where the actual window stretches into the second monitor, but I was unable to reproduce that.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od drakinite »

Right.... That's strange to me, though, since the same thing happens even if MediaMonkey is not extended into multiple windows before it's maximized. That's what I meant when I was talking about the size, sorry.
Mind if I ask what your monitor setup is, so I can attempt to copy yours and see if I still get the same behavior, too?
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Příspěvky: 59946
Registrován: sob zář 06, 2003 5:53 pm

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od Lowlander »

I have 2 identical monitors at same resolution & DPI.

Even when testing with different resolutions/DPI I wasn't seeing what you see.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od drakinite »

Have you tried making them misaligned vertically, like this?
Obrázek
My monitors are all different sizes, so they're never perfectly vertically aligned. I don't know how it could make a difference, but it's my best guess at this point.
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
drakinite
Příspěvky: 988
Registrován: úte kvě 12, 2020 10:06 am

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od drakinite »

Actually, I do see what you're talking about when it's extended over 2 monitors. When it's extended over both monitors before maximizing, residual parts of the UI do show up in the other monitor. But there's still a black bar where the MediaMonkey window was not there. Does the same thing not happen to you?
Obrázek
edit: I dunno why I typed "black remnant", since it's not a remnant per se. But it's a black bar even in places where the window was not located, so there were no UI remnants
Obrázek
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Příspěvky: 59946
Registrován: sob zář 06, 2003 5:53 pm

Re: MM5 window extends into other monitors when maximized [#16804]

Příspěvek od Lowlander »

I have a black desktop, so yes, that is what I see and reported, but this does seem different from what you originally reported. Because in this scenario the window is maximized on single monitor, but remants of window remain on other monitor. Whereas it seems you see the window extend on 2 monitors after maximizing.
Odpovědět