Auto-Refresh auto-suspend

Features wanted...
Post Reply
eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Auto-Refresh auto-suspend

Post by eil »

i found myself in this situation quite often: i'm using browser, start to download some files, click on XY that was in background, XY appears to be opened on a folder where saving of downloads is happening so it starts to refresh like crazy and becoms not responsive. in 60% Ctrl+R take care of it, but in 40% i have just to close XY process, start again i be fast to switch to another tab.

what i'm asking for/proposing is to make auto-refresh smarter and suspend itself(#481) if it gets refresh too often(meant downloading is happening and XY does 10+ refresh in a row). even a tweak for this would be cool to have.!
Win 7 SP1 x64 100% 1366x768|1900x1080

eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Re: Auto-Refresh auto-suspend

Post by eil »

bump
at least some hints will be appreciated.. :cry:
Win 7 SP1 x64 100% 1366x768|1900x1080

eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Re: Auto-Refresh auto-suspend

Post by eil »

i had this wish years ago and still have this problem. at least an answer if i may hope for some solution would be appreciated.
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Auto-Refresh auto-suspend

Post by admin »

Sounds like a good idea.

Please enable auto-refresh logging:

Code: Select all

::logchange 5;
Then let me see the log (dlog;). This will show me what's happening and how fast.

eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Re: Auto-Refresh auto-suspend

Post by eil »

for some reason after that command dlog; showed nothing, but only Win version. still it seems i found the "culprit" and way to reproduce behaviour.
i have working folder, where i download everything and keep temporary/unnecessary files, on flash drive. seems like the difference of I/O speed compared to HDD makes this magic, and if i am in the folder of this drive(exactly where download is happening right now), this over-refresh behaviour happens. maybe this will help you catch the reason and solution.
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Auto-Refresh auto-suspend

Post by admin »

Here is a way for you to stop it:

Code: Select all

v16.00.0106 - 2015-11-22 16:40
    + Added tweak to fine-tune what is watched by Auto-refresh. If this tweak is 
      set it is processed before the following settings are processed:
        - Include network locations (Refresh, Icons, History - Auto-Refresh)
        - Include removable drives (Refresh, Icons, History - Auto-Refresh)
        - Refresh during file operations (Refresh, Icons, History - Auto-Refresh)
      The tweak value consists of a list of locations, separated by | (pipe). 
      XYplorer variables and environment variables are allowed here. To include 
      a location's subfolders suffix a * (asterisk). To exclude a location from 
      Auto-refresh prefix a - (minus). The list is processed from left to 
      right. The first match wins.
      For example:
        WatchIt=-%user%\Downloads|C:\*|-N:\*
      This would mean the following:
        1) -%user%\Downloads = exclude path %user%\Downloads from Auto-refresh.
        2) Include anything on drive C: in Auto-refresh.
        3) Exclude anything on drive N: from Auto-refresh.
      Use Case:
        Windows sometimes does not recognize a removable drive as removable. 
        This will trick XYplorer into watching this drive even if you turned off 
        "Include removable drives". When you now try to eject the drive it will 
        be locked by XYplorer and refuse ejection.
        This simple tweak can work around this Windows issue, assuming the drive 
        letter is N. It will suspend Auto-refresh when you browse any folder on 
        this drive:
          WatchIt=-N:\*

eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Re: Auto-Refresh auto-suspend

Post by eil »

this tweak only kinda solves over-refresh, 'cause basically i already could do manual switch off. the problem is that i constantly forget to switch refresh back on, and it's not really comfortable to constantly manual refresh working folder. that's why i was searching/wishing for some automatization, instead of either having refresh or not.
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Auto-Refresh auto-suspend

Post by admin »

Well, not on my list right now. :|

eil
Posts: 1870
Joined: 13 Jan 2011 19:44

Re: Auto-Refresh auto-suspend

Post by eil »

will wait for better times. :ninja:
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply