Page 1 of 2

Auto refresh bug...

Posted: 23 Apr 2017 04:41
by ghost zero
Auto refresh is not working for the recycle bin when restoring large files. Tested with a 3.5 GB file.

Windows 7 x64
XY 17.90.0100

EDIT: Tested with a small file [~50 MB] and it still happens.

Re: Auto refresh bug...

Posted: 26 Apr 2017 10:23
by admin
Thanks, but I cannot fix this for Win7. Auto refresh messaging in Windows changes with every release. This is probably fixed in Win8 or Win10.

Re: Auto refresh bug...

Posted: 11 May 2017 06:28
by ghost zero
so are you just going to leave auto refresh broken for users on win7--even though the vast majority of users are still on win7?

Re: Auto refresh bug...

Posted: 13 May 2017 14:31
by admin
Well, let's debug it:

First do

Code: Select all

::logchange 5;
, then perform your restoring from bin action, then do

Code: Select all

::text get("debuglog");
, then post the log it here.

Re: Auto refresh bug...

Posted: 04 Jan 2018 19:15
by jupe
My query is unrelated to the OP but the topic sort of matched so I hope it's ok I reused this topic.

The issue I am having is that I have an old slow NAS drive so when I copy files from it to my local computer I need to disable auto-refresh so that I can continue working on files in the destination folder while the backgrounded custom copy tasks run, but auto-refresh doesn't seem to switch off entirely because after a file is finished copying it keeps jumping up and down in the list to the newly finished copying file even while I have auto refresh disabled or suspended.

Should disabling auto-refresh in my use case stop refreshes caused by custom copy or does disabling auto-refresh only stop refreshes caused by other events?

I should add that I tried the logchange suggested in the above post but there is nothing in it that is related.

Win10 x64 - XY 18.60.0008

Re: Auto refresh bug...

Posted: 06 Jan 2018 12:27
by admin
Indeed, you are right. Please check if it's better in the next beta.

Re: Auto refresh bug...

Posted: 06 Jan 2018 16:42
by jupe
Works great, thanks so much! sorry to hassle you. :appl: :biggrin:

Re: Auto refresh bug...

Posted: 06 Jan 2018 17:13
by admin
Well, I thank you! Another step towards perfection... :cup:

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:02
by m48tx
I am so confused. I installed 18.60.0011 and auto-refresh seems broken. I noticed Suspend Auto-Refresh is checked (I have never used that option). I clicked off "Suspend Auto-Refresh" and saved all options, but when I restart XYP, Suspend is clicked on. Is there a configuration setting for this?

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:09
by jupe
I'm hesitant to bring this up, but I'll just make you aware and let you decide if you think anything needs changing (or changing back :oops: ). When browsing a network drive it suspends auto refresh automatically (great feature) now you have made this change when a file is deleted the list doesn't update to remove files, I think in the case or a deletion it might be better to have it still update the list automatically because a deletion is instant and not queued.

Still testing....

I hope I haven't opened a can of worms here because I notice now that when you copy/move a file on a network drive you do expect the list to update even with auto-refresh suspended, that is probably the reason you had it like it was initially.

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:13
by admin
m48tx wrote:I am so confused. I installed 18.60.0011 and auto-refresh seems broken. I noticed Suspend Auto-Refresh is checked (I have never used that option). I clicked off "Suspend Auto-Refresh" and saved all options, but when I restart XYP, Suspend is clicked on. Is there a configuration setting for this?
The little fix I made cannot be the cause of this.

Note that "Suspend Auto-Refresh" is auto-enabled in search results lists. Maybe that explains it.

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:18
by m48tx
Thanks Don, but how do I turn it off? When I start XYP, the option is ticked. Do I have to Ctrl+R each time I start XYP to turn it off? I don't understand why this option is ticked when I don't want it.

I downgraded to 18.60 and the Suspend option is ticked every time I start XYP. This explains my constant use of F4 and F5.

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:29
by admin
m48tx wrote:Thanks Don, but how do I turn it off? When I start XYP, the option is ticked. Do I have to Ctrl+R each time I start XYP to turn it off? I don't understand why this option is ticked when I don't want it.

I downgraded to 18.60 and the Suspend option is ticked every time I start XYP. This explains my constant use of F4 and F5.
Hmm, can't explain that ATM. What's your startup path?

But in the meantime I found and fixed another bug related to this:

Code: Select all

    ! Auto-Refresh: Auto-Refresh is auto-suspended while a deletion is going on 
      since v13.60.0011 - 2014-01-15 14:42. But since 20170914 the suspended 
      state was not undone anymore afterwards. Fixed.

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:36
by m48tx
The startup path is a folder on my E drive - it has been that for a long time.

I tried "::fresh;" with 18.60.0011 and View|Suspend Auto-Refresh is ticked on.

Re: Auto refresh bug...

Posted: 06 Jan 2018 18:39
by admin
m48tx wrote:I tried "::fresh;" with 18.60.0011 and View|Suspend Auto-Refresh is ticked on.
On which path? This PC? That's normal.