Page 2 of 3

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 11:38 UTC
by petermad
2Dalai
Well, the focus is in the drive combobox, not in any of the panels. That's normal TC behavior.
The focus only stays in the closed drive combobox if I click on the down-arrow at the right of the box twice - otherwise if I click on a drive in the combobox, the focus goes to the active file panel as soon as the drive combobox closes.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 11:52 UTC
by Dalai
2petermad
When the drive combobox is closed without selecting anything from the drop-down (i.e. changing the drive), it gets the focus. This not only happens when clicking on the down-arrow but the whole drive combobox (except the drive list drop-down).

2ldor
Do you change the drive via mouse or keyboard? Does the issue occur with both?

Regards
Dalai

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 13:19 UTC
by ldor
petermad wrote: 2020-08-12, 11:26 UTC Could you try and enable the drive button bar ("Configuration" -> "Options..." -> "Layout" -> "Show drive buttons") - and next time it happens then see if you can change the drive with the button.
I did that - yes, I can change the drive with the buttons even when I cannot change it using the combobox
petermad wrote: 2020-08-12, 11:26 UTC Also try and change the setting "Configuration" -> "Options..." -> "Operation" -> "Main program" -> "Always go to root when changing drives" to see if that makes a difference.
This did not help
petermad wrote: 2020-08-12, 11:26 UTC On you Screenshot you are using Brief View - does it also happen in Full View?
Full view did not help
petermad wrote: 2020-08-12, 11:26 UTC Whwn you install TC on a new computer, do you do it from scratch, or do you reuse the .ini files from another installation?
Last time I copied old BAR files so that I don't have to create the bars from scratch. But I did not copy the ini file. I don't remember how I installed it before, probably the same

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 14:10 UTC
by MVV
As I see on the screenshot, drive combobox has the focus but it is closed. If I click my drive combobox twice, I get the same situation: I see focus in combobox, I can scroll drives with arrow keys and panel stays unchanged, but if I press Enter, drive gets changed and focus returned to the panel, or if I click anywhere outside combobox with mouse, combobox returns to current drive. So the question is how do you get into such situation so often.

Please describe step by step what exactly you're doing.

Normal usage with mouse:
1. Click combobox once with left mouse button. Combobox gets opened.
2a. Click a drive with left mouse button to select a drive. Combobox is closed and drive gets changed.
2b. Click anywhere outside the combobox. Combobox is closed with no changes.

Normal usage with keyboard:
1. Press Alt+F1 to open combobox.
2. Select a drive with arrow keys.
3a. Press Enter to confirm. Combobox is closed and drive gets changed.
3b. Press Esc to cancel. Combobox is closed with no changes.

Also, do you use some nonstandard mouse driver or settings? Like focus on hover and open with single click etc.?

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 14:21 UTC
by Dalai
MVV wrote: 2020-08-12, 14:10 UTCNormal usage with keyboard:
1. Press Alt+F1 to open combobox.
2. Select a drive with arrow keys.
In step 2 one can also press the key of the drive one wants to change to, e.g. "e" key for drive E:, or "d" for drive D: and so on. (I've never used the arrow keys for this.)

Regards
Dalai

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 14:23 UTC
by MVV
You're right, it is faster, only two steps needed:
1. Press Alt+F1 to open combobox.
2. Press a key with desired drive's letter. Combobox is closed and drive gets changed.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 17:55 UTC
by petermad
2Dalai
2petermad
When the drive combobox is closed without selecting anything from the drop-down (i.e. changing the drive), it gets the focus. This not only happens when clicking on the down-arrow but the whole drive combobox (except the drive list drop-down).
Same here, but ldor says that he's problem occurs when he tries to change the drive from the combobox, so he must have clicked on a different drive in the list, and hence the focus should have gone to the file panel.

Same thing when using Alt+F1, no matter whether you use arrow-keys and Enter or just press the drive lette - in both cases the file panel gets focus.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 18:01 UTC
by Dalai
2petermad
True. Let's wait for ldor to reply with a (hopefully detailed) description on how the drive is changed, just as MVV suggested. Until then, it's more or less guesswork.

Regards
Dalai

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-12, 18:07 UTC
by petermad
2ldor
When it happens for you that the drive is not changed, and the closed drive combobox is in focus, like on your screenshot, try just to press Enter, to see if the drive then changes.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-13, 05:59 UTC
by ldor
MVV wrote: 2020-08-12, 14:10 UTC Normal usage with mouse:
1. Click combobox once with left mouse button. Combobox gets opened.
2a. Click a drive with left mouse button to select a drive. Combobox is closed and drive gets changed.
2b. Click anywhere outside the combobox. Combobox is closed with no changes.
I do it this way but the drive does not get changed (when this happens). Right now it is not happening, when it happens again I will try to press Enter to see if that helps.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-13, 09:00 UTC
by ghisler(Author)
Someone had this problem many years ago. It only happened when he used Alt+F1 and then pressed the drive letter. It didn't happen when he used Alt+F1, cursor keys, Enter to choose the drive.

The cause was a program which installed a system-wide keyboard hook for secure password entry. I don't remember what exactly, I think it was some kind of password manager. This program didn't correctly pass key presses to other apps, so the order in which key presses were sent changed. TC could no longer detect the press of the drive letter and failed to change drives.

Please check whether you have any such app installed on all affected PCs.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-13, 10:13 UTC
by Dalai
2ghisler(Author)
But ldor doesn't use the keyboard to change the drive but the mouse. Does it still apply then?

Regards
Dalai

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-13, 10:59 UTC
by ldor
Yes, I don't use the keyboard, I use the mouse. And I don't have any keyboard hook programs. More precisely, I cannot be sure about what our IT department installed on my work computer, but on the other two I don't have any such program and still get the issue.

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-13, 17:36 UTC
by gdpr deleted 6
Do you get similar issues with other comboboxes either in TC or in other programs (specifically such programs which use the native Windows controls), where you select a value in a combobox (using the same mouse input steps you are doing here) and the program seemingly fails to register the changed combobox value?

Re: Total commander does not change drive selected in the combobox in the upper left corner

Posted: 2020-08-14, 06:58 UTC
by ldor
No, I never got this issue except for this case. But I don't use any other comboboxes in TC, I don't even know if there are any. As for other programs, I never got anything like this