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

QColorDialog wrongly exposes pickable region when translated

    XMLWordPrintable

Details

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

    Description

      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. 

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes