[8.0ß24 x64] RTF files lose their styling when wrapped
Moderators: Hacker, petermad, Stefan2, white
[8.0ß24 x64] RTF files lose their styling when wrapped
TCx64 has a problem with RTF files - when you enable wrapping, the text will lose its formatting (as if it was just a simple text file). You have to change Lister into some other mode and then back to multimedia to show the formatting again.
Windows 10 Pro x64, Windows 11 Pro x64
Hello, umbra.
Take e.g. the Register.rtf file in the T.C. programme folder. It is a valid RTF file. Display it in T.C. lister and make the lister window small enough that lines will be wrapped. Now switch on and off wrapping as long as you like. Nothing bad is going to happen.
The error which you report happens with corrupted or invalid RTF files. I.e the problem is that T.C. is persuaded to easily to accept a file as an RTF file without noticing that is not a valid RTF file. Cf. the other thread, please: Lister bug with RTF files. Other programmes like e.g. Word 2010 or Textmaker 2012 will refuse to open and display such a file.
Kind regards,
Karl
Take e.g. the Register.rtf file in the T.C. programme folder. It is a valid RTF file. Display it in T.C. lister and make the lister window small enough that lines will be wrapped. Now switch on and off wrapping as long as you like. Nothing bad is going to happen.
The error which you report happens with corrupted or invalid RTF files. I.e the problem is that T.C. is persuaded to easily to accept a file as an RTF file without noticing that is not a valid RTF file. Cf. the other thread, please: Lister bug with RTF files. Other programmes like e.g. Word 2010 or Textmaker 2012 will refuse to open and display such a file.
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
2karlchen
I'm not sure what you are talking about. I created this bug report, because I noticed this bug while I was reading tbeu's post in the thread you are reffering to (my post is right under his).
BTW, if you did not understand description of this bug, here is a video.
I'm not sure what you are talking about. I created this bug report, because I noticed this bug while I was reading tbeu's post in the thread you are reffering to (my post is right under his).
BTW, if you did not understand description of this bug, here is a video.
Windows 10 Pro x64, Windows 11 Pro x64
Oh, I see. So far I have checked the behaviour of 32-bit lister only, 7.56a, 7.57a and 8.0ß24 32-bit.
Might be specific to 64-bit T.C. lister. Will check...
So, yes, you are talking about a different problem: your RTF file is valid and T.C. lister stops displaying the formatting correctly.
--
OK, you are right. The problem which your video illustrates can be reproduced using T.C. 8.0ß24 64-bit only. Important part 64-bit. The 32-bit version does not exhibit this flaw.
Karl
Might be specific to 64-bit T.C. lister. Will check...
So, yes, you are talking about a different problem: your RTF file is valid and T.C. lister stops displaying the formatting correctly.
--
OK, you are right. The problem which your video illustrates can be reproduced using T.C. 8.0ß24 64-bit only. Important part 64-bit. The 32-bit version does not exhibit this flaw.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
I can confirm the bug. I even checked 8.0 beta 2 which behaves the same as beta 24.
Just to make sure it isn't missed:
Regards
Dalai
Just to make sure it isn't missed:
Confirmed.karlchen wrote:Important part 64-bit. The 32-bit version does not exhibit this flaw.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Looks like a bug of the Lazarus RTF control. 
I will check whether I can find a workaround, but don't have very high hopes.

I will check whether I can find a workaround, but don't have very high hopes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Fix in Total Commander 8.0ß25 64-bit confirmed.
Karl
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks!
Btw, it's not a Lazarus fault this time, because Lazarus doesn't even have any RTF control! I had to write my own, and didn't consider the case where the Window control has to be recreated.
Btw, it's not a Lazarus fault this time, because Lazarus doesn't even have any RTF control! I had to write my own, and didn't consider the case where the Window control has to be recreated.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com