View Issue Details

IDProjectCategoryView StatusLast Update
0013458MMW 5Track Browserpublic2019-12-20 15:19
Reporterrusty Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0013458: Popups open slowly
DescriptionThis was originally raised at 0012451:0045221, but appears to have been overlooked:

Artist and Album popups open slowly (e.g. clicking an Album causes the popup to open about .5s later. It should be immediate.
TagsNo tags attached.
Fixed in build

Activities

jiri

2016-08-11 09:00

administrator   ~0045387

Last edited: 2016-08-11 11:55

Works pretty much immediately for me. Could you please provide a debug log and possibly also a video?

Or do you mean online content, which depends downloading tracklist from our MB server?

rusty

2016-08-15 03:59

administrator   ~0045409

Cannot replicate. Resolving.

rusty

2016-09-15 21:53

administrator   ~0045663

Last edited: 2016-09-15 22:25

So in normal circumstances, it seems that performance isn't that bad, though it isn't as responsive as one would expect of a modern app, particularly when there are a lot of tracks on an album. See:
http://screencast.com/t/nHt9mNMJWibD

I suspect, however, that the bug originally occurred largely because of some issue with the MediaMonkeyEngine.exe process (possibly #13427) which occasionally uses 50% of CPU utilization and results in the following:
http://screencast.com/t/4DeKduwvv6

Unfortunately, I've not yet been able to capture a log of the second case, but if I do, I'll enter a separate bug.

jiri

2016-09-16 11:21

administrator   ~0045675

Assigning to Michal to review whether there's anything to be improved.

jiri

2016-11-09 11:50

administrator   ~0046118

Made several changes that result in a very significant improvement, particularly for repeated showing of popups.

Leaving assigned to Michal to further review:
1. setPopupListColors() - Could be simplified? Does it need to modify CSS rules, can't it be just local style of the LV?

2. updatePopupSize() is quite slow, can it cache some values? At least calls to getOuterHeight() would better be limited/eliminated.

3. setVisibility(UI.albumImageSquare, true) could be made without layoutchange attribute?

4. Should we consider colorThief to be implemented outside JS?

Leaving as Urgent, but feel free to lower to High after a review, to process lower priority items later.

michal

2016-11-14 18:41

developer   ~0046153

1)2)3) improved

jiri

2016-11-15 13:47

administrator   ~0046166

Leaving at High priority for future consideration of item 4).

peke

2019-12-20 15:05

developer   ~0055745

Verified 2219

For me it is almost immediate especially if it is already opened and only content/color is changed.

Note if it is not already open Animation takes 0.2s and is fluent.

michal

2019-12-20 15:10

developer   ~0055747

Closing, I think 4 is not needed, as it is fast enough now.