hydrogen-music / hydrogen

The advanced drum machine for Linux, macOS, and Windows
http://www.hydrogen-music.org
GNU General Public License v2.0
1.05k stars 174 forks source link

Unable to delete a pattern without a restart #1747

Closed Djard closed 1 year ago

Djard commented 1 year ago

Hydrogen version * :1.2.0.beta1 (Dec 15, 2022] Operating system + version : Win 10 Audio driver + version : nVidia


When I attempt to delete a pattern, I sometimes I get the following notification: "Could not save pattern to temporary memory." To delete the pattern in the top left panel, I must exit and relaunch Hydrogen.

theGreatWhiteShark commented 1 year ago

Hey @Djard ,

Any chance you are running out of free disk space? When either deleting a pattern or all pattern sequences/clicked boxes in the song editor, Hydrogen writes their internal representation to a temporary file. This is done to not consume too much memory of your system while allowing to undo and redo all of those actions. When quitting Hydrogen, all temporary files will be deleted (and freeing a tiny bit of disk space)

cme commented 1 year ago

It's also possible there might be some remaining issues with naming of the pattern files. Does your pattern have any interesting characters in its name, @Djard?

Djard commented 1 year ago

I see in Windows' Task Manager that I am using only a small fraction of resources, and my SSD have 400GB free space. But who knows if Microsoft software reports accurately, since closing and reopening the project lets me delete the obstinate pattern. I do name my patterns in Properties but without any special characters. I guess I will have to live with the workaround. Hopefully the next version will not be so limiting. I still think the app is excellent.

trebmuh commented 1 year ago

@Djard : can you try with the 1.2.0 version from a few days ago?

Djard commented 1 year ago

I am not sure in which version I experienced the problem. But I am unable to reproduce the problem, using the latest beta version: I can delete patterns just fine.

trebmuh commented 1 year ago

@Djard then, it seems to be resolved. Have a nice drumming time!

Djard commented 1 year ago

Thanks!