Notice: Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #99 (closed Known issue: fixed)

Opened 7 years ago

Last modified 3 years ago

Several tracks highlighted in Playlist Editor

Reported by: bflorat Owned by: Sesamstrasse
Priority: 1, lowest Milestone: To Be Decided by Jajuk Team
Component: Functional Version: 1.5
Keywords: Cc:

Description (last modified by fsck222) (diff)

For all playlists but queue one, in playlist editor: normaly, current played track is highlighted in orange. If a playlist contains a file more than one, all of them will be highlighted and not only current one.

Attachments

Change History

Changed 7 years ago by bflorat

  • summary changed from Serveral tracks highlighted in Playlist Editor to Several tracks highlighted in Playlist Editor

Changed 5 years ago by fsck222

  • owner changed from nobody to bflorat
  • status changed from assigned to new
  • type changed from Known issue to Discussion
  • description modified (diff)
  • milestone set to To Be Decided by Jajuk Team

(trac cleaning process) Is it a ticket still valid? if yes what version does it affect?

Changed 5 years ago by fsck222

  • type changed from Discussion to Bug
  • version set to 1.3.9
  • component changed from (Jajuk Members) Any (Default Component) to (Java Developer) Functional
  • milestone changed from To Be Decided by Jajuk Team to 1.3.9 "My Dear Country"

Changed 5 years ago by bflorat

  • status changed from new to assigned
  • type changed from Bug to Known issue

Changed 5 years ago by bflorat

  • version changed from 1.3.9 to 1.3.10
  • milestone changed from 1.3.9 "My Dear Country" to 1.4 "Aerodynamic"

Changed 5 years ago by bflorat

  • milestone 1.4 "Aerodynamic" deleted

Changed 5 years ago by bflorat

  • version changed from 1.3.10 to 1.4
  • milestone set to To Be Decided by Jajuk Team

Changed 4 years ago by varun

  • version changed from 1.4 to 1.5

This ticket is still valid. I can reproduce this. It happens when the current audio file being played appears more than once in the "Queue" Playlist, then all the files are highlighted. I guess a simple fix would be to just highlight the currently playing track.

Changed 4 years ago by varun

  • owner changed from bflorat to varun
  • status changed from assigned to new

Changed 4 years ago by varun

I have applied a fix in trunk. Please check if this fix is okay. I guess it could be bit confusing in playlists other than "queue" where if you have duplicate files in the playlist and if you are playling the second duplicate file, my fix will only highlight the first matching file. So, if this fix is acceptable, I shall backport it to 1.5 branch.

Changed 4 years ago by bflorat

No, we prefer to avoid any non-mandatory change in 1.5 branch.

On your fix: * I think that there's no problem on highlight several lines with the current playing item in non queue playlist. It appaers logical to me * You fix brings a new bug : if you launch a list containing tracks {t1,t2,t1} that you play in repeat mode, when FIFO played the second t1, it's the first line that will be highlighted. * On the performance side, it's less than optimal : to refresh table, the EDT will call n2 calls to isItemHighlighted() methods (that contains get on FIFO arraylist) when before you made only n calls for each screen refresh. I think that i can cause high CPU consumption for large playlists or tables.

So I suggest to reverse your fix in the mean time if you don't mind. I for one still don't see any fix to this :-( and given the critical performance aspect of this code, there're perhaps no way to fix it without degrading performances.

Changed 4 years ago by varun

I agree. I have reversed my fix.

Changed 4 years ago by bflorat

Thanks

Changed 4 years ago by fsck222

  • milestone changed from To Be Decided by Jajuk Team to 1.7 "Firestarter"

do we need to keep to ticket open?

Changed 4 years ago by bflorat

Yes, it is not fixed and is a known limitation without known way to fix it.

Changed 4 years ago by bflorat

  • milestone changed from 1.7 "Firestarter" to To Be Decided by Jajuk Team

Changed 3 years ago by Sesamstrasse

  • owner changed from varun to Sesamstrasse
  • status changed from new to assigned

This is now fixed in trunk, see my ticket 1319. :)

I also kept the behavior for the playlist table and changed the highlighter only to the queue view.

Changed 3 years ago by Sesamstrasse

  • status changed from assigned to closed
  • resolution changed from None to fixed

Add/Change #99 (Several tracks highlighted in Playlist Editor)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.