Modern UI

Indeed, no segfault with appimage 0.19.20406 :wink:

I think it’s because you have stacked panels, I have same behavior then I unstack panel and it remove this empty space …

When you minimized the menu, you need to resize menu dock manually for one time. After that every things must be fine.

good :slight_smile:

See https://www.youtube.com/watch?v=u2RYpR8HD24&feature=youtu.be

OS: Debian GNU/Linux 9 (stretch) (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20406 (Git) AppImage
Build type: Release
Branch: master
Hash: bb45a2b01f9aafeae00cdf60c87b43fc36ad28ad
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Argentina (es_AR)

I think it’s because you have stacked panels, I have same behavior then I unstack panel and it remove this empty space …

See https://www.youtube.com/watch?v=u2RYpR8HD24&feature=youtu.be

OS: Debian GNU/Linux 9 (stretch) (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20406 (Git) AppImage
Build type: Release
Branch: master
Hash: bb45a2b01f9aafeae00cdf60c87b43fc36ad28ad
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Argentina (es_AR)

Can you resize menu?

Can you resize menu?

No, the drop-down panel still has the grey part that I marked in the previous picture. I can’t find a way to make that gray part disappear so that it takes up less space.

For windows it works.
resize.gif

I restarted FreeCAD and the lines appeared in the bar to be able to resize the menu, but as you can see in the previous image I passed or in the video, it didn’t appear. Thanks

You are welcome :slight_smile:

Great work HakanSeven12 :slight_smile:

It’s a really nice addition to the UI development.

Wishes from me:

  • A dialog, menu or setting where one can choose which workbenches that are shown


  • Possibility to enable autohide only for the bottom or side dialog

And a question:
How easy is it to rearrange the toolbars within the ribbon style workbenches?
I prefer to have the constraints on the right vertical side when working in sketcher, as an example.

Thank you for the work you’ve put into this so far :smiley:

FreeCAD version info:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20415 (Git)
Build type: Release
Branch: master
Hash: 7a0606715045a255ef0774e835b0091eef300ac9
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Norwegian Bokmal/Norway (nb_NO)

Thanks :slight_smile:

I will work for it when I have time

not as you want but a ‘AH’ button at the right bottom. It enable and disable autohide for all docks.

If you click area above modern menu you can select toolbar you want.

Hi. I can help you. What idea do you have in mind?

Hi :slight_smile: I wanted to add a home tab but I give up. Thank you

I’m thinking about removing menus above the modern menu. I can add them to FreeCAD tab file menu. What do you think about that?

Tried for one session. Sketcher diameter/radius constraints can not be changed. Sorry if it was discussed before, did not read the whole thread…

Create an issue at GitHub and make an explanation. You can add media too. I never used most of the workbenches.

I fixed it. I think all functions are available now.


dropdown menu.png
dropdown menu2.png

Hello,
Your UI looks really great. However, I get Segmentation fault on startup. Any Ideas?

This is what I get when I start it from terminal.


FreeCAD 0.19, Libs: 0.19R20477 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

ModernUI is enabled
Program received signal SIGSEGV, Segmentation fault.
#0  /usr/lib/libc.so.6(+0x3bd70) [0x7f552ed18d70]
#1  0x7f552f210f46 in Shiboken::BindingManager::releaseWrapper(SbkObject*) from /usr/lib/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.14+0x76
#2  /usr/lib/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.14(+0x125e1) [0x7f552f2005e1]
#3  /usr/lib/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.14(+0x12b35) [0x7f552f200b35]
#4  /usr/lib/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.14(SbkDeallocQAppWrapper+0xa) [0x7f552f2018da]
#5  /usr/lib/libpython3.8.so.1.0(+0x128775) [0x7f55316cf775]
#6  /usr/lib/libpython3.8.so.1.0(+0x208a41) [0x7f55317afa41]
#7  /usr/lib/libpython3.8.so.1.0(PySet_New+0x4e4) [0x7f55316d0804]
#8  /usr/lib/libpython3.8.so.1.0(+0x1d813b) [0x7f553177f13b]
#9  /usr/lib/libpython3.8.so.1.0(+0x1d8f92) [0x7f553177ff92]
#10  /usr/lib/libpython3.8.so.1.0(PySymtable_BuildObject+0x194) [0x7f553180d464]
#11  /usr/lib/libpython3.8.so.1.0(PyAST_CompileObject+0x13d) [0x7f553181195d]
#12  /usr/lib/libpython3.8.so.1.0(Py_CompileStringObject+0x67) [0x7f5531813e37]
#13  /usr/lib/libpython3.8.so.1.0(+0x26d0c4) [0x7f55318140c4]
#14  /usr/lib/libpython3.8.so.1.0(+0x1422c2) [0x7f55316e92c2]
#15  /usr/lib/libpython3.8.so.1.0(PyVectorcall_Call+0x70) [0x7f55316e2ac0]
#16  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x58ba) [0x7f553179b38a]
#17  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x3d4) [0x7f5531785f34]
#18  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x39b) [0x7f55317872bb]
#19  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x11aa) [0x7f5531796c7a]
#20  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0xc34) [0x7f5531786794]
#21  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x39b) [0x7f55317872bb]
#22  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7de) [0x7f55317962ae]
#23  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#24  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7de) [0x7f55317962ae]
#25  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#26  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7de) [0x7f55317962ae]
#27  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#28  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x39c) [0x7f5531795e6c]
#29  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#30  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x39c) [0x7f5531795e6c]
#31  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#32  /usr/lib/libpython3.8.so.1.0(+0x156dc8) [0x7f55316fddc8]
#33  /usr/lib/libpython3.8.so.1.0(_PyObject_CallMethodIdObjArgs+0x24d) [0x7f5531765f3d]
#34  /usr/lib/libpython3.8.so.1.0(PyImport_ImportModuleLevelObject+0xb0d) [0x7f55316cd66d]
#35  /usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x4557) [0x7f553179a027]
#36  /usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x1bd) [0x7f55317870dd]
#37  /usr/lib/libpython3.8.so.1.0(PyObject_Call+0x1ed) [0x7f55316e2f2d]
#38  0x7f552f249c4b in PySide::SignalManager::callPythonMetaMethod(QMetaMethod const&, void**, _object*, bool) from /usr/lib/libpyside2.cpython-38-x86_64-linux-gnu.so.5.14+0x9b
#39  /usr/lib/libpyside2.cpython-38-x86_64-linux-gnu.so.5.14(+0x14229) [0x7f552f24e229]
#40  /usr/lib/libQt5Core.so.5(+0x2db252) [0x7f552f7ec252]
#41  0x7f5532d6e255 in Gui::MainWindow::workbenchActivated(QString const&) from /home/senja/freecad-build/lib/libFreeCADGui.so+0x35
#42  0x7f5532d6ed7e in Gui::MainWindow::activateWorkbench(QString const&) from /home/senja/freecad-build/lib/libFreeCADGui.so+0xde
#43  0x7f55329405e2 in Gui::Application::activateWorkbench(char const*) from /home/senja/freecad-build/lib/libFreeCADGui.so+0xbd2
#44  0x7f55329428c0 in Gui::Application::runApplication() from /home/senja/freecad-build/lib/libFreeCADGui.so+0x10b0
#45  ./FreeCAD(main+0x710) [0x55a0b30b18f0]
#46  /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f552ed04023]
#47  ./FreeCAD(_start+0x2e) [0x55a0b30b1bfe]

My FC was built this morning from master:

OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20477 (Git)
Build type: Release
Branch: master
Hash: 7d8ab175a68e476427e6e337fe3099b52da49dc8
Python version: 3.8.2
Qt version: 5.14.1
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

I don’t recommend daily ppa for this mod. It some times couse crashes. You can try appimage version from github.
My system info:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20415 (Git)
Build type: Release
Branch: master
Hash: 7a0606715045a255ef0774e835b0091eef300ac9
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Turkish/Turkey (tr_TR)