Bug 291879

Summary: clear button in KLineEdit does not respect the RTL and LTR input
Product: [Frameworks and Libraries] kdelibs Reporter: Zayed Al-Saidi <zayed.alsaidi>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde-2011.08
Priority: NOR Keywords: rtl
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: clear button covers the inputs
clear button covers the inputs

Description Zayed Al-Saidi 2012-01-18 16:12:05 UTC
Created attachment 67970 [details]
clear button covers the inputs

Version:           4.7 (using KDE 4.7.4) 
OS:                Linux

As you know the QLineEdit will change it input direction as per the language which is being written independent of the interface. For example, I have full RTL environment, but when I put English input, QLineEdit will change it direction to be LTR which is great! 

Now KDE add clear button in KLineEdit. Clear button is fixed as per your general environment either RTL (i.e left) or LTR (i.e right). It does not respect the RTL and LTR input.

Reproducible: Always

Steps to Reproduce:
If you have LTR environment write this in any KLineEdit widget: تم
if you have RTL environment write this in any KLineEdit widget: ok

Actual Results:  
you can not see any of the input

Expected Results:  
the clear button should go to the opposite of input location.
Comment 1 Zayed Al-Saidi 2012-01-18 16:12:38 UTC
Created attachment 67971 [details]
clear button covers the inputs
Comment 2 Dotan Cohen 2012-01-18 19:21:43 UTC

*** This bug has been marked as a duplicate of bug 279052 ***