Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-375

Track selection is lost when changing color.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      Get a few tracks up on the screen. You don't even need to load data.
      Select a track.
      Change it's foreground color using the Annotationh panel.
      The track is no longer selected.
      The selection should be unaffected as much as possible, certainly through style changes.
      Selection is also lost by choosing a color scheme or changing the label foreground color.

        Attachments

          Issue Links

            Activity

            Hide
            elb Eric Blossom (Inactive) added a comment -

            Selection is actually still there, you just can't see it.
            The border which should be red upon selection is overwritten with the new foreground color.
            This makes it look like nothing is selected.
            BTW whatever is redrawing the foreground does not seem to be using the glyph's draw method.

            Show
            elb Eric Blossom (Inactive) added a comment - Selection is actually still there, you just can't see it. The border which should be red upon selection is overwritten with the new foreground color. This makes it look like nothing is selected. BTW whatever is redrawing the foreground does not seem to be using the glyph's draw method.
            Hide
            hiralv Hiral Vora (Inactive) added a comment -

            Fixed in r11719.

            Show
            hiralv Hiral Vora (Inactive) added a comment - Fixed in r11719.
            Hide
            elb Eric Blossom (Inactive) added a comment -

            Actually there are still a few issues.
            1. I don't think it is using the glyph's draw method. Otherwise, I could have fixed this quickly.
            2. The label outline (border) should not be the foreground color. It should be dark gray or black when not selected and red when selected. With the current scheme if you have some foregrounds set to red, how can you tell whether or not the track is selected?

            Show
            elb Eric Blossom (Inactive) added a comment - Actually there are still a few issues. 1. I don't think it is using the glyph's draw method. Otherwise, I could have fixed this quickly. 2. The label outline (border) should not be the foreground color. It should be dark gray or black when not selected and red when selected. With the current scheme if you have some foregrounds set to red, how can you tell whether or not the track is selected?
            Hide
            hiralv Hiral Vora (Inactive) added a comment -

            I think it is using draw method only. Check TierLabelGlyph.draw().

            Show
            hiralv Hiral Vora (Inactive) added a comment - I think it is using draw method only. Check TierLabelGlyph.draw().
            Hide
            elb Eric Blossom (Inactive) added a comment -

            Thanks. It is using TierLabelGlyph.draw now. I have made the border change.

            Show
            elb Eric Blossom (Inactive) added a comment - Thanks. It is using TierLabelGlyph.draw now. I have made the border change.
            Hide
            darius darius added a comment -

            Passed 7.0.0(11795)

            Show
            darius darius added a comment - Passed 7.0.0(11795)

              People

              • Assignee:
                Unassigned
                Reporter:
                elb Eric Blossom (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: