[bug] Lister: change encoding of search string

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

[bug] Lister: change encoding of search string

Post by *DrShark »

File encoding and lister mode - ASCII.
lister1.jpg - original search string in Ctrl+F dialog.

1) if to press OK and repeat F3 unti the end of file msgbox "Not found" (lister2_ok_f3_f3_msgbox.jpg) will appear.
Press again Ctrl+F and it will show original search string (see lister1.jpg).

2) however if to press ok, F3 and ctrl+F, search string will be converted:
lister2_ok_f3_ctrlF.jpg

Screenshots: http://rapidshare.de/files/46810252/screens.zip.html
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I still cannot reproduce it, the search string remains exactly the same. :(

Here is what I tried
1. View file with F3
2. Switch to Ascii mode (press 'S')
3. Press Ctrl+F
4. Type some search string containing accents present in text
5. Enter to search
6. F3 to repeat until error
7. Ctrl+F -> original search string shown

What am I doing wrong?
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

What am I doing wrong?
6. F3 to repeat until error
7. Ctrl+F -> original search string shown
You don't have to press F3 until the error, just press F3 once and then Ctrl+F (as described in 2) of my first post).

Also maybe this is related only to cyrillic chars...
I hope somebody with Russian Windows will confirm the bug...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

I confirm this. Tried with exactly this text on russian WinXP SP3 .
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will have to try this with Russian locale settings.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could confirm the problem now. The point isn't the repeated search - it's the SELECTION of text. TC 7.5 now uses the selected text for the search when you press Ctrl+F. This text was incorrectly taken when in ASCII view mode.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Fixed in 7.5 pb2.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply