Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Text is shifted when selecting in Lister

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 2868
Location: Moscow, Russia

PostPosted: Tue Jul 10, 2007 2:41 am    Post subject: Text is shifted when selecting in Lister Reply with quote

On the Russian forum there were two reports which I suppose are related.

Here is the video and two images:
Image1
Image2

The problem is caused by Russian letter "я" (ANSI charcode 0xFF, Unicode: 0x044F, UTF-8: 0xD1 0x8F). The more letters "я" in the text, the larger is displacement of the text being selected.

Here is the sample text file.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 8.01 / Win7 x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24702
Location: Switzerland

PostPosted: Thu Jul 12, 2007 1:08 pm    Post subject: Reply with quote

No problem here, I tried with "Arial" font and Russian script set for "variable" character width.

I assume that the used font is reporting a wrong character width for that character.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 2868
Location: Moscow, Russia

PostPosted: Fri Jul 13, 2007 8:19 am    Post subject: Reply with quote

Here it is reproduceable with default settings (Fixedsys, regular, 10). The file should be viewed with ANSI font.

ghisler(Author) wrote:
I assume that the used font is reporting a wrong character width for that character.

This can hardly be. If I convert this file from UTF-8 into ANSI and view with absolutely the same font (in the same ANSI mode), selection works correctly.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 8.01 / Win7 x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24702
Location: Switzerland

PostPosted: Mon Jul 16, 2007 9:04 am    Post subject: Reply with quote

I can't test this with Fixedsys right now, it doesn't support Russian here. I will try later on a different Windows installation.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24702
Location: Switzerland

PostPosted: Fri Sep 07, 2007 2:33 am    Post subject: Reply with quote

I have tested this in Windows XP with Russian locale and fixedsys font. However, there was no error, the text was selected exactly as it should. I'm sorry but I cannot fix this error, since I cannot reproduce it.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 2868
Location: Moscow, Russia

PostPosted: Fri Sep 07, 2007 5:07 am    Post subject: Reply with quote

That's a pity... Sad

I have installed on VMware a new, clean WinXP SP2 eng, customized all its regional settings to Russian and the problem is clearly reproduced.

Please, could you check once more? All settings should be set, that is:
Regional options tab:
Standards and formats: Russian
Location: Russia
Advanced tab:
Language for non-Unicode programs: Russian

With these settings and with clean, completely default TC installation (empty INI) the problem is still reproducable.

BTW, the selection itself should be performed from right to left! Else this text shifting becomes invisible.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 8.01 / Win7 x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 2868
Location: Moscow, Russia

PostPosted: Fri Apr 25, 2008 6:26 am    Post subject: Reply with quote

Fixed in 7.03.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 8.01 / Win7 x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group