View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017978 | MMW 5 | FileMonitor / Find Missing | public | 2021-06-02 15:12 | 2022-04-20 01:12 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 5.0.1 | ||||
Target Version | 5.0.2 | Fixed in Version | 5.0.2 | ||
Summary | 0017978: Multiple 'Scan Results' dialogs appear & can block UI interactions (focus issue) | ||||
Description | In 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 | ||||
Tags | No tags attached. | ||||
Fixed in build | 2501 | ||||
related to | 0017935 | resolved | rusty | Options dialog appears in black and MM cannot be closed (focus issue?) |
related to | 0015360 | closed | Ludek | Show scan log after scanning a cloud service (like GPM) |
related to | 0017982 | closed | Ludek | Scanning same folder twice doesn't show Scan Results second time |
related to | 0018982 | resolved | petr | Focus lost which makes modal dialogs go behind parent window |
|
Note: on some occasions 3 such 'scan results' dialogs appear (each displaying different results)! |
|
Fixed in 2411 |
|
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. |
|
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 |
|
Verified on 2412, manual scan rescans each time and show Scan results once. |
|
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! |
|
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 |
|
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] |
|
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... |
|
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. |
|
Fixed |
|
Verified on 2501, the second Scan Results dialog is functional after closing the first. |