Modern UI

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
hwalseng
Posts: 11
Joined: Tue Jan 07, 2020 11:14 pm

Re: Modern UI

Post by hwalseng »

Great work HakanSeven12 :)

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 :D

FreeCAD version info:

Code: Select all

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)
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

hwalseng wrote: Tue Apr 07, 2020 12:39 pm Great work HakanSeven12 :)
Thanks :)
hwalseng wrote: Tue Apr 07, 2020 12:39 pm
  • A dialog, menu or setting where one can choose which workbenches that are shown
I will work for it when I have time
hwalseng wrote: Tue Apr 07, 2020 12:39 pm
  • Possibility to enable autohide only for the bottom or side dialog
not as you want but a 'AH' button at the right bottom. It enable and disable autohide for all docks.
hwalseng wrote: Tue Apr 07, 2020 12:39 pm 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.
If you click area above modern menu you can select toolbar you want.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Modern UI

Post by bitacovir »

HakanSeven12 wrote: Mon Apr 06, 2020 2:27 pm I need an icon for home tab. Anyone want to help?
Hi. I can help you. What idea do you have in mind?
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

bitacovir wrote: Tue Apr 07, 2020 1:52 pm Hi. I can help you. What idea do you have in mind?
Hi :) I wanted to add a home tab but I give up. Thank you
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

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?
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Modern UI

Post by kisolre »

Tried for one session. Sketcher diameter/radius constraints can not be changed. Sorry if it was discussed before, did not read the whole thread...
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

kisolre wrote: Tue Apr 07, 2020 7:52 pm 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.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

kisolre wrote: Tue Apr 07, 2020 7:52 pm Tried for one session. Sketcher diameter/radius constraints can not be changed. Sorry if it was discussed before, did not read the whole thread...
I fixed it. I think all functions are available now.


dropdown menu.png
dropdown menu.png (97.26 KiB) Viewed 2561 times

dropdown menu2.png
dropdown menu2.png (139.83 KiB) Viewed 2553 times
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: Modern UI

Post by babaroga »

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.

Code: Select all

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:

Code: Select all

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)
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Modern UI

Post by HakanSeven12 »

babaroga wrote: Wed Apr 08, 2020 8:50 am Hello,
Your UI looks really great. However, I get Segmentation fault on startup. Any Ideas?
I don't recommend daily ppa for this mod. It some times couse crashes. You can try appimage version from github.
My system info:

Code: Select all

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)
Post Reply