Sketcher Bug - Constraint edits in "Inventor style" causes problems

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
fer06137
Posts: 1
Joined: Tue Mar 01, 2016 1:24 pm

Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby fer06137 » Tue Mar 01, 2016 1:57 pm

I love Freecad and have been using it a lot for 3D printing projects.

There is however one bug that is driving me crazy and was hoping someone else could replicate it and let me know if it is not just my setup.

To replicate:
Using Windows with Freecad 15 or 16
Ensure that Freecad is set to "Inventor Navigation"
Open or create a sketch that has a length constraint.
Hold CTRL while double clicking on the value of the constraint in the sketcher plane.
You should get a pop-up to change the value. Change it and hit OK
The mouse now locks onto the background and any mouse movements will tilt the sketch. ESC will release but now the mouse pointer goes into a window select mode. ESC sometimes gets it out.
This does not behave the same if you edit the constraint value in the side bar.

This problem is not there when you use Linux and looks like it is limited to Windows. I am using 64 bit for both Windows and Freecad and have seen this on both Windows 7 and 10 systems.

Could someone please repeat and post if they experience the same phenomenon?
User avatar
DeepSOIC
Posts: 7499
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby DeepSOIC » Tue Mar 01, 2016 2:53 pm

I see the same.
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6219 (Git)
Build type: Release
Branch: FreeCAD-DeepSOIC6
Hash: 1aff8d612e303501d401891e75aae8680b8c130f
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1

BTW, check out Gesture navigation style. No holding of Ctrl needed :mrgreen:
jmaustpc
Posts: 9633
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby jmaustpc » Tue Mar 01, 2016 2:55 pm

In the past Inventor style was know to cause issues in Sketcher, I don't personally ever use it, I always stick to the default CAD Style, so anyway I just tried it and now it seems Inventor Navigation Style works fine for me on Linux in Sketcher.

deepsoic posted while I was typing, so perhaps this is a Windows specific matter?



OS: Ubuntu 12.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6523 (Git)
Build type: Release
Branch: master
Hash: ecd6517cb00fcf05edd41a38b3ce1fa8b16ec3ad
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18-dev
wmayer
Site Admin
Posts: 15501
Joined: Thu Feb 19, 2009 10:32 am

Re: Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby wmayer » Tue Mar 01, 2016 4:12 pm

The mouse now locks onto the background and any mouse movements will tilt the sketch. ESC will release but now the mouse pointer goes into a window select mode. ESC sometimes gets it out.
Confirmed. Without having looked the details I assume the point is that because the (modal) dialog pops up the Inventor style doesn't get the last mouse release event and thus gets into an inconsistent state. I often get this also with the Blender style.
User avatar
bejant
Posts: 6061
Joined: Thu Jul 11, 2013 3:06 pm

Re: Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby bejant » Tue Mar 01, 2016 5:02 pm

This issue was submitted to the tracker as issue #2433 by fer06137.
wmayer
Site Admin
Posts: 15501
Joined: Thu Feb 19, 2009 10:32 am

Re: Sketcher Bug - Constraint edits in "Inventor style" causes problems

Postby wmayer » Fri Mar 11, 2016 12:35 pm

It's fixed with git commit 3276049