"Type Ahead Find" bug for RTL texts

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
amirvf
Posts: 133
Joined: 18 Oct 2020 00:46

"Type Ahead Find" bug for RTL texts

Post by amirvf »

Hi,

I have many file/folders which include names only in Persian Language which is in RTL format.
When I want to use "Type Ahead Find" in such file/folders, the written text which is shown in yellow background, is aligned to the left of the file/folder name, which is not compatible with the present file/folder name. In such scenarios, the written text should be shown in yellow background and aligned to the right side of the file/folder name, which is the beginning of the text in RTL languages.

I have shown the bug in the following snapshot.
RTL Bug.jpg
Regards,
Amir
To see the attached files, you need to log into the forum.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

admin wrote: ↑31 Jan 2018 11:29 Oh yes, confirmed. That's tough to fix. I will add the "Highlight matches" option.
viewtopic.php?p=155844#p155844

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Can you give me some of those folder names and the typed letter as text, please. (I cannot type Arabic here, just copy and paste.)

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

a simple word to test محبوب
the typed letter: م
highlight should be like this
hil.png
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Not easy because not only is the direction reversed but the width of each character varies depending on the context. The next beta should be better, but it's not perfect yet.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

text unreadable after the new changes
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Damn, I forgot about dark mode. Next beta will try a new strategy.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

since fix is not possible at the moment, can we disable highlighting for right-to-left language?

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

:? It's fixed in v22.60.0205 - 2021-12-30 17:38

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

not fixed, sorry to tell that.
highlighted letters jumps over the other word الفيلم العربي- الجسر في
v22.60.0205 .png
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Oh, that's a new type of problem. Man, Arabic is full of surprises. Should work better in next beta.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

I believe fix is close, the only thing that delays it is lack of knowledge of characteristics of the this text

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Well, not so close. The whole thing is full of trouble. :maf: See e.g.:
https://opensource.com/life/16/3/twiste ... ge-support

Since it also takes time I might make it optional in the next version.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: "Type Ahead Find" bug for RTL texts

Post by yusef88 »

RTLHighlightSupport=0 is '0' supposed to disable highlighting? still working after change value to 0.
seems that tweak changes the way highlighting handles RTL text

admin
Site Admin
Posts: 67240
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Type Ahead Find" bug for RTL texts

Post by admin »

Yes, RTLHighlightSupport=0 goes back to the state before this thread.

Post Reply