Bug? v.18 SpaceMouse now requires click in view

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
davidhbrown
Posts: 19
Joined: Fri Jan 12, 2018 6:08 am

Bug? v.18 SpaceMouse now requires click in view

Post by davidhbrown »

In v.17, I could rotate/translate the view using the 3Dconnexion SpaceMouse while adjusting the model properties. This was a delightful timesaving feature.

In v.18, the SpaceMouse cannot change the view until I click in the view windowpane. This is very tedious, particularly when doing tasks such as adding numerous edges for a fillet or chamfer.

Steps to reproduce
  1. OpenFreeCad 0.18
  2. Press the "create new document" button
  3. Click to select the "Unnamed" document tree in the Combo View / Model
  4. Attempt to rotate the view using the SpaceMouse
  5. Notice that the X/Y/Z axis rotation indicator and NavCube are not moving; the SpaceMouse has no effect :(
Contrast to what I feel is a preferred behavior in 0.17:
  1. OpenFreeCad 0.17
  2. Press the "create new document" button
  3. Click to select the "Unnamed" document tree in the Combo View / Model
  4. Attempt to rotate the view using the SpaceMouse
  5. Notice that the X/Y/Z axis rotation indicator DOES move in response to the SpaceMouse :D
FreeCAD version 0.18 information
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

FreeCAD version 0.17 information
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

Neither the Python nor the Report consoles seem to have anything relevant to say. I have attached log files for each version, though I didn't see anything particularly informative there.

Thank you for your time and consideration.
Attachments
FreeCAD-v18.log
(15.14 KiB) Downloaded 30 times
FreeCAD-v17.log
(15.36 KiB) Downloaded 32 times
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Bug? v.18 SpaceMouse now requires click in view

Post by jmaustpc »

have you tried it in the latest FreeCAD 0.19 dev snapshot?
User avatar
davidhbrown
Posts: 19
Joined: Fri Jan 12, 2018 6:08 am

Re: Bug? v.18 SpaceMouse now requires click in view

Post by davidhbrown »

Just did; thanks for the suggestion. Unfortunately, the 0.19_pre behavior is currently the same as in 0.18. Here's the version info for the binary I downloaded:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17433 (Git)
Build type: Release
Branch: master
Hash: 125380ddd9a1fdeb45ffc736040dad1f6343daa4
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

[Edit: I had previously downloaded 0.19.17352 because I can't read long numbers apparently... re-tested with what I think is the latest binary for real this time, dated July 17.)

(I probably would be able to set up the build environment to help test if that would be helpful at some point.)
grooveman
Posts: 42
Joined: Fri Jul 05, 2019 3:29 pm

Re: Bug? v.18 SpaceMouse now requires click in view

Post by grooveman »

I have noticed this same behavior in Linux using the App image. Both the fixed version 18 and 19 show this behavior.

While I'd prefer to not have to click, I'm very grateful that the spacemouse support has been restored to the appimage. If the requirement of the "click" that david mentions could be removed, however, that would be optimal. Perhaps some people like this, in which case, maybe it can be a configurable option?
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Bug? v.18 SpaceMouse now requires click in view

Post by jmaustpc »

Its a guess on my part, I don't own a spacenav device or know much about it, but I'll bet it's somehow related to the update from QT4 to QT5.

As far as I know, we have not deliberately changed the behaviour.

Have you two tried working with different FreeCAD Navigation Styles to see if that effects it at all?

If you guys can work out what code needs changing where, we would most likely fix this immediately, at least in Master (0.19dev).
Brutha
Posts: 221
Joined: Mon May 04, 2015 1:50 pm

Re: Bug? v.18 SpaceMouse now requires click in view

Post by Brutha »

To add another datapoint, there is the same behaviour on Mac in a 0.19 version I compiled myself (to allow SpaceMouse) support.

Code: Select all

OS: macOS 10.14
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17469 (Git)
Build type: Release
Branch: master
Hash: 96b74022e3681c9e5bde88ea72ae9c412e25ed20
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Brutha
Posts: 221
Joined: Mon May 04, 2015 1:50 pm

Re: Bug? v.18 SpaceMouse now requires click in view

Post by Brutha »

To another bit of info, on Mac the SpaceNavigator is unresponsive whenever of the other windows apart from the 3d port has focus (on the Mac, it gets a blue line around the window).
User avatar
davidhbrown
Posts: 19
Joined: Fri Jan 12, 2018 6:08 am

Re: Bug? v.18 SpaceMouse now requires click in view

Post by davidhbrown »

I'm not sure exactly when this was fixed in 0.19... or even if it was a FreeCAD change as there have been Windows updates, too, but I no longer have to click in the 3D view to manipulate it with the SpaceMouse. I can even be editing a property field and adjust the view.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22270 (Git)
Build type: Release
Branch: master
Hash: 45d28c2367f5714cf5463b3373979c2a6f2779bf
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Bug? v.18 SpaceMouse now requires click in view

Post by wmayer »

There was a ticket in the bug track for this issue: issue #0004372
It was fixed with this change git commit 645cbd6b43c7
Post Reply