Page 1 of 1

How to disable auto active document switching?

Posted: Wed Jun 29, 2022 3:13 am
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

Re: How to disable auto active document switching?

Posted: Wed Jun 29, 2022 6:41 am
by openBrain
Moved to Link branch.
Hard to tell without a clear process to reproduce.
May that be Std TreeSyncView :?:

Re: How to disable auto active document switching?

Posted: Wed Jun 29, 2022 6:52 am
by chrisb
Please check the master version if it does the same.

Re: How to disable auto active document switching?

Posted: Wed Jun 29, 2022 7:09 am
by bambuko
I have just tested both master and link and using latest edge snap as well as appimage and cannot replicate :?

Re: How to disable auto active document switching?

Posted: Wed Jun 29, 2022 7:51 am
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).

Re: How to disable auto active document switching?

Posted: Wed Jun 29, 2022 9:09 am
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 937 times