Grubuntu / PieMenu

Fork of PieMenu, with some improvements
10 stars 5 forks source link

Latest 0.22dev releases have broken the ability to add WBs to PieMenu #78

Closed Grubuntu closed 4 months ago

Grubuntu commented 4 months ago

Since latest 0.22Dev release it is not possible to used WB in the PieMenu.

The actions list no longer shows the WBs

Capture d’écran (198)

WBs are usually shown like this when they are working properly: Capture d’écran (199)

The WBs are no longer available in the FreeCAD actions list:

from PySide import QtGui
mw = Gui.getMainWindow()

for i in mw.findChildren(QtGui.QAction):
    if i.objectName() != "" and i.icon():
        if "Workbench" in i.objectName():
            print(i.objectName())

should return this:

Std_Workbench
ArchWorkbench
Assembly4Workbench
CurvesWorkbench
DraftWorkbench
FemWorkbench
MeshWorkbench
PartDesignWorkbench
PartWorkbench
SMWorkbench
SketcherWorkbench
SpreadsheetWorkbench
SurfaceWorkbench
TechDrawWorkbench
A2plusWorkbench
FastenersWorkbench
OpenSCADWorkbench
PathWorkbench
StartWorkbench
WebWorkbench

but return this instead: Std_Workbench

I'll wait a while before looking for a solution, maybe it's an intermediate build of FreeCAD that's buggy.