View Issue Details

IDProjectCategoryView StatusLast Update
0017978MMW 5FileMonitor / Find Missingpublic2022-04-20 01:12
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version5.0.1 
Target Version5.0.2Fixed in Version5.0.2 
Summary0017978: Multiple 'Scan Results' dialogs appear & can block UI interactions (focus issue)
DescriptionIn some cases with 5.0.1, I'm experiencing a problem in which subsequent to a scan operation, after the scan results dialog appears, the user is no longer able to interact with the MM UI (it's as if there's another dialog that is retaining focus). I replicated as follows:

1 Add Google drive
2 Initiate a scan of the Google Drive
--> dialog indicating nothing found on the drive
--> second 'Scan results' dialog appears indicating that 3 files were imported
--> clicking on the MM UI has no effect!
--> User must force-close MM
TagsNo tags attached.
Fixed in build2501

Relationships

related to 0017935 resolvedrusty Options dialog appears in black and MM cannot be closed (focus issue?) 
related to 0015360 closedLudek Show scan log after scanning a cloud service (like GPM) 
related to 0017982 closedLudek Scanning same folder twice doesn't show Scan Results second time 
related to 0018982 resolvedpetr Focus lost which makes modal dialogs go behind parent window 

Activities

rusty

2021-06-02 16:17

administrator   ~0063693

Note: on some occasions 3 such 'scan results' dialogs appear (each displaying different results)!

Ludek

2021-06-03 09:51

developer   ~0063711

Fixed in 2411

rusty

2021-06-04 02:29

administrator   ~0063731

Last edited: 2021-06-04 13:48

Tested 2411.

Now when scanning a Google drive (previously added in build 2410), there's no scan results dialog.

EDIT: this may be a duplicate of 0017982, but I don't think so since I can't replicate the problem when scanning a local folder. Perhaps there's some other commonality between the two cases that results in the missing summary dialog.

Ludek

2021-06-04 19:05

developer   ~0063763

Last edited: 2021-06-04 19:05

The reason was that in case of re-scanning Google Drive the "last content signature" is compared at first and if nothing changed then the scan is not performed at all, this was added mainly because of the scheduled scanning (to not waste resources).

So I changed it for manual scans so that the last-content-signature value is cleared and the re-scan is performed (showing the scan results dialog at the end).

=> Fixed in 2412

lowlander

2021-06-04 21:26

developer   ~0063773

Verified on 2412, manual scan rescans each time and show Scan results once.

rusty

2021-06-08 22:39

administrator   ~0063825

This seems to be occurring in 2413:
1 Navigate to Music > Location > PathX
2 Delete trackA
3 Press INSERT to scan content
--> Both Music > Location > PathX and Google Drive are checked off in the scanning directory
4 Press ENTER to 'Scan now'
--> Dialog appears showing 1 track has been added
--> Dialog appears on top showing 0 tracks have been added!

Ludek

2021-06-09 07:03

developer   ~0063838

Yes, this can still happen whenever there is a mix of cloud locations scanning and others location scanning.
The fix is not easy as the two processes (cloud location scan + others locations scans) are separate.
Moving target to 5.0.2

rusty

2021-06-09 16:08

administrator   ~0063861

Last edited: 2021-06-09 16:08

I would suggest either:
a) Short term solution:
Continues to open 2 dialogs but:
 - Identifies the source in the dialog header
 - Offsets the dialogs so that it doesn't appear as if there's one dialog overwritten by another

b) Longer term solution:
Display everything in a single dialog. And if the data from the different sources arrives independently, we could have a dialog that displays the data independently for each of the sources, and updates as the data becomes available. e.g.
Scan results:
Location . . . Imported . . . Updated . . . Ignored . . . Failed
/downloads. . 100 . . . . . . 0 . . . . . . . . . . 3 . . . . . . . . . 0
Google drive . .

Library now has ___ files
Search and update took hh:mm:ss

[View log] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [Close]

Ludek

2021-09-02 18:42

developer   ~0064471

Last edited: 2021-09-03 13:44

There are still steps how to produce two "Scan results" dialogs resulting in the original issue:
1) Press Insert to go to "Add/Rescan" and let it scan a large folder
2) Press Insert to go to "Add/Rescan" again and let it scan the samea large folder again
=> once both tasks finishes then two "Scan results" dialogs are shown
3) offset the topmost dialog to the left (by dragging the title bar)
4) click inside the second dialog behind to bring it to front and close the dialog
=> the second dialog (that was originally in front) can't be closed!

Reported at: https://www.mediamonkey.com/forum/viewtopic.php?f=30&t=99941

EDIT: Note that offseting the dialogs at first is _not_ a workaround. Once one instance of the dialog is closed then the second instance can't be closed!
Updated the steps and raising to urgent...

Ludek

2021-09-03 10:54

developer   ~0064473

Workaround is to show the dialogs as not modal, but in such a case closing the first dialog auto-closes also the second dialog!

Per IM discussion assigned to Petr to look into it, as it looks like a more general problem with handling dialog windows.

petr

2021-09-03 14:42

developer   ~0064475

Fixed

lowlander

2021-09-11 16:29

developer   ~0064550

Verified on 2501, the second Scan Results dialog is functional after closing the first.