View Issue Details

IDProjectCategoryView StatusLast Update
0017725MMW 5Podcastspublic2021-05-13 01:30
ReporterLudek Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0.1Fixed in Version5.0.1 
Summary0017725: Refreshing number in Downloads(X) collapses manually opened album
DescriptionAs reported by user from ticket # 1085:

Steps to reproduce:

1) Open Mediamonkey
2) Downloading of quite large number of podcast starts (30 pieces to have time to elaborate the issue)
3) Search and open any Album (example of the view is here https://www.mediafire.com/view/qmieod1dz9q1mbe/example_for_correct_terminology_collapse_vs_open_album.png/file)
So, I pressed "Show all Y tracks"
4) When the number in the Downloads node refreshes (increases or decreases), the open Album is collapsed, such as I would do that manually by pressing Collapse -- but I did not.

Expected behaviour instead of 4: Album is not collapsed on any background activity of MM and Album remains open.
MM5 build 2330 RC-6
TagsNo tags attached.
Fixed in build2403

Relationships

related to 0017483 closedLudek Track views don't refresh correctly on edits (regression) 

Activities

Ludek

2021-04-05 19:14

developer   ~0062687

Last edited: 2021-04-05 19:15

Partially fixed in 2232

But the problem is actually more general, currently editing any track property triggers the bug.
e.g. changing rating of a track in Playing list on the right causes the expanded albums in "List (by Album)" view on the left to auto-collapse.

Debugging it further and the reason is that after any property change the 'autoupdate' event is called resulting in calling
ListView.handleItemChange with eventType == 'autoupdate' and thus
GroupedTracklist.invalidateAll() is called that re-creates the groups and auto-collapses the albums.

Assigned to Petr to check whether there is an easy and low risk fix for 5.0 -- otherwise pushing to 5.0.1

petr

2021-05-07 19:38

developer   ~0063103

Fixed

peke

2021-05-13 01:30

developer   ~0063171

Verified 2404

Unable to reproduce.