Author Topic: Problem with alternating colors.  (Read 580 times)

Haste

  • Jr. Member
  • **
  • Posts: 90
Hello,

I've got this issue where the alternating colors have different sizes (and there is an extra 1 pixel line) in Album and Tracks -> Compact grid view:



I had the issue elsewhere. Even in the Album and Tracks detailed list  view. I fixed it by commenting off lines like this one:
Code
<!--  <element id="Content[AlbumAndTracks].ItemSeparatorLine" fg="255,0,0" />
I commented out any ItemSeparatorLine I could find.

But for some reason the issue persists in compact grid view.

The Incredible Boom Boom

  • Sr. Member
  • ****
  • Posts: 1419
This topic might have better luck getting moved to Bug Reports, or it's possible the compact grid uses a different element id that someone else with more skinning knowledge might better pinpoint.

Haste

  • Jr. Member
  • **
  • Posts: 90
Yes, I reckon this most probably is a bug.

I use the latest sample skin as a base to make sure I can see all the possible elements. And I've seen the same issue on popular skins which use alternate rows colors.

If a mod sees this, please move the topic to Bug Reports.

Thank you.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35002

Haste

  • Jr. Member
  • **
  • Posts: 90
Unless I'm missing something here, the behavior is not consistent.

According to https://getmusicbee.com/forum/?action=search2

Quote
<element id="Content[AlbumAndTracks].GridTrackSplitterLine" bg="xxx,xxx,xxx" />
the track splitter line is only used if there are no alternating row colours set (or the same)

From trial and error, I found that the splitter lines do still appear even if there are alternating row colors set. (and that they render using the color set for the alternating row)

But if you comment out the corresponding splitter line element, then they aren't rendered.

For tracks that means commenting out:
Code
"Content[TrackDetail].ItemSeparatorLine"
For Now playing tracks it's
Code
"NowPlayingList[TrackDetail].ItemSeparatorLine"
And for Album and Tracks it's
Code
 "Content[AlbumAndTracks].ItemSeparatorLine"

Except for Compact Grid view where they render even if you comment out
Code
"Content[AlbumAndTracks].GridTrackSplitterLine"

Surely this isn't intended behavior.

And the problem affects even the most polished skins, with for example Centrol being affected: