[BETA] Problems with copying text from lister

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you please give me some hints on how to reproduce this? I did the same as in beta 3 (as shown in the above video), but the bug no longer happens here. Please help!
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13070
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
It seems the bug only occurs when selecting text not on the first line.

Also, maybe it's easier to select the text from right to left (so your selection "ends" at the beginning of the line, not "starts").
short video (RAR, 28KB)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Hard---

Post by *Clo »

2ghisler(Author)

:) Good afternoon,

- I could reproduce that bug copying from an ANSI *.CSS text file, like you can see on this video.

- It occurs for me only when I select some empty space -I mean : when the text does not start at the very beginning of the line- or else, it doesn't.
Note : All is in French {including DemoStudio recorder :P } but it's obvious for everybody anyway… XP-Pro SP1.
- Hoping this helps,

:mrgreen: m.g.G.
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks very much for the videos! This is a completely unrelated problem to the one in the first line! What happens is the following: Lister notices that the copied text starts with 0x10 (linefeed), and moves the string one character to the left. Then it replaces the additional character by a 0x0. But before copying the string to the clipboard, all #0 are replaced by spaces (e.g. for copying from binary files), so the result is a trailing space...

Please contact me by e-mail if you want a test version which fixes the problem.
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

OK !

Post by *Clo »

2ghisler(Author)

:) Thank you !

- I got the fixed version, it works normally now.
- I performed exactly the same test several times, selecting from left to right and the opposite, no problem, no longer any extra-space forward the last pasted character…

:mrgreen: m.f.G.
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
petermad
Power Member
Power Member
Posts: 14814
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I have tested it with several plain text files - and no, it is not beacuse I copy a new line character - it happens if I copy only a part of a line starting from the left margin.

And yes I am running TC6.54 pb4 on Win XP SP2
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks very much! The release of TC 6.54 final is still planned for later this week...
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2petermad

:) Hello Peter !

• Odd, because here in the case you quote, it works perfectly too…

:mrgreen: Friendly,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2petermad
If you select more to the left than the first character, this copies the end of the CRLF character (which is later removed, but causes the buffer to be 1 byte too large).
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13070
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
I sent you a mail regarding the test version to beta - ghisler com from my address thehacker - azet sk, but haven't received a reply. Did you get the mail? If not, could you please send me the test version or a link to it?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48096
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hi Roman,

I sent you an e-mail at 16:34 CET, didn't you receive it? I was away for an hour.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13070
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
OK, the mail just arrived, thanks.

Fixed in 6.54pb4a. :)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply