Disappearing file selection cursor

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Erunduk
Junior Member
Junior Member
Posts: 5
Joined: 2019-04-04, 00:33 UTC

Disappearing file selection cursor

Post 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.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Disappearing file selection cursor

Post 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.
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Disappearing file selection cursor

Post 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.
Author of Total Commander
https://www.ghisler.com
Erunduk
Junior Member
Junior Member
Posts: 5
Joined: 2019-04-04, 00:33 UTC

Re: Disappearing file selection cursor

Post by *Erunduk »

Maybe it is possible to keep the quick search window open to survive [Alt+Tab]?
User avatar
Hacker
Moderator
Moderator
Posts: 13065
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Disappearing file selection cursor

Post 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
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.
Erunduk
Junior Member
Junior Member
Posts: 5
Joined: 2019-04-04, 00:33 UTC

Re: Disappearing file selection cursor

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Disappearing file selection cursor

Post by *ghisler(Author) »

Strange, the cursor doesn't work here, only after I press TAB...
Author of Total Commander
https://www.ghisler.com
Erunduk
Junior Member
Junior Member
Posts: 5
Joined: 2019-04-04, 00:33 UTC

Re: Disappearing file selection cursor

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Disappearing file selection cursor

Post 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.
Author of Total Commander
https://www.ghisler.com
Erunduk
Junior Member
Junior Member
Posts: 5
Joined: 2019-04-04, 00:33 UTC

Re: Disappearing file selection cursor

Post by *Erunduk »

Sounds great; looking forward to try new release ))
Post Reply