Blinking cursor disappears after selecting from copy dropdown with keyboard

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

Moderators: white, Hacker, petermad, Stefan2

overlind
Junior Member
Junior Member
Posts: 2
Joined: 2019-11-25, 04:42 UTC

Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *overlind »

Hello,

Thank you so much for adding dark mode capability to TC! I just wanted to point out a minor issue.... Often I need to copy a file to another folder and name it similar to an existing file or subdirectory in that folder. The screenshots below document my steps to reproduce how the blinking cursor disappears once I arrow down to the drop down and then try to backspace to edit the file name.

Step 1: Drag from one pane to the other or F5
Image: https://overlin.us/images/TC_screenshot1.png

Step 2: Highlight with mouse the filename portion of the path, then press the first letter of existing filename. Red arrow shows where cursor is.
Image: https://overlin.us/images/TC_screenshot2.png

Step 3: Arrow down to existing file. (This example is simplistic, but I usually am dealing with half a dozen lengthy names.)
Image: https://overlin.us/images/TC_screenshot3.png

Step 4: [Dark mode] Backspace to change end of filename to something unique. Moving the cursor left or right with the arrow keys moves the cursor, but it is invisible. Current cursor location is indicated by the red arrow.
Image: https://overlin.us/images/TC_screenshot4b.png

vs. Step 4: [Light mode] Exact same sequence, but this time in light mode, the cursor remains visible under the red arrow.
Image: https://overlin.us/images/TC_screenshot4w.png

Step 5: [Work-around] Click off of the dropdown and then in the filename box or type a letter, and the cursor will reappear.
Image: https://overlin.us/images/TC_screenshot5.png

Again this is a minor issue, but just a change / slight annoyance in my workflow that I thought might be easily addressable.

Thanks,

David
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *ghisler(Author) »

Unfortunately the cursor is drawn by Windows itself, and it seems to blink a black cursor on and off here. To my knowledge, it's not possible to change the cursor color programmatically.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

The same blinking/flickering exists in all edit fields where auto-complete feature is enabled.
Andrzej P. Wozniak
Polish subforum moderator
overlind
Junior Member
Junior Member
Posts: 2
Joined: 2019-11-25, 04:42 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *overlind »

Thank you for the explanation! That makes sense that it is a Windows system issue instead.

Thanks,

David
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

Usher wrote: 2019-11-25, 12:48 UTC The same blinking/flickering exists in all edit fields where auto-complete feature is enabled.
Will this flickering be fixed in any way? Currently auto-complete is completely unusable in dark mode.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *ghisler(Author) »

Unfortunately there is no way to change the cursor color programmatically. :(
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

So maybe auto-complete should be turned off for dark mode in older Windows?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *ghisler(Author) »

Certainly not! You can still pick names from the list by going up/down with the cursor. Then press ESC before trying to edit the name.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

2ghisler(Author)
It works, but flickering may cause epilepsy seizure.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *ghisler(Author) »

You can turn off auto-complete in the settings if you have a problem with epilepsy.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

2ghisler(Author)
It's not a solution.
You should either block flickering or add epilepsy warning. It's not my personal problem, it's a legal matter.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *ghisler(Author) »

???
I don't see any flickering here.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *DrShark »

2ghisler(Author)
On XP in dark mode command line's combo with auto complete is blinking as hell, and it's white there anyway (not sure whether it's like that because of blinking; UPD: it's blinking which makes it white). I sent a short video today to support email from my gmail address - please let me know whether you received it, if not I'll upload the video and will send a link to it.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *DrShark »

history950a.txt wrote:09.02.20 Fixed: Dark mode: Auto-complete was flickering heavily on Windows XP (32)
I can confirm in TC 9.50a RC1 this fixed the blinking I've seen on XP. I'm not sure though was it the same one reported above by overlind or Usher...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Blinking cursor disappears after selecting from copy dropdown with keyboard

Post by *Usher »

1. Seems to work OK now in XP - in command line and in button bar editing. Any more places to test with autocomplete enabled?

2. The background for autocomplete is black. Is it possible to use the same color for autocomplete as for the background in TC in both normal and dark mode?

3. Note about autocomplete list: it shows names unordered, which means that sometimes the needed name may be close to the end of a very long list. For the command line quick search may be more useful in such cases - it uses sort order from active TC pane.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply