How to disable auto active document switching?

Report observations made with the new Toponaming branch.
Post Reply
Vasten
Posts: 23
Joined: Wed May 18, 2022 9:00 pm

How to disable auto active document switching?

Post by Vasten »

I and a friend often have the problem of performing action causes a page jump

>>> # App.setActiveDocument("x")
>>> # App.ActiveDocument=App.getDocument("x")
>>> # Gui.ActiveDocument=Gui.getDocument("x")

Away from the doc I'm working on and into some other doc for seemingly no reason.. how do i disable this auto page skip?

I can see the commands in my python window.. but they have o reason to be running.. at least nothing I'm doing.

eg..
i am in doc A
but every time i open a tool it jumps to doc B
the tool is opened on doc A, not doc B
but i have to switch back to the doc A every single time I do something

Can I just disable this auto document switch?
I don‘t have time to play around with "what is causing this.. I just want it to stop deciding itself what doc I'm looking at"

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2022.430.28641 (Git)
Build type: Release
Branch: LinkStage3
Hash: a77045488092c24ece25d63c91f362cbd2181d36
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
openBrain
Veteran
Posts: 7993
Joined: Fri Nov 09, 2018 5:38 pm

Re: How to disable auto active document switching?

Post by openBrain »

Moved to Link branch.
Hard to tell without a clear process to reproduce.
May that be Std TreeSyncView :?:
chrisb
Veteran
Posts: 43699
Joined: Tue Mar 17, 2015 9:14 am

Re: How to disable auto active document switching?

Post by chrisb »

Please check the master version if it does the same.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bambuko
Veteran
Posts: 1549
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: How to disable auto active document switching?

Post by bambuko »

I have just tested both master and link and using latest edge snap as well as appimage and cannot replicate :?
wmayer
Founder
Posts: 18818
Joined: Thu Feb 19, 2009 10:32 am

Re: How to disable auto active document switching?

Post by wmayer »

There is an option where the 3d view of an object will be activated when selecting it in the tree view. You can disable it by unchecking "Sync view" (shortcut is T, 1).
User avatar
bambuko
Veteran
Posts: 1549
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: How to disable auto active document switching?

Post by bambuko »

wmayer wrote: Wed Jun 29, 2022 7:51 am You can disable it by unchecking "Sync view" (shortcut is T, 1).
Thank you!
Screenshot from 2022-06-29 10.05.13.png
Screenshot from 2022-06-29 10.05.13.png (134.27 KiB) Viewed 296 times
Post Reply