Focus problem

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sekular
Member
Member
Posts: 104
Joined: 2009-07-02, 19:39 UTC

Focus problem

Post by *sekular »

Using tc 8 beta 20 x64.

Summary. Focus of cursor jumps to incorrect panel.

How to recreate:
-Slow double click on a file until the filename is editable.
-with the filename still editable, click the opposite panel to the panel where the file resides.

What happens: The cursor jumps to the panel where the filename is being renamed.

What should happen: the cursor should remain on the panel and location of where you clicked when disabling the filename rename option.

I have the inactive cursor option enabled and i think this might be causing the problem.

I have tried it in tc 8 beta 20 32bit with default configuration and the cursor does not jump to the incorrect panel.


How this would affect use of the application.

When clicking on the file or folder to copy the folder name, slow double click, ctrl+c. click the opposite panel and press f7 to create a new folder and paste to make the folder. Unfortunately the click the opposite panel reverts the cursor back to the incorrect side and i get the prompt that the folder already exists and i have to press tab and then f7 to switch panels.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

It only happens with the x64 version of TC.
sekular
Member
Member
Posts: 104
Joined: 2009-07-02, 19:39 UTC

Post by *sekular »

Is this an already known issue? sorry if it is.

Does it happen even if the non active cursor option is not in use?
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Confirmed in TC8.0 x64 beta 21 with clean ini. TC x32 not affected.
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
sztihamer
Member
Member
Posts: 117
Joined: 2012-01-31, 17:46 UTC

Post by *sztihamer »

I can also confirm this glitch in Total Commander 8.0ß21 64bit. The bug is reproducible even if you edit the file name and click on the second pane. The rename process normally would cancel and jump the cursor to the second pane but it just pops back to the current one that you are using.

The 32bit version it's clean, and it works the way it should be.

Made a short little screen recording demonstrating the bug.
Link: http://screenr.com/96T8
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, there is currently nothing I can do about it. I have to set the cursor, otherwise TC would crash when the edit box is hidden. It's not easy to fix because the user may leave the edit box in many ways...
Author of Total Commander
https://www.ghisler.com
User avatar
sztihamer
Member
Member
Posts: 117
Joined: 2012-01-31, 17:46 UTC

Post by *sztihamer »

In comparison here's a demonstration of the same procedure on the 32bit version... Stock .ini files and nothing else. This is the right behavior that the 64bit version should do. As soon as you click away into the second pane the cursor stays on the that one and didn't jump back to the same one.

For comparison here are the two versions, both 32 and 64bit.

32bit: http://www.screenr.com/5QT8
64bit: http://www.screenr.com/96T8
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I was using the same code in 32-bit and 64-bit, and it caused a crash in 64-bit only - so I had to change it. Maybe I can find a different solution, but I cannot promise anything.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It is actually anything that you might click on while in inline edit mode - for example command line or drive combo box - the the focus is returned to the filename after a tiny delay.
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
sztihamer
Member
Member
Posts: 117
Joined: 2012-01-31, 17:46 UTC

Post by *sztihamer »

I can confirm that it's fixed in n Total Commander 8.0ß22 64bit. It works just like in the 32bit version. It doesn't crash, so I think this feature it's working perfectly as expected
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! Can anyone else confirm it too, please?
Author of Total Commander
https://www.ghisler.com
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Confirmed. I can no longer reproduce this issue in beta 22.
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b22 x64 :-)
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: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply