https://bugs.kde.org/show_bug.cgi?id=528508

            Bug ID: 528508
           Summary: RTL: Combobox indicator not drawn at correct place
    Classification: Frameworks and Libraries
           Product: Union
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: QtWidgets Output
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 198196
  --> https://bugs.kde.org/attachment.cgi?id=198196&action=edit
Reproducer

DESCRIPTION
When using Union's Widgets Style on a QComboBox (Editable or non-editable) that
has RightToLeft layout direction, the drop down indicator icon is still drawn
on the right, when they should be on the left of the control.

Especially note that for editable comboboxes, Qt has already reserved the
correct place for the indicator in the margin of the internal QLineEdit, but
Union leaves it empty and draws elsewhere. This is particularly problematic
since then long text runs over the indicator, and the place where the indicator
is drawn doesn't respond to mouse events and doesn't open the drop-down menu.

STEPS TO REPRODUCE
1. Use the attached reproducer program.
2. Use the --reverse command line argument or the "Toggle Direction" button to
place the program in RTL alignment.

OBSERVED RESULT
As described

EXPECTED RESULT
As described

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.8.2
KDE Frameworks Version: Union from recent master (8194ce1)
Qt Version: 6.12.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to