Bug 492047 - Moving tracks upward using the drag handle leads to wild flickering when moving between first and second track of a different album
Summary: Moving tracks upward using the drag handle leads to wild flickering when movi...
Status: REPORTED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-22 18:04 UTC by cwo
Modified: 2024-08-22 18:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2024-08-22 18:04:20 UTC
SUMMARY

When slowly moving tracks upward in the playlist, moving a song in between the first and second track of an album causes wild flickering as the playlist can't decide if and where it wants to show the album header in the playlist. It keeps switching between the orders 

1) Album 1 Header 
2) Track 1 
3) Track 2 (mouse is here)
4) (Free Space for dropping)

(move up a pixel)

1) Track 1
2) (Free Space for dropping)
3) Album 1 Header (mouse is here)
4) Track 2

(move up  a pixel, repeat the first arrangement, until the mouse is far beyond Track 2

STEPS TO REPRODUCE
1. Add an album with at least two tracks to the playlist
2. Add another album (or a single track from a different album)
3. Move a single track from a different album upward using the drag handle, no flickering until Track 2 from the first album 
4.  Keep moving upward slowly

(Bonus fun: arrange things 1) Album 1 Track 1 2) Album 1 Track 2 3) Album 2 Track 1, then drag Album 2 Track 2 upward slowly between Album 1 Tracks 1 and 2)

OBSERVED RESULT

Wild flickering in the playlist.

EXPECTED RESULT

Once Track 1 is separated from Track 2, moving the mouse up a pixel does not cause the drop area to go below Track 2 again.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0 / git master of 
Qt Version: 6.7.0
Elisa version: 24.05.02 / git master
ADDITIONAL INFORMATION