Touch screen: F5, F6 buttons remain "pressed"

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Lsched
Junior Member
Junior Member
Posts: 14
Joined: 2016-08-26, 19:14 UTC

Touch screen: F5, F6 buttons remain "pressed"

Post by *Lsched »

Hi!
I use Total commander on the tablet computer ASUS T100 with touch screen. When I touch F5 or F6 button on function key bar, copy/move operation is performed, but the button remains "pressed". It looks ugly. This also happens on a "clear" TC. With hardware or virtual mouse these buttons work correctly.

P.S. Sorry for my bad English.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think that's because invisible mouse pointer jumps to button and stays there until you click something else...
Lsched
Junior Member
Junior Member
Posts: 14
Joined: 2016-08-26, 19:14 UTC

Post by *Lsched »

MVV
I checked this - run virtual mouse, move the poiner, select some files, but button remains pressed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed on my Samsung convertible with Windows 10...
Author of Total Commander
https://www.ghisler.com
Lsched
Junior Member
Junior Member
Posts: 14
Joined: 2016-08-26, 19:14 UTC

Post by *Lsched »

I have Windows 8.1 32 bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - I cannot test that any more because I updated from 8.1 to 10. But I guess that it's as described by MVV - Windows 8.1 is moving a virtual mouse cursor over the button, so it stays active (up), not pressed.
Author of Total Commander
https://www.ghisler.com
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

I can confirm this behavior in Windows 10 Home too.
As little info: F5/F6 lose the focus when the windows is restored, minimized or maximized.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Here, with mouse under Windows 7, 8.1 and 10 (can't test touch screen with windows 7 and 10) F5, F6 and F7 buttons stays active until the cursor is moved over the popped up dialog. F8 stays active all the time.

All only with x64 version, not 32bit.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's normal, when you have a visible mouse cursor, then the button has to appear "hot-tracked", which isn't the same look as when it is pressed.

But I cannot reproduce it here with the touch screen, when no mouse cursor is displayed - not even when I simulate some mouse move by moving the finger sideways: The button frame appears pressed while the F5/F6 dialog box is shown, but disappears once the dialog box is closed. The only way to permanently show the button frame is by simulating a right click (long tap), or by using the touch pad - but then a real mouse cursor appears.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

when you have a visible mouse cursor, then the button has to appear "hot-tracked", which isn't the same look as when it is pressed.
You are right - it is not the same as when actively pressed, it is more pale, but maybe that is what the thread starter sees?

And how come it is only the 64bit version that has this hot-tracked state?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Lsched
Junior Member
Junior Member
Posts: 14
Joined: 2016-08-26, 19:14 UTC

Post by *Lsched »

Some additions after reading your posts.

F3, F4, F7 and F8 buttons work correctly, they deselect immediately or after touch anywhere.
Sombra wrote:F5/F6 lose the focus when the windows is restored, minimized or maximized.
F5/F6 deselects also after pressing "", ".." on drive bar or directory hotlist and history buttons.
ghisler(Author) wrote:The button frame appears pressed while the F5/F6 dialog box is shown, but disappears once the dialog box is closed. The only way to permanently show the button frame is by simulating a right click (long tap), or by using the touch pad - but then a real mouse cursor appears.
In my case button frame don't disappears after closing dialog box by pressing any button. But I found that if I touch screen anywhere, when dialog box is open, button deselect.
I also found that the cursor is really over the button (by running virtual mouse to see it), possibly it happens long press before moving the cursor to another place.
ghisler(Author) wrote:That's normal, when you have a visible mouse cursor, then the button has to appear "hot-tracked", which isn't the same look as when it is pressed.
You are right - I compared the look then using mouse and touch - it are different.
Lsched
Junior Member
Junior Member
Posts: 14
Joined: 2016-08-26, 19:14 UTC

Post by *Lsched »

Another addition.

The bug appears only when the "main" copy/move dialog (with advanced options) is opened. If for copy/move opens another dialog (operations with FTP, file system plugins, archives), the buttons are shown correctly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, still cannot reproduce it. Will move to "will not be changed".
Author of Total Commander
https://www.ghisler.com
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Try the next steps.

Important: Do NOT use the mouse/keyboard to perform the next actions:
- Select files touching the screen.
- Press F5/F6 in the function key buttons from the screen.

Now you can cancel or continue the operation pressing the key Esc or Enter from the keyboard

After these steps, F5 or F6 remain focused on my system.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I always used the touch screen to press Cancel in the dialog, that's why I didn't have the problem.

However, it isn't a bug: When this happens, try moving the mouse: You will see the mouse cursor appear directly above that button. Also the color of the focused button is the same as when you hove the mouse over it. So Windows is moving the hidden mouse cursor over that button and keeps it there.

I can reproduce the same problem in the Windows 10 Explorer:
1. Run Explorer.exe
2. Expand the ribbon bar by tapping on the v in the upper right.
3. Select a file
4. Tap on the "Copy to" button
5. Press ESC
-> "Copy to" remains focused
Author of Total Commander
https://www.ghisler.com
Post Reply