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

            Bug ID: 528549
           Summary: RTL: Selected row highlight in QTreeView is broken
    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 198237
  --> https://bugs.kde.org/attachment.cgi?id=198237&action=edit
Reproducer

DESCRIPTION
When using Union's Widgets Style on a QTreeView that has RightToLeft layout
direction and whose selectionBehavior property is
`QAbstractItemView::SelectRows`, the highlight drawn on a selected row has
obvious visual glitches.

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.
3. Expand the root element and select a row.

OBSERVED RESULT
The rounded part of the rounded rectangle used to highlight whole rows in
painted in the wrong side (the "inner" side) of the first and last cells,
leading to a noticeable discontinuity effect.

EXPECTED RESULT
One smooth rounded rectangle, as in the original Breeze style.

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