discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Preview window keeping focus

S
shadowwynd
Thu, Jun 21, 2018 2:08 PM

PC#1: AMD A8, Win7 Home 64bit, 16GB RAM, AMD Radeon GPU.
PC#2: Intel i7, Win7 Pro 64bit, 16GB RAM, AMD Radeon GPU.

I have been having a random issue on two different computers regarding
OpenSCAD.  At some point - usually days - the preview window on OpenSCAD get
focus (such as rotating a model) and then doesn't give it back; I can still
rotate the model but nothing else in the menubar or editor responds to
keyboard or mouse clicks.

I have noticed that this issue seems to have some relationship to other
programs running on the system.  Sometimes if I close out Vivaldi (Chromium
based browser), this causes the OpenSCAD issue to temporarily resolve
(perhaps enough to save my work).  Other times closing Notepad++ or Word
might fix the issue temporarily.

Once it starts doing it, a system reboot is the only way to really fix it.
Closing OpenSCAD and restarting it does nothing to fix the problem.
OpenSCAD loads, but the problem remains and the editor and menubar will not
take clicks / keystrokes.  It requires a full reboot.  The last time this
happened, I upgraded from the December 2017 build (I think) to the June 2018
build.  I made sure OpenSCAD was closed, installed the new version.  I could
open the Preferences tab (hadn't previewed a model yet) - and while I could
scroll up and down (with the mousewheel) in the preferences, I couldn't
click anything - I could not interact with the preference elements or click
on the scroll bar.  After a reboot everything works fine.

OpenSCAD is the only program that seems to be affected this way.  It is a
random issue and I haven't identified a trigger other than hitting F5 to
preview a model.

Thoughts?  Anyone else hit this snag?

--
Sent from: http://forum.openscad.org/

PC#1: AMD A8, Win7 Home 64bit, 16GB RAM, AMD Radeon GPU. PC#2: Intel i7, Win7 Pro 64bit, 16GB RAM, AMD Radeon GPU. I have been having a random issue on two different computers regarding OpenSCAD. At some point - usually days - the preview window on OpenSCAD get focus (such as rotating a model) and then doesn't give it back; I can still rotate the model but nothing else in the menubar or editor responds to keyboard or mouse clicks. I have noticed that this issue seems to have some relationship to other programs running on the system. Sometimes if I close out Vivaldi (Chromium based browser), this causes the OpenSCAD issue to temporarily resolve (perhaps enough to save my work). Other times closing Notepad++ or Word might fix the issue temporarily. Once it starts doing it, a system reboot is the only way to really fix it. Closing OpenSCAD and restarting it does nothing to fix the problem. OpenSCAD loads, but the problem remains and the editor and menubar will not take clicks / keystrokes. It requires a full reboot. The last time this happened, I upgraded from the December 2017 build (I think) to the June 2018 build. I made sure OpenSCAD was closed, installed the new version. I could open the Preferences tab (hadn't previewed a model yet) - and while I could scroll up and down (with the mousewheel) in the preferences, I couldn't click anything - I could not interact with the preference elements or click on the scroll bar. After a reboot everything works fine. OpenSCAD is the only program that seems to be affected this way. It is a random issue and I haven't identified a trigger other than hitting F5 to preview a model. Thoughts? Anyone else hit this snag? -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Fri, Jun 22, 2018 2:28 AM

Interesting, I though my PC (W7/64) was flaky.
I get the same thing with OpenSCAD from time to time.
Are you perhaps an Autohotkey user? That is what I seem to associate it
with.
If I reload a script it seems to recover, but not always.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Interesting, I though my PC (W7/64) was flaky. I get the same thing with OpenSCAD from time to time. Are you perhaps an Autohotkey user? That is what I seem to associate it with. If I reload a script it seems to recover, but not always. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
S
shadowwynd
Fri, Jun 22, 2018 2:54 AM

I am using AutoHotKey.  I will try reloading scripts or terminating AHK the
next time it goes screwy and see if that helps anything.

Glad to know it isn't just me.

--
Sent from: http://forum.openscad.org/

I am using AutoHotKey. I will try reloading scripts or terminating AHK the next time it goes screwy and see if that helps anything. Glad to know it isn't just me. -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Fri, Jun 22, 2018 3:03 AM

This is purely random neural associations, but I suspect the AHK keyboard
hooks may be involved.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

This is purely random neural associations, but I suspect the AHK keyboard hooks may be involved. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
G
Gadgetmind
Fri, Jun 22, 2018 12:54 PM

On 21/06/18 15:08, shadowwynd wrote:

Once it starts doing it, a system reboot is the only way to really fix it.

Have you tried killing explorer so that it then auto restarts? I have an
AHK shortcut for this!

Failing that, logging out and back in is often quicker than a reboot and
fixes most things.

On 21/06/18 15:08, shadowwynd wrote: > Once it starts doing it, a system reboot is the only way to really fix it. Have you tried killing explorer so that it then auto restarts? I have an AHK shortcut for this! Failing that, logging out and back in is often quicker than a reboot and fixes most things.