Closed hasecilu closed 6 months ago
No problem noted here on a new installation (new user.cfg file). I tried on 0.21 and 0.22.
Do you have the 3 menus created by default during a new installation?
Yes, they work fine, only I noted that (maybe because of the crash) values for pie and button sizes resets to default.
Just when I click on "WBs" the crahs happens.
I'm on Arch Linux
Edit: Not only with the new menu I tried changing to Sketcher and PartDesign menus and the crash also happens.
Edit2: Also tried deleting user.cfg
file, same result.
Try to write in the parameters via command line to see if it is not a write permission problem:
paramPath = "User parameter:BaseApp/PieMenu"
paramGet = App.ParamGet(paramPath)
paramGet.SetString("Test", "Test_Ok")
After, check with Tools >Edit parmeters... to check if the string "Test_Ok" was written well
restart Freecad and check again that the value is still present in the parameters.
That's not the problem, it appears. In W10 seems to no be problems. Could be something Linux related or something specific to my system. Maybe if someone could test on other Linux systems. I'll try previous versions.
The crashes appear almost inmediately, list of good commits:
Edit: I ran git bisect
and it shows a2378a2374c6f5b2ed8dbb447d89e8d6d063c09e as the problem but I don't know how is it related.
On main
the commit history is this and crashes:
When creating a new branch based on f50b533f
looks like this:
Try to comment each lines contains and see if it works again:
comboShape.addItem(" ") # Add separator
comboShape.model().item(comboShape.count()-1).setEnabled(False) # Disable the separator
I tried proposed changes during several minutes and crash don't occur, when bug is present in less than 10[s] already crashed.
I was able to change sizes, add elements, move them, interact with UI elements and use PieMenu.
Since I had some parameter from mdkus version I decided to start from zero deleting PieMenu parameters.
Now when I try to create a new menu when switching to it in the GUI to add the commands FreeCAD crashes both when using new menu and copy current menu. In the parameters there is no update on IndexList.
Maybe we would need to enable some kind of console debugging with:
FreeCAD.Console.PrintMessage()
.Could you try to create a new menu? Tested on 0.21.2 and 0.22.dev versions.