Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 24 posts ] Go to page 1, 2  Next
Author Message
 Post subject: Window Focus Problem
PostPosted: Thu Nov 19, 2015 11:31 am 
Offline

Joined: Thu Nov 19, 2015 11:25 am
Posts: 6
Hi there;

I have an annoying problem. When i select a window (not currently in focus) from taskbar, window gets the focus but suddenly focus changes and i return the previous selected window. This problem does not occur every time.

If I exit from Nexus, everything returns to normal.

I am using fully updated win7 SP1 and latest free version of Nexus.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Thu Nov 19, 2015 11:43 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Download THIS zip file and just run the program inside. It will tell you which program is stealing the focus (if it really is Nexus).

Either way, please let me know.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Sat Nov 21, 2015 8:04 pm 
Offline

Joined: Thu Nov 19, 2015 11:25 am
Posts: 6
Hi there;

Sorry for late reply, I was very busy.

I have uploaded a screenshot of foreground tester which shows the issue. "MS Word" was on focus and I wanted the switch to "ETABS". After left click, ETABS gets the focus for a very short time and suddenly Word gets the focus again. I didn't clicked on Nexus.

Weird thing is, foretester does not show Word's "second focus".


Attachments:
fore.jpg
fore.jpg [ 51.41 KiB | Viewed 26070 times ]
Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Mon Nov 23, 2015 5:42 pm 
Offline

Joined: Wed Aug 05, 2009 3:47 pm
Posts: 914
I'm having the same problem. I ran the software (had to shut off my antivirus and firewall for it to run) and it showed that whether it be my browser, Windows Explorer or any other program, it didn't matter.

As soon as I click on something, the focus immediately switches to another program that is open. As the OP has said, it doesn't happen every time.

For me, it happens about 65-70% of the time.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Tue Nov 24, 2015 8:34 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
kunekainen wrote:
Weird thing is, foretester does not show Word's "second focus".


Apologies for the late reply too.

Perhaps because the window was not really the active window. When you say 'got focus' what really happened? What did you see?

Anyway, what worries me is Nexus showing up between Word and ETABS. Did you switch to ETABS via Nexus or via the Windows taskbar?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Tue Nov 24, 2015 8:56 pm 
Offline

Joined: Thu Nov 19, 2015 11:25 am
Posts: 6
My english is not very good so I want to give a sequence of issue. Softwares are given as examples, the issue is not software dependent:

1- MS Word is active window and I want to switch ETABS
2- I click ETABS software (in the windows taskbar) to make it active
3- ETABS becomes active
4- After a 400-500 miliseconds, MS Word becomes active again so I couldn't swtich to ETABS.

I am not using Nexus as taskbar, I am using win 7 taskbar. And I didn't click on nexus or hover on it during the sequence.

If I exit Nexus, everything becomes normal.

Great software BTW. Thanks for that. Much better than it's alternatives. But this "bug" makes it impossible to use.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Tue Nov 24, 2015 9:08 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
kunekainen wrote:
4- After a 400-500 miliseconds, MS Word becomes active again so I couldn't swtich to ETABS.


What I am trying to figure out (to see if it gives me a clue to what the problem might be) is what 'active' means in this case. You see, a window can be pushed to the top of the z-order (so it appears to be the 'active window') but not have the focus (and that would explain why the foretester application did not pick it up).

So, please reproduce the problem but this time take a look at the windows borders: do they change as if the Word window is indeed the active window or did the Word window simply got 'pushed' to the top of all other windows? If you begin typing, does input go to the Word window or to the ETABS window?

Also, is the Word window maximized? Or it doesn't matter?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Tue Nov 24, 2015 11:09 pm 
Offline

Joined: Thu Nov 19, 2015 11:25 am
Posts: 6
Sorry for misunderstanding. After your post I watched the problem carefully and find out Word window pushed to the top of the z-order and does not have the focus.

I didn't try the issue with scaled (not maximized) windows but I'll try it.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Thu Dec 24, 2015 5:05 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
One thing that just occurred to me: open the dock properties window (or Nexus Preferences if you are running the free version of Nexus), go to the Behavior tab, click the More Options button, disable 'Bring dock forward on mouse over'.

Does this make the problem go away?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 11:13 am 
Offline

Joined: Tue Sep 30, 2014 11:58 pm
Posts: 137
Finally I've found out what is causing this. It's indeed Nexus.
I've searched for so long, killed so many processes, and uninstalled/re-installed so many programs and tools, tried registry changes... but I never came up with the idea that it could be Nexus.
But knowing it doesn't help at all, I'm using Nexus/Workshelf for years, and spent so much time customizing it.
I absolutely don't want to uninstall it.
But this issue is so significant that you can't just ignore it.

It happens all the time - about 80% of time you minimze/restore a window but at random. You have to click on the taskbar again to minimize/resore the window and hope, that this time it doesn't go right into background again.
Imagine you change from windows explorer to your web browser, but right as you want to click a tab, within half of a second, the window disappeares right under your mouse pointer and goes into the background. Through it happens so frequently, it really makes using your computer a horror.

Some basic infos:
Windows 10 Pro x64 Anniversary Update (issue was present before AU)
CPU: Intel Core i7 3930K
RAM: Kingston Hyper X DDR3 32 GB
Mainboard: Gigabyte X79-UP4

If it helps - the problem appears only after a while and can be fixed by restarting Nexus/Workshelf. Then it's gone for some minutes to hours.
This is fully reproducable.

If I can help you in any way solving this, I'll do my best to help.

Edit: overlooked your last post.
Just tested it. I hovered over Nexus to bring it to foreground and that triggered the issue!
I think the focus issue is not present until you hover over Nexus the first time, to bring it to foreground.
This would explain why it happens "minutes to hours" after restarting Nexus.
It's the time span I didn't bring Nexus to foreground.

Now i'll try to disable the function as you suggested. I'm pretty sure it will fix it.
But this is an important function. Otherwise you have to move all the windows out of the way to access Nexus...


Last edited by toniostarcevic on Fri Nov 25, 2016 11:23 am, edited 1 time in total.

Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 11:23 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
toniostarcevic wrote:
If I can help you in any way solving this, I'll do my best to help.


Well, you can help me - but especially yourself - by installing the beta of v16.11 I released just hours ago (you need to go to the Advanced tab of Preferences, enable 'Notify me of beta (test) versions' and then Check for Updates).

I think I nailed this issue. For an explanation read my last post in the 'What's next after v16.9 topic'.

Anyway, please let me know ASAP if the new beta does indeed solve the problem.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 11:29 am 
Offline

Joined: Tue Sep 30, 2014 11:58 pm
Posts: 137
winstep wrote:
toniostarcevic wrote:
If I can help you in any way solving this, I'll do my best to help.


Well, you can help me - but especially yourself - by installing the beta of v16.11 I released just hours ago (you need to go to the Advanced tab of Preferences, enable 'Notify me of beta (test) versions' and then Check for Updates).

I think I nailed this issue. For an explanation read my last post in the 'What's next after v16.9 topic'.

Anyway, please let me know ASAP if the new beta does indeed solve the problem.


Just added something to my last post. I can confirm - it's the "bring to foreground" function.
Alright, I'll check it out. I have to go to work now, and I also have to renew my subscription. (it just ended 2 weeks ago...)
I think I'll do it on saturday or sunday.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 11:36 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
toniostarcevic wrote:
I can confirm - it's the "bring to foreground" function.


Yep, what I fixed had to do with that too. :)

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 12:21 pm 
Offline

Joined: Thu Nov 19, 2015 11:25 am
Posts: 6
Thank you very much. I can use Nexus again.


Back to top
 Profile  
 
 Post subject: Re: Window Focus Problem
PostPosted: Fri Nov 25, 2016 6:37 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
kunekainen wrote:
Thank you very much. I can use Nexus again.


Does that mean you tried the new beta, by any chance? :)

I would like some confirmation that it is indeed fixed (that's one of the reasons betas exist, after all).

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 24 posts ] Go to page 1, 2  Next
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Google [Bot] and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron