Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105476

QColorDialog wrongly exposes pickable region when translated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.4
    • None
    • Debian testing, but other platforms seem to be affected as well (user feedback)
    • Linux/Wayland

      Note: bug not apparent in C/English locale.

      When translated (German translation is a good example), the QColorDialog widens due to  longer button labels. That exposes a region in the middle of the dialog (between predefined colors and the color picker) that is click sensitive but shouldn't be, screwing up color settings if the user clicks on it inadvertently.

      Please find attached a pyside2 script that sets wide button texts to expose the bug (note that this doesn't make this a pyside related bug, just meant for the ease of verification without locale dependency) and a screenshot where the erroneous click-sensitive region is marked in red. 

        1. qcolordialog.py
          0.3 kB
          Markus Fröschle
        2. qcolordialog.png
          38 kB
          Markus Fröschle
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mfro Markus Fröschle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes