Autocad keeps stealing focus. How do I make this stop?
Autocad LT
Version Q. 111.0.0 AutoCAT LT 2020.1.3
Windows 10
Happens maybe once an hour. I could be working in Excel or whatever and up pops the Autocad screen. Even if there isn't a drawing loaded in Autocad.
How do I make this stop?
Tom
@ferdi.jafar wrote:
This is a quick fix, in the command line type 'taskbar' and change the value to '0'
This doesn't help. Still doing it.
Have 5 users on 2022.1 for several weeks now, all 5 experiencing the issue, 3 using Logitech wireless "Lightspeed" G-Series, 2 using basic Logitech wired mouse. SAVETIME set to 10 for all users. Not been able to find a sequence of events yet that will reproduce the issue on demand. No one saw the issue until install of 2022.1 update but given the little time spent on initial version of 2022, cannot confirm the issue is only with 2022.1 update. The issue never occurred with exact same setup on 2021, 2020, 2019... with 20 users working daily. We do utilize custom LISP and third party plug-ins. When time allows, will see if issue occurs with barebones default install of 2022.1.
Hi, I've had this issue in Autocad and Plant 3D. I suspect it is caused by the Start Tab displaying. The messages and tips etc update frequently and each time this happens AutoCad steal focus. After disabling the start tab the issue is gone. See this link: How to turn off the Start Tab in AutoCAD | AutoCAD 2020 | Autodesk Knowledge Network
Well that aligns with my observation that it only seems to happen if I don't have a drawing loaded. I'll check it out.
Update...found one of the factors responsible for our situation and was able to develop workaround.
Our system utilizes a DWG reactor (Save Complete) which gets executed with QSAVE and Ctrl+S but also with each Auto Save. It appears the execution of a this reactor will cause some computer systems to treat it as a more elevated task, bringing focus to AutoCAD over other apps. This behavior started with 2022.1 for our office, all previous versions still do not steal focus despite having same reactor. Reactors are defined using Visual LISP so this may not be applicable to LT.
You can easily check if you have a DWG reactor active by typing (vlr-reactors) at the command line. If it returns nil, you don't, if returns ((:VLR-DWG-Reactor #<VLR-DWG-Reactor>)), then you do.
Our workaround was to disable this reactor by deleting the code that defined this reactor, in our case it was in <enterprise>.MNL file. It could also be in any of the files loading LISP code at startup, such as ACAD.LSP.
I've been having this problem for years now. Autocad steals focus at least 2 times when opening a file, so it's impossible to work in another application without being jerked back mid-typing. Even when Autocad is open with no other files open, it randomly steals focus from other applications.
I'm not sure why there's any question about if it's doing it. I'd also like a fix.
It does seem to coincide with the Start tab update, but the Start tab is actually somewhat useful and not something I'd like to disable.
Would be nice if the default were for Autocad to just never steal focus from other programs.
Still doing it to me too. Annoying. I think it's related to the start tab too. Possibly when it checks for new announcements.
Check this variable - LISPSYS.
Set it to '0' and see if that helps. It appears to have stopped AutoCAD stealing focus when doing autosaves etc. for us.
I'm having the same issue. AutoCad Mechanical 2022. It's driving me nuts.
just installed 2024. still doing the same thing.
Autodesk has acknowledged reactors will cause focus stealing and, if active, they may be triggered by SYSVARMONITOR checking system variable status even if nothing else is being done that would:
https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Civil-3D-Window-be...
Our office uses reactors to log significant events in AutoCAD (save, open, saveas, etc.) and I use SYSVARMONITOR to make sure I know when AutoCAD (bless their heart) has changed a system variable to match THEIR preferred setting instead of mine.
Does anyone know how I can keep using reactors with SYSVARMONITOR without SYSVARMONITOR's checks triggering focus stealing?
Perhaps Autodesk could have a look at their code which is ultimately responsible for this!?
If not, does anyone know how to query windows to determine what window has focus? Perhaps I can capture the last window that had focus and return focus to that window as part of my reactors?
@hencoop wrote:
Autodesk has acknowledged reactors will cause focus stealing and, if active, they may be triggered by SYSVARMONITOR checking system variable status even if nothing else is being done that would:
https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Civil-3D-Window-be...Our office uses reactors to log significant events in AutoCAD (save, open, saveas, etc.) and I use SYSVARMONITOR to make sure I know when AutoCAD (bless their heart) has changed a system variable to match THEIR preferred setting instead of mine.
Does anyone know how I can keep using reactors with SYSVARMONITOR without SYSVARMONITOR's checks triggering focus stealing?
Perhaps Autodesk could have a look at their code which is ultimately responsible for this!?
If not, does anyone know how to query windows to determine what window has focus? Perhaps I can capture the last window that had focus and return focus to that window as part of my reactors?
We're not seeing any issues like that here in AutoCAD/LT/ARCH 2020-21-22-23-24 in Win10 over over the years since this topic started, and we all use SYSVARMONITOR extensively.
Considering this post started in the year 2020 there is not going to be a universal solution, but perhaps a more focused local one to each sufferer. These look promising if you wish to explore
https://superuser.com/questions/1603097/prevent-any-app-from-stealing-focus-in-windows
https://superuser.com/questions/1622725/prevent-apps-from-putting-themselves-in-the-foreground
I see lots of recommendation for 3rd party tools too https://www.thewindowsclub.com/prevent-applications-from-stealing-focus#:~:text=Use%20WindowFocusLog....
Best of luck.
Continuing this topic:
R2024 LT on w10
My workstation steals focus when an Auto sv$ event occurs.
Other workstations here with R2024 LT seem to be fine.
I do not have any type of reactor linking to any type of save event.
I have turned TASKBAR to 0 and STARTMODE to 0.
Another issue is one of my programs calls (TEXTPAGE).
The text page turns on momentarily, then closes.
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.
Can't find what you're looking for? Ask the community or share your knowledge.