View Issue Details

IDProjectCategoryView StatusLast Update
0020333MMW 5Now Playingpublic2024-01-09 22:13
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version5.1 
Target Version5.1Fixed in Version5.1 
Summary0020333: Preview:Selected: Selection is lost on restart [regression 2815]
DescriptionIf the preview window displays the Selected track, then upon restarting MMW, the selection is lost and the Preview windows displays the first track in the list!

i.e.
0 Set the Preview Window to display the Selected track (not the Playing track)
1 Select track 20
--> the Preview window displays the expected metadata
2 Restart MMW
--> the Preview window displays the metadata for track 1 !
TagsNo tags attached.
Fixed in build2830

Relationships

related to 0013987 closedLudek Art&Details panel "selected" content changes only upon clicking particular track 
related to 0020331 closedLudek Playing doesn't show first file played after MMW start [Regression 2822] 
related to 0020354 closedmichal Preview:Playing doesn't show the correct track if a track has been skipped (regression) 

Activities

Ludek

2023-11-07 16:59

developer   ~0073325

I am unable to replicate, could you please screencast it so that I am sure that I am using the same steps & layout?

Ludek

2023-11-07 17:03

developer   ~0073326

OK, testing it further I am able to replicate when the 'Playing panel' layout is set to 'List' (instead of default 'Simplified list'), so maybe that's your configuration?

Ludek

2023-11-07 17:43

developer   ~0073330

Last edited: 2023-11-07 17:59

Seems to be regression caused in build 2815 by Michal's fix of 0016622 -- SVN revision 41288

Problematic changes are in /controls/nowPlaying/tracklist.js component
restoreState there is somehow postponed and then never called on this._stateToRestore

Assigned to Michal for fix

rusty

2023-11-08 03:26

administrator   ~0073348

Note: the bug occurs for me even with the Playing list is set to 'Simplified list'. However, whether it occurs seems to depend on the view. i.e. if the 20th track that I select is in Music > Location > D > All [List / List by Album ], then the bug occurs (it didn't occur when I selected the 20th track in [Browser] view.

michal

2023-11-08 12:18

developer   ~0073350

Original regression fixed in build 2823.
Problem with Location node switched to all tracks is different older issue.

michal

2023-11-08 13:05

developer   ~0073351

Fixed in build 2823.

lowlander

2023-11-10 18:01

developer   ~0073427

Last edited: 2023-11-10 19:30

On 2823 this is not resolved

1) Filelisting Selection
1 Select last file in a Playlist (set to List View)
2 Restart MediaMonkey
--> On Start Previews shows details of first file in Playlist
--> As Playing finished loading Preview switches to showing selected file in Playing window

2) Playing window Selection
1 Select Playing node (set to List)
2 Select file in Playing window (set to List)
3 Restart MediaMonkey
--> On Start Previews shows blank
--> As Playing finished loading Preview switches to showing the selected file in the Filelisting instead of Playing node
(It seems that the node can finish loading after the Playing window, stealing selection. I believe that previously selection always matched between Playing window and node).

3) Media Tree blanks Selected
a) Clicking anywhere in the Media Tree shows empty Preview.
b) If Media Tree is active when switching to Selected it will show blank

rusty

2023-11-10 19:19

administrator   ~0073441

I'm seeing a slightly different manifestation of these bugs (but note that they only occur when Playing is set to 'List' view rather than 'Simple' view):
1b) Filelisting
1 Select a file in the Playing list
2 Select the last file in a Playlist
3 Restart MMW
--> Preview:Selected shows the track from the Playing list rather than the last selected file from the Playlist!

2b) Playing window
1 Select the last file in the Playing window
2 Restart MMW
--> On restart MMW first displays the track prior to the selected track, and then displays the selected track

lowlander

2023-11-10 19:35

developer   ~0073442

They issue seems that MediaMonkey gives focus to the last element loaded. So if you have the Filelisting, the Playing window and a Playlist window open and select a file in the Playlist window the Preview can show different results on restart as the different elements finish loading.

michal

2023-11-12 15:09

developer   ~0073451

Tested with 1.5year old build and it was the same, so this is not recent regression, but different a lot older problem.

michal

2024-01-09 14:16

developer   ~0074007

Fixed in build 2830.

lowlander

2024-01-09 22:13

developer   ~0074013

All issues seem to be resolved on 2830.