Skip to content

Instantly share code, notes, and snippets.

@m1l
Created February 5, 2024 00:05
Show Gist options
  • Save m1l/9a369701a2be580c57f0e965b87e3020 to your computer and use it in GitHub Desktop.
Save m1l/9a369701a2be580c57f0e965b87e3020 to your computer and use it in GitHub Desktop.

You arrived here because OneCommander crashed or froze in previous session

Find section depending on the action leading to the crash or freezing

Renaming file

There is a bug in Windows that sometimes leads to program freezing when OC asks Windows to rename a file or folder
Several workarounds have been implemented but since I can't reproduce this issue it is not certain which one will fix the problem
To apply workaround open: Settings>Advanced and in Experimental section you will see
Rename freezing workaround section

DON'T check "Rename files through Explorer dialogs" as that one has issue with paths longer than 240 characters and suffers from famous "Renaming..." that sometimes takes 10 seconds in Explorer

The default is "0", you can try "1" and "2" which give Windows 2 seconds and then will abort the operation (better than freezing program indefinitely) and then it will try renaming through Explorer

Opening conext menu

Go to following link https://gist.github.com/m1l/5398f5c8a366e3535e208652f4b9ccfc

Different reason

Contact developer (me) on

Discord: https://discord.gg/wN6ctNjEtR
GoogleGroups: https://groups.google.com/g/onecommander
X: https://twitter.com/onecommander

or email (through About dialog)

@hami3d
Copy link

hami3d commented May 21, 2025

Mine too crashed while resizing panes.

same for me, whenever i want to resize i get crashes,
Windows 10

@xburke
Copy link

xburke commented Jun 3, 2025

same problem, windows 11

@artemgur
Copy link

I had the renaming freeze problem in following circumstances.
I had a folder with open PowerPoint file. Then I tried to rename the folder without closing that file, and OneCommander froze.
With workaround 1, renaming simply fails, and OneCommander doesn't freeze, which is good.
Later I tested that on different folders (tried to rename a folder when a file inside it was open), for some folders renaming works, for some it doesn't. So I haven't found a conclusive way to reproduce the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment