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)

@wataruw14
Copy link

The program crashes when I try to change the name of a folder. Not always, but it is happening to me very often.

@epaulk
Copy link

epaulk commented Jan 29, 2025

The same thing happens to me, to the point that it is basically unusable. It's very sad because I like it a lot, but basically I'm forced to rename the folders and files in file explorer, and I end up doing everything there.

I tried all the recommendations in the help without any improvement.

@RamouzK
Copy link

RamouzK commented Feb 25, 2025

Mine froze and crashed while I was dragging left the left vertical bar (to shorten the width of that left sidebar). Didn't do it the second time though, just the first time.

@kushaagr
Copy link

kushaagr commented May 1, 2025

Mine too crashed while resizing panes.

@Rikichh
Copy link

Rikichh commented May 20, 2025

It freezed when I use LoselessCut and renamed a file I may still using( I closed the project but the app is still open). A rough guess is the app still accquiring the file using some strange method, that OC can not detect. It might be a easier case to reproduce, I encountered twice in similar process.

@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