v9.0b8 BUG: TC loses focus after manipulating RAR archives

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

v9.0b8 BUG: TC loses focus after manipulating RAR archives

Post by *EvilDragon »

This is on W7 SP1 x64, WinRAR installed.

Steps to reproduce:

* pack some folders into a RAR
* open the RAR in second pane (Ctrl+Right)
* press Tab to go to second pane within the RAR archive
* select and delete one folder from RAR
* try and press Tab to go back to first pane - DOES NOT WORK - TC has lost focus and I have to Alt+Tab back to it!

Same thing happens when adding stuff to RAR via F5.

Tried this with ZIP archives, no such problems at all!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

ZIPs are packed internally by TC, while RAR files are modified by calling WinRAR.EXE. It's very unusual that the focus doesn't return to TC after packing with WinRAR. Any idea where the focus goes to? What happens when the focus is lost and you press Alt+F4?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

* pack some folders into a RAR
* open the RAR in second pane (Ctrl+Right)
* press Tab to go to second pane within the RAR archive
* select and delete one folder from RAR
* try and press Tab to go back to first pane - DOES NOT WORK - TC has lost focus and I have to Alt+Tab back to it!

Works fine here. Do you use rar.exe or winrar.exe for packing!
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

I use winrar for packing. This did not happen in previous TC version (v8.something).

When I press Alt+F4, nothing happens! Even with multiple programs open, nothing closes. O.o


WinRAR version is the same that I used before TC v9 beta, 5.01 64-bit.
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

Hmmm, this is very weird, I reverted back to v8.52 (just by replacing totalcmd.exe), and TC still loses focus.

Confusing.


Might be worth stating, I'm using TC UP v5.7 - I just upgraded TC itself. Can't be bothered to follow TC UP updates, since I have modified my install with some programs...


EDIT: I have just tried a fresh, completely vanilla install of TC v8.52 and it still loses focus... WEIRD!


Please give me steps on how to troubleshoot this, I would like to have this sorted out!


EDIT #2: This issue DOES NOT HAPPEN on my W10 machine, making this even weirder!
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I use winrar for packing.
Hmm, I use rar.exe 4.20 64bit - maybe that makes a difference.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

So why does the loss of focus not happen on my W10 PC but it happens on my W7 PC? Both have the same version of WinRAR installed.

Also I distinctly remember this not happening before, with exactly the same version of WinRAR installed (I've had it for some months).


EDIT: But if I use rar.exe, I can confirm that no loss of focus occurs. Bizarre.
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

Hmmmm, now I had loss of focus happen when packing a larger RAR archive even using rar.exe...


This is bizarre!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, the focus must be going somewhere. Apparently that program isn't running on your Windows 10 machine...
Author of Total Commander
https://www.ghisler.com
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

Alright, but I can't seem to find out which program the focus goes to. It happens even if TC is the only program running...

I am not sure how to set up Process Explorer so that it shows me relevant information.
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

EvilDragon,
This short AutoHotkey script sits in the background and shows you the active window title and process upon pressing F9. Download and install AutoHotkey, save the script as ActiveWindow.ahk and run it. Then press F9 as necessary.

Code: Select all

F9::
	WinGetActiveTitle, ActiveTitle
	WinGet, ActiveProcess, ProcessPath, A
	TrayTip, Active Window, %ActiveTitle%`n%ActiveProcess%, 16
Return
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.
EvilDragon
Junior Member
Junior Member
Posts: 24
Joined: 2016-08-10, 01:08 UTC

Post by *EvilDragon »

Thank you, I will have this in mind!


Interestingly enough, in the past day or so I did not notice loss of focus happening anymore. SO BIZARRE!
Post Reply