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

            Bug ID: 528545
           Summary: RTL: Text content shifted one column right in
                    QTreeView
    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 198232
  --> https://bugs.kde.org/attachment.cgi?id=198232&action=edit
Reproducer

DESCRIPTION
When using Union's Widgets Style on a QTreeView that has RightToLeft layout
direction, the display role text of cells (but not decoration role) gets
shifted one column to the right. Particularly, the first column's text collides
with the space intended for the disclosure indicators and leading indentation.

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
Each tree view cell's text is painted inside the intended rectangle

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

ADDITIONAL INFORMATION
Ignore direction issues in the cell content itself, they are not relevant to
Union.

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

Reply via email to