Bug 189994

Summary: tree widget rtl bidi problem
Product: [Frameworks and Libraries] kdelibs Reporter: alsadi <alsadi>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ebrahim, elcuco, peter.penz19, rdieter, sh.yaron, zayed.alsaidi
Priority: NOR Keywords: rtl
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: designer-qt4 tree appears correctly in rtl locales
konq, dolph, khelpconter have rtl problelms
Hebrew Dolphin showing the correct tree
Hebrew system settings looking good
KHelp Center seems correct
Open Dialog in RTL mode showing Tree View in RtL mode

Description alsadi 2009-04-18 21:03:37 UTC
Version:           4.2.1 (using KDE 4.2.1)
OS:                Linux
Installed from:    Fedora RPMs

the lines of a tree in many kde applications (like khelpcenter) are drawn on left even in RTL languages, tree

this screenshot shows khelpcenter in RTL locale (LC_ALL=ar.EG.UTF-8)
http://www.linuxac.org/forum/attachments/forum2/6236d1235215093-caoine-uai-caiocn.png

notice the lines connecting the tree nodes

compare it to the attached screenshot of a tree in designer-qt4
where things appear correctly
Comment 1 alsadi 2009-04-18 21:04:29 UTC
Created attachment 32918 [details]
designer-qt4 tree appears correctly in rtl locales
Comment 2 alsadi 2009-04-19 22:30:42 UTC
Created attachment 32941 [details]
konq, dolph, khelpconter have rtl problelms

notice that okular does not have those problems
Comment 3 Zayed Al-Saidi 2009-06-22 19:49:24 UTC
I think we should report this bug for each program that has it. This bug exist only in three program (even new kcontrol does not have it).

what do you think ?
Comment 4 Zayed Al-Saidi 2009-07-24 20:35:09 UTC
I find that Knode is also suffering from this bug.
Comment 5 Diego Iastrubni 2009-09-04 23:13:29 UTC
Left overs from KDE3.

These applications are not using the Qt4 widgets, but ones from qt3support.
Comment 6 Zayed Al-Saidi 2009-11-01 16:52:05 UTC
@ Diego

Do you suggest to open a bug report to each application? 

By the way, kwallet suffer from this also.
Comment 7 alsadi 2009-11-07 17:13:41 UTC
why this bug is still UNCONFIRMED ?
the bug is reproducible in all mentioned apps, and in a systematic way.
Comment 8 Yaron Shahrabani 2022-10-03 07:02:21 UTC
Created attachment 152553 [details]
Hebrew Dolphin showing the correct tree

Dolphin seems OK now.
Comment 9 Yaron Shahrabani 2022-10-03 07:05:51 UTC
Created attachment 152554 [details]
Hebrew system settings looking good
Comment 10 Yaron Shahrabani 2022-10-03 07:06:13 UTC
Created attachment 152555 [details]
KHelp Center seems correct
Comment 11 Zayed Al-Saidi 2022-10-03 07:12:27 UTC
(In reply to Yaron Shahrabani from comment #8)
> Created attachment 152553 [details]
> Hebrew Dolphin showing the correct tree
> 
> Dolphin seems OK now.

Partially, OK. Please see this:
https://bugs.kde.org/show_bug.cgi?id=449211
Comment 12 Yaron Shahrabani 2022-10-03 08:04:02 UTC
(In reply to Zayed Al-Saidi from comment #11)
> (In reply to Yaron Shahrabani from comment #8)
> > Created attachment 152553 [details]
> > Hebrew Dolphin showing the correct tree
> > 
> > Dolphin seems OK now.
> 
> Partially, OK. Please see this:
> https://bugs.kde.org/show_bug.cgi?id=449211

You can also see that in my screenshot: https://bugsfiles.kde.org/attachment.cgi?id=152553

But is it related?
Are these exactly the same tree component or do we need to open another bug specifically in Dolphin and close this one?
Comment 13 Zayed Al-Saidi 2022-10-03 14:58:29 UTC
(In reply to Yaron Shahrabani from comment #12)
> (In reply to Zayed Al-Saidi from comment #11)
> > (In reply to Yaron Shahrabani from comment #8)
> > > Created attachment 152553 [details]
> > > Hebrew Dolphin showing the correct tree
> > > 
> > > Dolphin seems OK now.
> > 
> > Partially, OK. Please see this:
> > https://bugs.kde.org/show_bug.cgi?id=449211
> 
> You can also see that in my screenshot:
> https://bugsfiles.kde.org/attachment.cgi?id=152553
> 
> But is it related?
> Are these exactly the same tree component or do we need to open another bug
> specifically in Dolphin and close this one?
Dolphin is using a custom widget (i.e. KStandardItemListWidget), so it is not related anymore to kdeui. 

However, the issue is still existing in KDE open/save dialog.
Comment 14 Yaron Shahrabani 2022-10-03 17:25:54 UTC
(In reply to Zayed Al-Saidi from comment #13)
> (In reply to Yaron Shahrabani from comment #12)
> > (In reply to Zayed Al-Saidi from comment #11)
> > > (In reply to Yaron Shahrabani from comment #8)
> > > > Created attachment 152553 [details]
> > > > Hebrew Dolphin showing the correct tree
> > > > 
> > > > Dolphin seems OK now.
> > > 
> > > Partially, OK. Please see this:
> > > https://bugs.kde.org/show_bug.cgi?id=449211
> > 
> > You can also see that in my screenshot:
> > https://bugsfiles.kde.org/attachment.cgi?id=152553
> > 
> > But is it related?
> > Are these exactly the same tree component or do we need to open another bug
> > specifically in Dolphin and close this one?
> Dolphin is using a custom widget (i.e. KStandardItemListWidget), so it is
> not related anymore to kdeui. 
> 
> However, the issue is still existing in KDE open/save dialog.

This is the same element? Can you please attach a screenshot?
Comment 15 Zayed Al-Saidi 2022-10-03 18:43:54 UTC
Created attachment 152569 [details]
Open Dialog in RTL mode showing Tree View in RtL mode
Comment 16 Yaron Shahrabani 2022-10-03 18:54:01 UTC
(In reply to Zayed Al-Saidi from comment #15)
> Created attachment 152569 [details]
> Open Dialog in RTL mode showing Tree View in RtL mode

Thank you so much for this.
I'm still not convinced it's the same widget, wouldn't it be better to open another bug in addition to the one you've already opened for Dolphin about this?

Thank you so much! I truly appreciate your help.
Comment 17 Zayed Al-Saidi 2022-10-03 19:20:06 UTC
(In reply to Yaron Shahrabani from comment #16)
> (In reply to Zayed Al-Saidi from comment #15)
> > Created attachment 152569 [details]
> > Open Dialog in RTL mode showing Tree View in RtL mode
> 
> Thank you so much for this.
> I'm still not convinced it's the same widget, wouldn't it be better to open
> another bug in addition to the one you've already opened for Dolphin about
> this?
> 
> Thank you so much! I truly appreciate your help.

Done. See this:
https://bugs.kde.org/show_bug.cgi?id=459950