Different focus behavior between MainTracks and Player

Beta Testing for Windows Products and plugins

Moderator: Gurus

flashk
Posts: 188
Joined: Sun Dec 11, 2005 5:04 pm
Contact:

Different focus behavior between MainTracks and Player

Post by flashk »

I've found an inconsistent behavior between the SDB.MainTracksWindow.Focused and SDB.Player.PlaylistFocused functions.

When setting the focused track on the player, the list will scroll so that the focused track is always centered within the list.

When setting the focused track on the main tracks window, the list will scroll so the focused track is either at the very top or very bottom. This depends on whether the newly focused track is above or below the currently focused track. If the newly focused track is already visible in the list, then it won't scroll at all.

I prefer the behavior of the player window, where the focused track is always displayed in the center of the list. Either way, it seems like these two functions should behave the same.