[9.50b3] Cursor is not redrawn on cm_GoToFirstFile when TC is inactive

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8412
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[9.50b3] Cursor is not redrawn on cm_GoToFirstFile when TC is inactive

Post by *MVV » 2019-11-05, 09:46 UTC

Try to execute cm_GoToFirstFile via WM_COPYDATA using e.g. TCFS2 from separate command prompt without activating TC window between commands:

Code: Select all

TCFS2.exe /ef tem(`em_GoToFirstFile 0`)
TCFS2.exe /ef tem(`cm_GoToFirstFile 1`)
TCFS2.exe /ef tem(`cm_GoToFirstFile 4`)
TCFS2.exe /ef tem(`cm_GoToFirstFile 5`)
TCFS2.exe /ef tem(`cm_GoToFirstFile 20`)
Notice that status bar is updated after each command but inactive cursor frame doesn't. Even more, if panel is scrolled a bit for displaying reguired file, second inactive cursor frame appears (old one around previous file and new one around newly focused file).
Last edited by MVV on 2019-11-05, 20:25 UTC, edited 1 time in total.

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

Re: [9.50b3] Cursor is not redrawn on cm_GoToFirstFile when TC is inactive

Post by *ghisler(Author) » 2019-11-05, 11:15 UTC

I get an error:

Code: Select all

---------------------------
TCFS2
---------------------------
Error:
Invalid function call

Apply command:
tem(`em_GoToFirstFile

Terminate process?
---------------------------
OK   Cancel
---------------------------
Do I need a library for the tem command?
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8412
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [9.50b3] Cursor is not redrawn on cm_GoToFirstFile when TC is inactive

Post by *MVV » 2019-11-05, 20:26 UTC

Maybe an old version? Seems that it missing support for `` quotes.

I've tried last public version 2.3.0.504 from totalcmd.net with TC 9.22a, and I can reproduce it:

Code: Select all

TCFS2.exe /ef tem(`cm_GoToFirstFile 4`)
PS. I use Windows 7 with classic theme if that matters.

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

Re: [9.50b3] Cursor is not redrawn on cm_GoToFirstFile when TC is inactive

Post by *ghisler(Author) » 2019-11-06, 17:32 UTC

Thanks, I had indeed installed an old version. I was able to fix it for both cm_GoToFirstFile and cm_GoToFirstEntry in beta 4. Please test.
Author of Total Commander
http://www.ghisler.com


Post Reply