Dopus freezing with shift+delete on Protected files

I'm noticing a new odd bug when using Shift+Del
this seems to only happen when any of the files of the in the dir have deleted protected files.

ill get this popup standard dialoge

image

to which i'll use shift+click to "Unportect All`

and which point my lister freezes, it will go to the background and when i try to click on it, right or left, i get a windows error chime. i cannot interactive with it until i click on the taskbar icon to activate the window then use the Ctrl+Shift+F4 hotkey from menu to restart it.

i don't remember this happening before.
I'm on the current v13.7.8

any ideas on what i should check?

i also made a manual crash dump while it was frozen i could send if that's help?

thanks
x

Please send us that. I haven't been able to reproduce the issue, but that might let us see what's going wrong.

sent

Many thanks!

Unfortunately, it didn't reveal the cause, but it at least rules out several things.

My guess is that the window was left in a disabled state, where something failed to re-enable it when the operation finished. It's likely something we've been trying to track down for a long time (since before Opus 13) but it happens so rarely and at random that we've never been able to reproduce it on demand. (I have seen it a couple of times myself, but only out of the blue and never repeatable.)

Is it something you can repeatedly trigger? Knowing how to do it could mean we can finally get to the bottom of it. Details that could be important:

  1. Number of files/folders selected (and within those folders).
  2. How many get deleted before and after the prompt appears.
  3. Does the Progress Dialog appear for the operation? (If so, is it before or after the prompt? Or does it vary, with the problem happening with both?)
  4. What's Preferences / File Operations / Progress Indicators / Delay before indicators appear set to?
  5. Is the PC and drive (network, etc.) the files are on generally fast or slow?

Any other details you can think of may also help us reproduce it. If we can make it happen fairly reliably, even if it's only 1 in 10 times or similar, we should be able to fix it.

hmm.

i could probably reproduce it. yes it happens randomly, thou it happened once or twice a for 3 days in a row.

I'm doing a windows os reinstall. Version 22H2 (OS Build 19045.2965)
refreshing my os after making i is spent 7 months playing with new softwares, e.g., vs code, git & github desktop, ahk, with dozens of side apps and extensions. I'm not a coder, just playing, so not surprised i made it act up. its running great now.

to make this reinstall in quicker and smoother i used SyncBackPro v8 to backup most everything in my user folder to an another hard drive.

i use syncbacks internal tool to compress my appdata folder.
and not the whole folder, i was selective in what i copied into the backup, e.g. software settings i was planning on reinstalling. and skipped a lot microsofts caches and setting already knowing you can't just put that back in place and expect it it work. LOL.

after the reinstalled i copied this 16G zip back to C:, un-zipped it (current my appdata is 21.3G, less than 72 hours old), to begin copying\moving back into AppData Local & Roaming. again selectively, i didn't just dump the archive. i moved the appdata piece by piece.

image

as i reinstalled programs id check the back up, copy over (just in cause there was problem i could troubleshoot it) its settings & caches, install, launch, double check. 90+% of the time its all great. had my system back in less than 2 days. i just, this afternoon, finish the installed i started Saturday afternoon. easy!

so. after i had copied the dirs out of the back up folder i would use shift+del as i went along.
deleting appdata files containing; .ini, .config, .inf, .exe, system and read only attributes, etc etc, i would get the delete protected files.

it was random as to when it would lock up dopus. small dirs didn't seem to bother it but, it seemed not to like large dirs with high file counts, such as %AppdData%\Local\Plex Media Server, 5.44g with 50,437 cache & metadata files. and i was just able to reproduce with this dir. i copied it into my profile folder then shift+del

do you have plex on your machine?

  • Number of files/folders selected (and within those folders).

its seems larger dir

  • How many get deleted before and after the prompt appears.
  • Does the Progress Dialog appear for the operation? (If so, is it before or after the prompt? Or does it vary, with the problem happening with both?)

the dialog appears during. the amount of files deleted before appearing varied depending on the folder

  • What's Preferences / File Operations / Progress Indicators / Delay before indicators appear set to?

800 ms

  • Is the PC and drive (network, etc.) the files are on generally fast or slow?

pretty fast, have an i7 6000series, 64g ram, os on SSDs with my HDDs being "Gaming" drives moving large files on them is quick too. all the deleted in this reported have been out of /profile on C:

1 Like

just managed it again again by copying %appdata%\local\microsoft\ to /profile

didn't seem like it was going to do it at first. i opened the pref panel to screenshot the last reply.
click way to the browser, when i came back dopus was frozen.

1 Like

Thank you! With those details I can reproduce this really.

I haven't looked in detail yet, but we should be able to finally fix this now we have a way to make it happen

Summary for my own notes:

  • Configure Prefs/Progress Indicators as above.
  • Copy /appdata/Microsoft somewhere.
    (The copy operation doesn't matter, but the folder content does, for the next step.)
  • Delete that copy via Shift + Del.
    • Leave the progress indicator minimised on the jobs bar.
    • Wait for the "unprotect" prompt to appear, near the end of the operation.
    • Shift-click Unprotect (All)
    • Lister will no longer respond to mouse input, other than the scrollwheel.
1 Like

A fix for this will be in 13.8.1. Many thanks, again!

1 Like

you're welcome! glad i could help! :slight_smile:

2 Likes

furthermore, and possibly unrelated, this were this my settings for...

Preferences / File Operations / Deleting Files


I don't generally use shift+del often, i pause and ask myself; really shift?
the bin is a good safety net, i usually give it a glance before emptying it.

however when I do skip the bin i want minimal conformations so I an now toggling-on Deleted read-only files automatically

not sure if that played a roll but seems it could have.