SOLVED: How to remove the Addon-plugin "ModernUI"

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
kes
Posts: 30
Joined: Wed Dec 09, 2020 10:32 am

SOLVED: How to remove the Addon-plugin "ModernUI"

Post by kes »

I am running the latest appimage 0.19 on up to date arch linux.

I have the addon-plugin "ModernUI" installed.

The notes with ModernUI say it can be uninstalled by running the small below script then re-starting FreeCAD.

I've done this and ModernUI is clearly still installed.
The FreeCAD user interface is still the ModernUI interface.

How can I revert to the original interface.
I have python 3.9.1-1 and python 2 2.7.18-2 installed on the system.
System path is mapped to python3.

Code: Select all

from PySide2 import QtCore, QtGui, QtWidgets
mw = FreeCADGui.getMainWindow()
mw.menuBar().show()

WBList = FreeCADGui.listWorkbenches()
for WB in WBList:
    FreeCADGui.activateWorkbench(WB)
    for tb in mw.findChildren(QtWidgets.QToolBar):
        tb.show() 
Last edited by kes on Sun Jan 24, 2021 2:55 pm, edited 1 time in total.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: How to remove the Addon-plugin "ModernUI"

Post by jmaustpc »

kes wrote: Sat Jan 16, 2021 11:24 pm The notes with ModernUI say it can be uninstalled by running the small below script then re-starting FreeCAD.
does the "uninstall selected" button on the bottom left of the add on manager work?
Attachments
Screenshot_20210117_163403.png
Screenshot_20210117_163403.png (81.06 KiB) Viewed 701 times
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: How to remove the Addon-plugin "ModernUI"

Post by HakanSeven12 »

First uninstall it from add-on manager and restart. Then run the script I updated GitHub page for this.
kes
Posts: 30
Joined: Wed Dec 09, 2020 10:32 am

Re: How to remove the Addon-plugin "ModernUI"

Post by kes »

Thank you for your help.

I may go back to this plugin later.
For now I have barely got to know where everythnig is in FreeCAD.

I don't know how I missed the uninstall button.
I think becasue I saw an uninstall script, I thought thatw as it.

The uninstall button and a restart did seem to uninstall the plugin.
I then ran the script on the github site and this took a few moments then made the FreeCAD window ultra wide.
I soon fixed that by dragging the window back.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: How to remove the Addon-plugin "ModernUI"

Post by HakanSeven12 »

You are welcome
Post Reply