Bug 449211 - Detail View mode doesn't support RTL properly
Summary: Detail View mode doesn't support RTL properly
Status: REOPENED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2022-01-26 18:34 UTC by Zayed Al-Saidi
Modified: 2022-10-03 08:05 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Wrong layout of the tree in RTL mode (192.10 KB, image/png)
2022-01-26 18:34 UTC, Zayed Al-Saidi
Details
Correct standard QTreeWidget with Qt::RightToLeft (11.05 KB, image/png)
2022-01-26 18:35 UTC, Zayed Al-Saidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zayed Al-Saidi 2022-01-26 18:34:08 UTC
Created attachment 145968 [details]
Wrong layout of the tree in RTL mode

SUMMARY
***
the layout of Detail view mode with RTL mode is wrong. The the tree must be on the right side.
***


STEPS TO REPRODUCE
1. run dolphin  -reverse 
2. 
3. 

OBSERVED RESULT
the tree is set to be on the left side. 

EXPECTED RESULT
the tree must be in the right side, please see the standard QTreeWidget with Qt::RightToLeft property in the second screenshot.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 3 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 4.9 غ.بايت of RAM
Graphics Processor: llvmpipe 

ADDITIONAL INFORMATION
Comment 1 Zayed Al-Saidi 2022-01-26 18:35:21 UTC
Created attachment 145970 [details]
Correct standard QTreeWidget with Qt::RightToLeft
Comment 2 Bug Janitor Service 2022-02-02 01:20:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/339
Comment 3 Janet Blackquill 2022-02-25 16:35:18 UTC
Git commit ddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a by Janet Blackquill.
Committed on 25/02/2022 at 16:35.
Pushed by cblack into branch 'master'.

KStandardItemListWidget: handle RtL drawing properly

M  +65   -16   src/kitemviews/kstandarditemlistwidget.cpp

https://invent.kde.org/system/dolphin/commit/ddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a
Comment 4 Felix Ernst 2022-04-04 12:15:46 UTC
Re-opening this since the commit used to mark this bug report as resolved caused a bunch of regressions and had to be reverted in https://invent.kde.org/system/dolphin/-/commit/a4f9974daf1e533c39f67129b85193ad4d47e5ad.