Summary: | clear text icon "X>" is hiding Hebrew text in RTL mode | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Nadav Kavalerchik <nadavkav> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | afief.h, cfeck, josh+tech, kde-2011.08, med.medin.2014, omeritzicschwartz, sh.yaron |
Priority: | NOR | Keywords: | rtl |
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/7e663c8d11c306dffbf7e9ba32744a94f1e4bed9 | Version Fixed In: | 4.11 |
Sentry Crash Report: | |||
Attachments: |
Hebrew text is covered with "Clear Text" icon
RTL and clear icon Okular automatic RTL and LTR |
Description
Nadav Kavalerchik
2011-10-15 11:01:58 UTC
Created attachment 64537 [details]
Hebrew text is covered with "Clear Text" icon
Screen capture of this issue
Affects Arabic text too. From reading the code of KLineEdit it seems that when the text alignment is automatically changed(by entering RTL text such as Hebrew or Arabic) the function updateClearButton is not called. I'm running KDE 4.10.2, the bug is especially annoying when searching for non-latin contacts in a contact list. Ah, you mean KDE is not set to RTL mode by default, but the widget only temporarily switches when RTL characters are entered? Yes *** Bug 322456 has been marked as a duplicate of this bug. *** Git commit 7e663c8d11c306dffbf7e9ba32744a94f1e4bed9 by Christoph Feck. Committed on 23/07/2013 at 11:30. Pushed by cfeck into branch 'KDE/4.11'. Update clear button position on layout direction changes FIXED-IN: 4.11 M +4 -0 kdeui/widgets/klineedit.cpp http://commits.kde.org/kdelibs/7e663c8d11c306dffbf7e9ba32744a94f1e4bed9 *** Bug 280567 has been marked as a duplicate of this bug. *** *** Bug 279052 has been marked as a duplicate of this bug. *** Thank you for the fix, Chris! The problem is still persistent on Plasma 5.20.2 Created attachment 133377 [details]
RTL and clear icon
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.4.74-1-MANJARO
OS Type: 64-bit
This problem seems to be fixed on Plasms 5.21. (In reply to Omeritzics from comment #12) > This problem seems to be fixed on Plasms 5.21. Not completely resolved, it's just temporary (wrong) solution, the correct way RTL languages should be treated is to show clear icon at left and typing start from right, but now RTL are treated as LTR languages. The correct way to address this problem is to have the ability to change automatically the layout of textbox when focus is catched and according to current selected keyboard layout the layout of focused textbox will change to match RTL or LTR. It seems Okular (search) is the only that is implementing the correct solution, see attached video for more info. Created attachment 138775 [details]
Okular automatic RTL and LTR
Hi, kdelibs (version 4 and earlier) is no longer maintained since a few years. KDE Frameworks 5 or 6 might already have resolved this bug. If not, please re-open against the matching framework if feasible or against the application that shows the issue. We then can still dispatch it to the right Bugzilla product or component. Greetings Christoph Cullmann (In reply to Christoph Cullmann from comment #15) > Hi, > > kdelibs (version 4 and earlier) is no longer maintained since a few years. > > KDE Frameworks 5 or 6 might already have resolved this bug. > > If not, please re-open against the matching framework if feasible or against > the application that shows the issue. > > We then can still dispatch it to the right Bugzilla product or component. > > Greetings > Christoph Cullmann The clear icon is fixed for now on Plasma 6.1.5. There is still a problem with how the text is aligned when you switch to Ara/Heb layout then start typing RTL text inside Plasma launcher, KRunner... the text is left aligned. But other apps like Okular, Konsole... right align typed RTL text in serch fields. |