swingx
  1. swingx
  2. SWINGX-1381

JXComboBox with Highlighters: visual problems if not editable

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.6.6
    • Component/s: Highlighter
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,381

      Description

      problem is that the highlighter by default decorates the current (selected) item as well
      as the items in the list. That produces visual artefacts in all LAFs (see JXComboBoxIssues,
      has Highlighter with striping)
      Metal: striping background is shown if not-focused, "normal" background still visible
      in a border region above/below the text
      Windows/Nimbus: highlighter disables the LAF painter (not surprisingly
      Motif: text not shown at all

      These issues may or may not be acceptable in client apps - but must not be the default.
      Fix is to change the default value of useHighlighterForCurrentValue to false. Alternatively,
      might make the LAF (via the corresponding Addon as long as we don't have a full-fledged
      xui-delegates) responsible to set it (with the usual problems of marking a boolean as
      LAF installed ..)

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Karl Schaefer
              Reporter:
              kleopatra
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: