Page 1 of 1

Disappearing file selection cursor

Posted: 2019-04-04, 00:44 UTC
by Erunduk
The file selection cursor becomes invisible in certain circumstances, while retaining its full functionality (when navigating with the keyboard).

Steps to reproduce the bug that work for me with Total Commander Version 9.22rc2 64bit (2019-03-06):
  1. Open TC in standard mode - 2 file panels, brief view in each; make sure the cursor is visible.
  2. Press [Alt+Tab] to switch to another application
  3. Press [Alt+Tab] to switch back to TC
  4. Search file by name using [Alt+any letter]
  5. Press [Alt+Tab] to switch to another application
  6. Press [Alt+Tab] to switch back to TC
  7. The cursor is now invisible, though it still works if operated by keyboard
  8. Press [Alt+Tab] to switch to another application
  9. Press [Alt+Tab] to switch back to TC
  10. The cursor becomes visible again.

Re: Disappearing file selection cursor

Posted: 2019-04-04, 11:57 UTC
by petermad
I can confirm this.
... 2 file panels, brief view in each
It also happens with Full View, Thumbnail View, File Comments View, Tree View, Custom Columns View, Branch View and Search result View.

It only happens if AltSearch is set to 0, 1 or 3 - that is: if there is a search dialog open when I press Atl+Tab so switch to another application. When that is done, the Search dialog is closed, but apparantly, focus is not put back to the file panel.

1. Open TC in standard mode...
4. Search file by name using [Alt+any letter]
For others that might test this - Alt+letter is not the standard Quick Search hotkey - Ctrl+Alt-Letters (alternatively AltGr+Letters) is.

Re: Disappearing file selection cursor

Posted: 2019-04-05, 09:45 UTC
by ghisler(Author)
This happens because the quick search is automatically closed on Alt+Tab. I cannot force the focus back on the file list because this would make Windows jump back to Total Commander. Press TAB to activate the current window after Alt+Tab.

Re: Disappearing file selection cursor

Posted: 2019-04-05, 13:59 UTC
by Erunduk
Maybe it is possible to keep the quick search window open to survive [Alt+Tab]?

Re: Disappearing file selection cursor

Posted: 2019-04-05, 15:02 UTC
by Hacker
Erunduk,
Maybe it is possible to keep the quick search window open to survive [Alt+Tab]?
That's also been requested in the German forum - QuickSearch / Schnelle Suche mit STRG+S.

HTH
Roman

Re: Disappearing file selection cursor

Posted: 2019-04-05, 17:18 UTC
by Erunduk
ghisler(Author) wrote: 2019-04-05, 09:45 UTCThis happens because the quick search is automatically closed on Alt+Tab. I cannot force the focus back on the file list
By the way, if the above explanation is valid, how comes that the cursor, though invisible, still works (can be moved by the cursor keys, can open folders by pressing Enter etc). As I understand, this means that the file list does have the focus. Isn't that so?

Re: Disappearing file selection cursor

Posted: 2019-04-08, 17:05 UTC
by ghisler(Author)
Strange, the cursor doesn't work here, only after I press TAB...

Re: Disappearing file selection cursor

Posted: 2019-04-08, 20:45 UTC
by Erunduk
Strange, the cursor doesn't work here, only after I press TAB...
Here's how it looks for me: https://www.youtube.com/watch?v=9m36d1h4K7g

Re: Disappearing file selection cursor

Posted: 2019-04-11, 10:45 UTC
by ghisler(Author)
I found a solution - I need to close the quick search dialog via PostMessage, otherwise Windows seems to get confused with the current window and doesn't send WM_ACTIVATE when returning to TC.

Re: Disappearing file selection cursor

Posted: 2019-04-12, 00:57 UTC
by Erunduk
Sounds great; looking forward to try new release ))