When I type into various textboxes (krunner, konqueror location bar, etc etc) in an RTL language (Hebrew), the first 1-2 letters are hidden by the "clear" button. The text should start take to account the necessary margin. Screenshot attached. Reproducible: Always It seems there have been some attempts to resolve this, but they don't really work, and lead to inconsistent behaviour. For example, in Konqueror, when I click on the menu bar, delete everything, and then *paste* hebrew text, then it is displayed RTL but with a margin so it's not under the "clear" button. If however I *type* text, it goes under the clear button. Also, sometimes I type in English, but for some reason there is unexplained margin on the left side of the textbox (as if someone tried to workaround this issue), but a "clear" button isn't actually shown. Later a clear button might be shown on the left side, even though I'm typing in English so it should be on the right side (and then the english text is hidden!). Bottom line - something is very wrong with the way RTL text input is handled.
Hi Josh Just to make sure. Can you double-check that it does not happen with another widget style (e.g. plastique, or skulpture) ? my way of testing right-to-left layout so far has been with "oxygen-demo" (from terminal) and checking the right-to-left checkbox at the bottom. From here, I do see issue, but they are identical whether I use oxygen or any other widget style. ... which would in turn mean that the bug is upstream (KLineEdit, or Qt). So the about double-check would really be usefull before I start investigating further. Thanks, Hugo
You're right, it does happen on other engines too. Can you recommend a place to report it?
Reassigned to kdelibs (since ktextedit is part of kdeui)
Should be checked whether this is still valid in KF5 where this feature has been moved to Qt upstream.
*** This bug has been marked as a duplicate of bug 284072 ***