Calling on all developers to check the 0.21 Release notes...

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Calling on all developers to check the 0.21 Release notes...

Post by Jolbas »

Roy_043 wrote: Thu Jun 08, 2023 7:55 am @Jolbas I have updated the Navigation_Cube page, and also the item on the Release_notes_0.21 page. If you have the time, please check. Thanks.
Thanks! Looks very good. I will have a look att those offset parameters.
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Calling on all developers to check the 0.21 Release notes...

Post by Jolbas »

@Roy_043 OffsetX and OffsetY works as intended in my tests. OffsetX is added to the margin to the left or right side of the window and OffsetY is added to the margin to the top or bottom. What happened in your test and what is your expected behaviour?
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Calling on all developers to check the 0.21 Release notes...

Post by Roy_043 »

Only the position of the Navigation Cube in the current 3D view is updated. Create a new view or restart FreeCAD and OffsetX and OffsetY are ignored. I would also expect that dragging the cube updates these parameters.

Code: Select all

OS: Windows 8 build 9600
Word size of FreeCAD: 64-bit
Version: 0.21.0.33321 (Git)
Build type: Release
Branch: master
Hash: 1d61ed187c9633702818c6cc5d7a1f07dd052ca8
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C) [ OS: Dutch/Netherlands (nl_NL) ]
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Calling on all developers to check the 0.21 Release notes...

Post by Jolbas »

Ah. I submitted a fix for the first problem https://github.com/FreeCAD/FreeCAD/pull/9746. The second suggestion needs some elaboration and discussion. Maybe start a separate thread or a github issue for that.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Calling on all developers to check the 0.21 Release notes...

Post by adrianinsaval »

Roy_043 wrote: Thu Jun 08, 2023 4:27 pm I would also expect that dragging the cube updates these parameters.
I don't see this as desired behavior, dragging the navicube is purposefully a temporary modification, perhaps to move it out of the way for a short time.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Calling on all developers to check the 0.21 Release notes...

Post by chrisb »

adrianinsaval wrote: Thu Jun 08, 2023 5:59 pm
Roy_043 wrote: Thu Jun 08, 2023 4:27 pm I would also expect that dragging the cube updates these parameters.
I don't see this as desired behavior, dragging the navicube is purposefully a temporary modification, perhaps to move it out of the way for a short time.
In other places changes via GUI change the preferences as well, and it seems quite natural to move the navicube via the GUI to its desired position.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply