WebDAV plugin bugs/missing functionality
Moderators: Hacker, petermad, Stefan2, white
unwanted (refresh) progress window steals focus
I'm using TC7.01, WebDAV 1.5 (same issue with 1.3) on a GMX account, Win2k.
Having a WebDAV directory listing in a displayed tab TC steals the focus from dialogs called via context menu or drag&drop.
About 2 seconds after calling it TC shortly shows a progress window and steals the focus from the opened dialog (forcing the user to mouse-click into the dialog to continue using it).
Example: encrypting/decrypting a file using PGP (called via context menu of any file) or GPG (drag&drop a file via WinPT).
The dialog for choosing a key or typing a pass phrase gets displayed in foreground, before TC's progress dialog steals the focus about 2 seconds later.
(The dialog doesn't appear on the taskbar and isn't accessible with Alt-Tab, which makes this even more annoying...)
When switching to local tab on both sides first (WebDAV-tab still active in background), this doesn't happen.
I haven't found a way to disable the (refresh?): in TC Options/Refresh I had AB/:\, "Auto-Refresh when file system changes" was turned off completely. But this progress window still steals the focus.
Is there maybe something like a hardcoded refresh in the WebDAV plugin?
Is there something that can be improved in the plugin, or something I can change myself to prevent this?
Edit: Screenshot here
Having a WebDAV directory listing in a displayed tab TC steals the focus from dialogs called via context menu or drag&drop.
About 2 seconds after calling it TC shortly shows a progress window and steals the focus from the opened dialog (forcing the user to mouse-click into the dialog to continue using it).
Example: encrypting/decrypting a file using PGP (called via context menu of any file) or GPG (drag&drop a file via WinPT).
The dialog for choosing a key or typing a pass phrase gets displayed in foreground, before TC's progress dialog steals the focus about 2 seconds later.
(The dialog doesn't appear on the taskbar and isn't accessible with Alt-Tab, which makes this even more annoying...)
When switching to local tab on both sides first (WebDAV-tab still active in background), this doesn't happen.
I haven't found a way to disable the (refresh?): in TC Options/Refresh I had AB/:\, "Auto-Refresh when file system changes" was turned off completely. But this progress window still steals the focus.
Is there maybe something like a hardcoded refresh in the WebDAV plugin?
Is there something that can be improved in the plugin, or something I can change myself to prevent this?
Edit: Screenshot here
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, I have never seen such a problem with my WebDAV plugin. It doesn't update directory listings automatically, there is no keep alive or so.
Do you get the same problem with the latest official release. 1.6?
Does anyone else have this problem?
Do you get the same problem with the latest official release. 1.6?
Does anyone else have this problem?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes, same behaviour with 1.6. All other plugins were deactivated for testing (deleted from INI + restarted TC).ghisler(Author) wrote:Do you get the same problem with the latest official release. 1.6?
In the FTP command window the following lines are automatically added (the same as on connecting):
=================
Get dir: \
PROPFIND / HTTP/1.1
207 Multi-Status
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You mean that these 4 lines appear in the log again and again all the time?
Do you run any scripts?
Do you use any auto-refresh options in configuration - options - refresh (lower part)?
Do you run any scripts?
Do you use any auto-refresh options in configuration - options - refresh (lower part)?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
These 4 lines appear once again every time the PGP/GPG window is called.
No scripts are running here (no AHK or similar, no special keyboard driver).
All auto-refresh options were deactivated for testing (even the greyed-out checkboxes), I also added "/" to NoReread - still the same behaviour.
No scripts are running here (no AHK or similar, no special keyboard driver).
All auto-refresh options were deactivated for testing (even the greyed-out checkboxes), I also added "/" to NoReread - still the same behaviour.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I have no idea what is going on in your case. I have tried it, TC does NOT auto-refresh plugins when you switch away from TC and back to it...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
After some more testing: Agree, not on manually switching away & back.ghisler(Author) wrote:TC does NOT auto-refresh plugins when you switch away from TC and back to it
But using drag/drop to another window it refreshes everything (?) when using drag/drop to any window - no matter what settings are in the "refresh" section of the TC options.

(So this issue is not about this specific plugin, sorry for putting it in the wrong thread.)
Example with a network connection to show the refresh:
- open an Exlorer window or a second TC task in the background as drop target
- in TC on the right panel open a network connection, that you can interrupt
- now physically cut the above network connection (e.g. by shutting down the remote machine)
- drag a local file from the left panel to the TC/Explorer in the background and drop the file there
- switch back to the first TC window

So this seems to concern TC's refresh in general, not the specific plugin.
(2Mod: Maybe split&move to bugs section?)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, I see - that's a completely different case! I will try to exclude plugins from the refresh.But using drag/drop to another window it refreshes everything (?) when using drag/drop to any window - no matter what settings are in the "refresh" section of the TC options.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
TIA.ghisler(Author) wrote:I will try to exclude plugins from the refresh.
For network dirs this would be desirable, too: it was not possible to keep the listing of the network connection displayed in TC after shutting down the server pc...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Found another easy way to reproduce the constant (unwanted) refresh:ghisler(Author) wrote:Ah, I see - that's a completely different case! I will try to exclude plugins from the refresh.But using drag/drop to another window it refreshes everything (?) when using drag/drop to any window - no matter what settings are in the "refresh" section of the TC options.
- One panel: use WebDAV-Plugin (1.6),
- Other panel: navigate to a local drive/path, place the cursor here.
- Copy some characters of plain text into Windows clipboard (mark text + press Ctrl+C) and
- Press Ctrl+V (with cursor in panel with local drive)

Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
StatusQuo wrote:Having a WebDAV directory listing in a displayed tab TC steals the focus from dialogs called via context menu or drag&drop.
Maybe the cause is related to this thread: No autorefresh?ghisler(Author) wrote:Ah, I see - that's a completely different case! I will try to exclude plugins from the refresh.But using drag/drop to another window it refreshes everything (?) when using drag/drop to any window - no matter what settings are in the "refresh" section of the TC options.
(This is still unchanged in TC 7.02a.)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Unwanted refresh stealing focus even from TC dialogs
I now found an example where WebDAV plugin steals the focus even from TC's own internal configuration dialogs (color definition).
instead with keyboard input you can now navigate through TC's main window - behind the displayed Color options window.
- - open WebDAV folder in left panel, containing some files
- call Configuration -> Options -> Color -> Define colors by file type
- change the color definition for a file actually displayed in WebDAV folder, like "*.*"
- apply the new color definition (press Enter key/OK until you are at the "Color" options screen again)
instead with keyboard input you can now navigate through TC's main window - behind the displayed Color options window.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Applying color definitions requires a refresh of the file lists to recalculate the displayed colors. Unfortunately some plugins have to show a progress dialog, so that's what you are seing here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com