View Issue Details

IDProjectCategoryView StatusLast Update
0021141MMW 5Main Panelpublic2024-10-22 21:21
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status feedbackResolutionreopened 
Product Version5.1 
Target Version5.1Fixed in Version5.1 
Summary0021141: MultiMonitor: for some users MMW windows cannot be resized
DescriptionI'm unable to replicate this, but there are at least 2 reports of users being unable to resize the MMW window in a multi-monitor environment. In one of the cases, this is particularly severe as the MM Window is larger than the screen size.

https://www.mediamonkey.com/forum/viewtopic.php?t=105894
Ticket 7343
TagsNo tags attached.
Fixed in build3060

Relationships

related to 0021144 resolvedpetr MultiMonitor: fixed-size dialogs may appear larger than the screen size 
related to 0021243 closedpetr Window Resizing causes MM window to disappear when text scaling > 200% 
related to 0021279 resolvedpetr Multi-monitor: Maximize window issues 
related to 0021284 resolvedpetr Multi-monitor: Dialogs are sized incorrectly and window controls fail (regression) 

Activities

petr

2024-08-13 18:25

developer   ~0076639

Fixed

rusty

2024-09-05 19:33

administrator   ~0076860

Last edited: 2024-09-05 19:38

The user at ticket 7343 is still observing this issue i.e.
- after deleting persistent.json and restarting MM, can resize in any dimension correctly, move from monitor to monitor, completely functional.
- stop and restart MM, can resize left-right, however CANNOT resize to less than one full monitor width. Can move left and right correctly, but width of MM window is always a full monitor wide!

I'm unable to replicate this, but am seeing a variant as described at 0021144:0076861

petr

2024-09-06 19:09

developer   ~0076884

Fixed

petr

2024-09-08 18:54

developer   ~0076897

Last edited: 2024-09-10 19:40

Reopened as user reported problem [in build 3051]
https://www.mediamonkey.com/forum/viewtopic.php?p=521699#p521699

petr

2024-09-12 12:46

developer   ~0076907

Fixed

rusty

2024-09-17 02:43

administrator   ~0076990

Last edited: 2024-09-17 03:28

I've never been able to replicate the issue reported by the user, but with build 3054 (and I don't think that this is a regression) there seem to be other cases in which scaling of the MM window is broken. Generally it relates to scenarios in which the MM Window moves between the monitor (scale 100%) and the laptop (scale 150%).

Case I:
1 Open laptop
2 Run MMW
--> MM Window launches on laptop as expected (first image)
3 Close laptop
--> MM Window appears on monitor as expected (2nd image)
4 Open laptop
--> MM Window appears on laptop but is tiny (3rd image) and the [Minimize], [Restore], [Close] buttons don't work (due to a scaling issue)
image.png (276,155 bytes)
image-2.png (153,350 bytes)   
image-2.png (153,350 bytes)   
image-3.png (475,640 bytes)

rusty

2024-09-17 02:59

administrator   ~0076991

Last edited: 2024-09-17 03:29

Case II: A similar issue to the one above can be replicated by moving the MM window between screens as follows:

1 Run MMW
--> MM Window launches on monitor as expected
2 Open laptop
--> MM Window appears on monitor as expected (2nd image)
3 Drag MMW window to laptop screen
--> MM Window appears on laptop but is tiny!
4a Drag MMW window to monitor screen
--> MM Window appears on monitor as expected (same as image 1)
4b (if this is done instead of 4a) Close laptop lid
--> MM Window appears scaled up on laptop! (see image 4)
image-4.png (153,609 bytes)   
image-4.png (153,609 bytes)   
image-5.png (145,055 bytes)   
image-5.png (145,055 bytes)   
image-6.png (105,447 bytes)   
image-6.png (105,447 bytes)   
image-7.png (181,722 bytes)   
image-7.png (181,722 bytes)   

rusty

2024-09-17 03:18

administrator   ~0076992

I think that what would be expected in most cases is that the scope remains the same (screen size permitting) when the Window switches between screens, and that the scale remains consistent on each of the screens (i.e. screen a always displays at scale A and screen b always displays at scale b).

rusty

2024-09-19 04:38

administrator   ~0077054

Update: It seems that the above steps (Case I) can also trigger problems with dialogs. i.e. case I, step 5: Open the about dialog and attempt to 'Close' it --> the 'x' button no longer functions.

rusty

2024-09-20 05:48

administrator   ~0077089

Tested build 3056 with the monitor set to always display at the same scale/resolution. i.e. Build 3052-3055 tests were:
Laptop open: Monitor (2nd screen) 3440x1440 / 100% + laptop (1st screen) 2240 x 1400, 150%
Laptop closed: Monitor 2560x1080 / 100%

For build 3056, the tests below were performed with the following settings:
Laptop open: Monitor (2nd screen) 2560x1080 / 100% + laptop (1st screen) 2240 x 1400, 150%
Laptop closed: Monitor 2560x1080 / 100%

Test 1
1 Launch MMW on Monitor
2 Open laptop --> Window remains as expected
3 Close laptop --> Window remains as expected, BUT
--minimize/restore buttons are broken!
--menus are broken!
4 Restart MMW
--> Window opens smaller than it should!

Test 2
1 Open laptop and Launch MMW on Monitor
2 Drag MMW from monitor to laptop
3 Drag MMW from laptop to monitor
4 Close MM and restart
At all steps everything works as expected

Test 3 (a modification of Test 2 in which the Laptop is opened while MM is running)
1 Launch MMW on Monitor
2 Open laptop --> Window remains as expected
3 Drag MMW from monitor to laptop
4 Close laptop
--minimize/restore buttons are broken!
--menus are broken!
5 Restart MMW
--> Window opens smaller than it should!
Basically this test doesn't reveal anything new (it just replicates the issues of test 1n a more complex environment)

Summary: the above seems to indicate that the problems stem from closing the laptop and how MM adjusts menus and windowing buttons in response.

rusty

2024-09-20 18:53

administrator   ~0077094

Last edited: 2024-09-20 19:10

Note: Test1 on build 3053 works better than 3056
1 Launch MMW on Monitor
2 Open laptop --> Window remains as expected
3 Close laptop --> Window remains as expected and menus and windowing functions work as expected
4 Restart MMW --> Window opens to the correct size

UPDATE--performed Test 4 (the reverse of Test 1):
Performs as expected in 3053:
1 Launch MMW on laptop
2 Close laptop --> Window moves to Monitor and menus and windowing functions work as expected, but scope changes slightly!
3 Restart MMW --> Window opens to the same size as at step 2

BUT buggy in 3056:
1 Launch MMW on laptop
2 Close laptop --> Window moves to Monitor and menus render incorrectly and windowing functions don't work!
3 Restart MMW --> Window opens to a shrunken size!

rusty

2024-09-22 02:30

administrator   ~0077099

Last edited: 2024-09-23 16:43

Tested 3057 and tests 1 - 4 pass. BUT

Test 5: A variant of test 4 fails:
1 Launch MMW on laptop
2 Close laptop (line 2429) --> Window moves to Monitor correctly and menus and windowing functions work as expected
3 Open laptop (line 3266) --> MMW Window appears on laptop with tiny fonts, and windowing (min/restore/close) functions fail!
4 Drag MMW from laptop to monitor (line 3663) --> Window is cut off (missing the entire right panel / windowing controls & Menus are cropped)
 (the only way to close MM is via the Tray icon)

Note: dragging MMW from laptop to monitor (step 4) normally works correctly--it's only a bug in this case because of the issue (scaling) that occurs at step 3.

EDIT: Test 5 was performed with laptop scale @ 150% and monitor scale @ 100%. If the scale of both are set to 100%, then Test 5 passes.
1-launch-on-laptop.jpg (254,725 bytes)   
1-launch-on-laptop.jpg (254,725 bytes)   
3-Open-laptop-after-close.jpg (234,631 bytes)   
3-Open-laptop-after-close.jpg (234,631 bytes)   

rusty

2024-09-23 16:22

administrator   ~0077108

Last edited: 2024-09-23 16:54

Test 6 - Dialogs display too large, and MMW window fails to resize (Reported at https://www.mediamonkey.com/forum/viewtopic.php?t=106682). This can be replicated as follows:
0 Configure 2 Monitors (extended mode): Primary with a much higher resolution than the Secondary, and set Display > Scale > Text size to 225% (note: this has the effect of adjusting text scaling for all monitors)
1 Launch MMW on the secondary monitor
2 Click Tools > Rip CD
--> Rip CD dialog appears much too large, extending beyond the boundaries of the secondary monitor!
--> I was able to resize this dialog, though, so the issue isn't that severe
3 Close the dialog
4 Move the MMW window to the Primary monitor
--> It appears very large and attempts to resize it to smaller than a certain size fails (i.e. it can be re-sized up to a point)
--> On restarting MM, it's possible to resize the dialog fully.

Note: the second issue re. attempts to resize the window failing occur even if only a single monitor is used.

petr

2024-09-25 21:10

developer   ~0077122

Fixed

rusty

2024-09-26 05:21

administrator   ~0077127

Last edited: 2024-10-02 00:26

Verified 3058. The only issue remaining is that 1) when MMW is running with Display > Scale > Text size set to 225% (which means that the window must take up almost the entire screen even on a very large screen), and the user changes Display > Scale > Text size from 225% to 100%, then the MMW window cannot be resized horizontally smaller than a certain amount.

This is similar to the original issue reported in this bug.

EDIT:
The behavior described above is similar to other chromium-based apps in that there's a minimum size for some windows. Nonetheless, the Windows should not be vertically larger than the available space.

In addition, there are two other issues that can occur with the current build:
1b) Attempts to shrink the window vertically by resizing via the Title Bar's edge sometimes causes the MediaMonkey window to completely disappear

2) Conversely to case 1), if MM is launched on the external monitor (laptop closed) with text scale at max. Shrinking the window vertically can also cause it to disappear.

In both cases, MM hasn't actually crashed--it's just hidden. The only way to regain access to the UI is to close MM via the tray icon and then relaunch it.

petr

2024-10-02 09:16

developer   ~0077161

Text zoom issue fixed

rusty

2024-10-02 22:04

administrator   ~0077163

The steps to replicate the disappearing window are easier than originally described:

1 Set text scale to the max on the main monitor
2 Launch MM
--> It fills up the entire window (minor bug)
3 Resize it horizontally so that it doesn't take up the entire monitor
4 Move the window down a bit
5 Attempt to increase the size of the window vertically using the top edge
--> MM disappears!

Note: I suspect that this is somehow related to the fact that the MM window is too big vertically to fit on the screen with the 235% text scaling

jiri

2024-10-03 10:18

administrator   ~0077171

fyi, I can't reproduce. Btw, my display is 2560x1440 and max text size 225%.

Ludek

2024-10-04 16:11

developer   ~0077179

This is replicable only on Window 11 and with text scaling above 200%
Starting with 202% it moves the window down instead of resizing (when you drag the upper edge up..)

rusty

2024-10-06 01:55

administrator   ~0077181

Resolving since all of the originally reported issues have been resolved in 3060. The 'Disappearing window' issue is being tracked separated at 0021243.

rusty

2024-10-09 18:45

administrator   ~0077227

Reverified 3062. Closing.

rusty

2024-10-22 21:15

administrator   ~0077348

Last edited: 2024-10-22 21:21

Retested Test 3 in 3066 and although the main window is sized correctly for the debug build (only if debugview is running) it gets sized incorrectly with the regular build (or if the debug build is running without dbgview). i.e.

1 Launch MMW on Monitor
2 Open laptop --> Window remains as expected
3 Drag MMW from monitor to laptop
--> Window displays the same content as at step 2
4 Close laptop
---> The MMW window appears on the monitor much larger (i.e. displaying more content) than at step 1 and step 2!
To re-iterate, this bug does _not_ occur with the debug build if dbgview is running.

Note:
- when the bug occurs, menus and window controls function correctly. The only remaining issue is that the dialog is resized incorrectly.
- the converse also occurs (i.e. if the user is temporarily using MMW on the main window where it's sized correctly and opens the laptop and it then displays much less content than on the main monitor)