zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
117 stars 24 forks source link

Something caused my toolbar to vanish #28

Open Enjay001 opened 6 years ago

Enjay001 commented 6 years ago

I'm not sure exactly when it happened, but I think it might have been after I loaded a very high poly model (far too high for practical game use), converted it to another format (which took quite a long time) and then quit Maverick. That all seemed to go OK but shortly afterwards, when using Maverick again, I noticed that my toolbar had gone. I couldn't see anything in the menus to enable/disable the toolbar (is there anything?) so I quickly uninstalled and re-installed. However, this did not fix the missing toolbar.

So, I figured that Maverick must have saved settings in my appdata folder and, sure enough, I found the settings folder. The problem seemed to be stored in the dock.dat file which, unfortunately, is the only file in there not easily readable in a text editor. Anyway, I deleted the file, restarted Maverick and my toolbar was back.

Fortunately, I had the presence of mind to save the dock.dat file and copying it back into my preferences folder made the toolbar vanish again.

In case it's of help, I have attached the dock.dat file in a zip for you. (I had intentionally already closed the Boolean operations sidebar - so that is meant to be missing).

dock.zip

zturtleman commented 5 years ago

The toolbar is missing for me as well when using the posted dock.dat. There is no menu option to hide or display the toolbar.

dock.dat file content is created and read by Qt 5's QMainWindow saveState() and restoreState(). It's kind of hard to figure out what Qt is doing or what the contents of the file mean.

I've added a hack to force the toolbar to be visible in c8474f636417823216197a1caa5d302bb601c62c. Though ideally the cause of it disappearing should be found and fixed instead.