[Macro] AutoHide Docks

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [Macro] AutoHide Docks

Post by openBrain »

HakanSeven12 wrote: Mon Mar 30, 2020 11:04 am How can I kill event filter :roll:
removeEventFilter() is your friend there. ;)
openBrain wrote: Mon Mar 30, 2020 10:17 am [*]When I have 2 widgets on the same area (eg. Report view and Python console on the bottom), only the hovered one is displayed. This would be better that all widgets of the shown area are shown
I think it is better to see only the hovered one in full dock size.
A bit weird, no ? :)
autohide.gif
autohide.gif (332.76 KiB) Viewed 957 times
add your list to github issue :)
I'll do
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

openBrain wrote: Mon Mar 30, 2020 12:47 pm A bit weird, no ? :)
:D I mean when you hover on the pyhon console, report will be hidden and consol expand all area at the bottom
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

Updated
openBrain wrote: Mon Mar 30, 2020 10:17 am [*]No way to kill AutoHide feature other than restarting FC !
[*]Once macro is active, I can't no more enable/disable dock widgets !
They are fixed

I added a button to statusbar for active/deactive


Button.png
Button.png (79.94 KiB) Viewed 936 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Macro] AutoHide Docks

Post by Kunda1 »

HakanSeven12 wrote: Mon Mar 30, 2020 3:01 pm They are fixed
...
I added a button to statusbar for active/deactive
Awesome!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

Kunda1 wrote: Mon Mar 30, 2020 5:11 pm Awesome!
Thanks 🙂
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

[*]When I have 2 widgets on the same area (eg. Report view and Python console on the bottom), only the hovered one is displayed. This would be better that all widgets of the shown area are shown
Fixed


multi.png
multi.png (93.58 KiB) Viewed 869 times
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: [Macro] AutoHide Docks

Post by easyw-fc »

Unfortunately the Macro seems not to be compatible with my WBs like KicadStepUp, Defeaturing and Manipulator.
FreeCAD crashes with a segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

easyw-fc wrote: Tue Mar 31, 2020 9:04 am Unfortunately the Macro seems not to be compatible with my WBs like KicadStepUp, Defeaturing and Manipulator.
FreeCAD crashes with a segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
Do your WBs use their own qdockwidgets?
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: [Macro] AutoHide Docks

Post by easyw-fc »

HakanSeven12 wrote: Tue Mar 31, 2020 9:12 am
easyw-fc wrote: Tue Mar 31, 2020 9:04 am Unfortunately the Macro seems not to be compatible with my WBs like KicadStepUp, Defeaturing and Manipulator.
FreeCAD crashes with a segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
Do your WBs use their own qdockwidgets?
yes,
you can see or test them directly from the Addons tools
https://wiki.freecadweb.org/Manipulator_Workbench
https://wiki.freecadweb.org/Defeaturing_Workbench
https://wiki.freecadweb.org/KicadStepUp_Workbench
or at GH
https://github.com/easyw?tab=repositories
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Macro] AutoHide Docks

Post by HakanSeven12 »

I dont have any issue. Why macro doesn't work like on windows on linux :roll:


test.png
test.png (100.95 KiB) Viewed 848 times
Post Reply