box selection changes view

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!
Post Reply
HoWil
Veteran
Posts: 1270
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

box selection changes view

Post by HoWil »

Hello,
The "view position" is changed when I use box selection "Shift-b".
Is there a setting to switch this off?
Please see the attached screenshots to get an idea what I experience and am looking for.
Screenshot from 2017-09-23 07-37-33.png.png
Screenshot from 2017-09-23 07-37-33.png.png (952.24 KiB) Viewed 1111 times
BR,
HoWil

OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12195 (Git)
Build type: None
Branch: master
Hash: f3953a45e3c073c97fe05a10c5871abd25ea1d30
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: box selection changes view

Post by wmayer »

I cannot confirm this behaviour. Here is the relevant callback function and it only alters the selection but not the camera position.

Maybe there is somewhere in a wb a special mode that automatically aligns the selection with the center of the 3d view.

It sounds strange but you should also make sure that the viewer's camera really doesn't change. You can add a reference object which you won't select and this must not move then or print the camera settings with: Gui.ActiveDocument.ActiveView.getCamera().
In the past I have observe similar issues when a model was weirdly broken or the OpenGL rendering didn't work like expected.
chrisb
Veteran
Posts: 52147
Joined: Tue Mar 17, 2015 9:14 am

Re: box selection changes view

Post by chrisb »

This behaviour has been reported before, although I cannot find the post. It seems to depend on the mouse model. Which one do you use?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 52147
Joined: Tue Mar 17, 2015 9:14 am

Re: box selection changes view

Post by chrisb »

A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
HoWil
Veteran
Posts: 1270
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: box selection changes view

Post by HoWil »

It's touchpad navigation... Same as in the report... Thx for digging it out.
BR
Howil
Post Reply