[bug or feature?] path field and hiding cursor

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

[bug or feature?] path field and hiding cursor

Post by *StickyNomad »

When I edit the path box above the file list (by slow-doublelicking it or with 'cm_editpath') and cancel this operation with ESC, the path field loses its focus as expected, but the cursor is not shown again in the file list. I have to hit ESC once more to have the cursor reappear.

I did some complex calculations and those brought me to a total of approximately two Keypresses, where one should suffice :wink:

when I press ENTER once after 'cm_editpath', the cursor is shown immediately. Is the differing ESC-behaviour by design?
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hmm, confirmed, XP SP2... I wonder where the focus after the first Esc goes...

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
CoMiKe
Senior Member
Senior Member
Posts: 285
Joined: 2003-05-05, 17:45 UTC
Location: Salamanca, Spain

Post by *CoMiKe »

Hacker wrote:Hmm, confirmed, XP SP2... I wonder where the focus after the first Esc goes...
Well, if you press any cursor key just after the first ESC keypress, you will see the focus goes to the drive combobox (at least with my TC configuration).
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

CoMiKe wrote:Well, if you press any cursor key just after the first ESC keypress, you will see the focus goes to the drive combobox (at least with my TC configuration).
Well, I have it disabled. :)

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
CoMiKe
Senior Member
Senior Member
Posts: 285
Joined: 2003-05-05, 17:45 UTC
Location: Salamanca, Spain

Post by *CoMiKe »

I supposed it ;). Otherwise, you wouldn't have any problem to find it, as I did.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

CoMiKe wrote:
Hacker wrote:Hmm, confirmed, XP SP2... I wonder where the focus after the first Esc goes...
Well, if you press any cursor key just after the first ESC keypress, you will see the focus goes to the drive combobox (at least with my TC configuration).
I'd confirm this bug but its not possible to see where the focus goes as its are not the drive comboboxes which are both enabled...
Hoecker sie sind raus!
User avatar
Clas Hortien
Member
Member
Posts: 198
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

Not only that you can't see the focus, you can lure it out by pressing ALT, bringing the focus to the menu. Pressing ALT again, you can send it back to what ever it will go to :?: .
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

First: Confirmed.

2. In my normal configuration I cannot see where the focus goes to.
But If I start TC with a fresh ini (/i=.\test.ini) It happens as comike described before:
With pressing the cursor keys I change the letter in the drive combo box.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Wow, Partner,

I completely forgot about this.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, please read especially my reply here:
http://ghisler.ch/board/viewtopic.php?p=30172#30172
Author of Total Commander
https://www.ghisler.com
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2ghisler(Author)
Could you please answer my second question then?
"So then how does the focus come back on the listbox at the second Esc?"
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

So then how does the focus come back on the listbox at the second Esc?
TC sets the cursor explicitly to the listbox when you press ESC. This is standard behaviour: ESC clears the command line and sets the cursor to the current list. The only exception is the path edit box - here I had to ignore the ESC to avoid this strange XP crash...
Author of Total Commander
https://www.ghisler.com
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2ghisler(Author)
Oh I see! Thanks, interesting problem...
I switched to Linux, bye and thanks for all the fish!
Post Reply