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

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MM5 window extends into other monitors when maximized [#16804]

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

by drakinite » Fri Jul 10, 2020 8:19 pm

I'm sure it's possible to rectify it somehow, though, even if it is - Namely because Slack and Discord only extend a couple pixels at max, and it's not that bad. Maybe through the arguments/flags that Chromium takes when it's launched? Is that something that I'd be able to mess around with in my install files, as with all the frontend javascript? Or is the code that launches the initial Chromium window(s) compiled into an .exe?


I don't really mind if it takes a long time to fix, because there's half a million things on your guys' plate for MM5. But I'm happy that you listened to me and added it to the tracked issues. :heart: :slight_smile:

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

by Lowlander » Fri Jul 10, 2020 10:56 am

Then it maybe the underlying Chromium that has a bug, not MediaMonkey.

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

by drakinite » Fri Jul 10, 2020 7:43 am

Wow, that's... weird. Huh.
Well, maybe whatever fixes the UI remnants can also fix the black bars for me. It's weird, but it seems like this extending-into-other-displays problem is common with native apps that use Chromium. Discord and Slack have that issue— However, it's slightly different, because in their case the window itself is spread out larger than the display. (In Discord's case, I often see the unread markers on the left side of the screen cut off)

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

by Lowlander » Thu Jul 09, 2020 10:39 pm

No black bars here, just a remnant of the window from before maximize.

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

by drakinite » Thu Jul 09, 2020 10:09 pm

If you have another program open on your second monitor (For example, a web browser), and then maximize MediaMonkey on the first monitor, there should be a black line extending into the second monitor, displaying over the other program. At least that's what I've been experiencing, and that's what the original post was about.

I did notice that sometimes bits of the UI showed up over that black line, but I didn't realize it was due to the window extending across both displays. I figured it wasn't worth including, because if the black bars were fixed, then the associated UI remnants would also be fixed. Sorry if I was unclear.

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

by Lowlander » Thu Jul 09, 2020 9:23 pm

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.

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

by drakinite » Thu Jul 09, 2020 8:05 pm

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?
Image
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

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

by drakinite » Thu Jul 09, 2020 7:14 pm

Have you tried making them misaligned vertically, like this?
Image
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.

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

by Lowlander » Thu Jul 09, 2020 6:59 pm

I have 2 identical monitors at same resolution & DPI.

Even when testing with different resolutions/DPI I wasn't seeing what you see.

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

by drakinite » Thu Jul 09, 2020 6:57 pm

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?

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

by Lowlander » Thu Jul 09, 2020 6:30 pm

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.

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

by drakinite » Thu Jul 09, 2020 6:22 pm

No, actually... The MM5 window can start at any size before maximizing, and it always extends into the adjacent window the same

Re: MM5 window extends into other monitors when maximized

by Lowlander » Thu Jul 09, 2020 4:20 pm

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.

Re: MM5 window extends into other monitors when maximized

by drakinite » Sat Jul 04, 2020 2:28 pm

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.

Re: MM5 window extends into other monitors when maximized

by drakinite » Sat Jul 04, 2020 2:19 pm

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.

Top