Focus on Mouse Click

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Focus on Mouse Click

Post by mgag »

I am using two displays on Windows XP, with the Navigator docked on display 1 and Zeus running full screen on display 2. I have other open applications on display 1, usually Windows Explorer, Outlook and a Command line window. When I click the mouse over an already open document in the Zeus window (on display 2), the focus is the Navigator in display 1, rather than the document I want to edit in the Zeus main display. Thus I have to double click to return the focus to a document I was editing, rather than an expected single click.

Not a big deal, but annoying.
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Focus on Mouse Click

Post by mgag »

oh yeah, I am using 3.96p.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Unfortunately I can not replicate this :(

What I did to test for this was as follows:
  1. Maximize Zeus to the right screen
  2. Undock the navigator and position it on the left screen
  3. Select the workspace panel as the active panel
  4. Open up a command line prompt, outlook and explorer windows all running on the left screen
  5. Switch to one of the other apps using the taskbar (i.e this hides the Zeus navigator window to the background)
  6. Switch to Zeus by clicking on the document tab, the caption or directly on the document
  7. For me the focus (.e. the cursor caret) always end up in the Zeus document window as expected
What am I missing :?:

Cheers Jussi
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Mouse Focus

Post by mgag »

Yup, thats the right steps. Windows quirk then with my system.... :?
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Mouse Focus

Post by mgag »

I think I found the trigger for the issue. I also put the ctags search results dialog box on display 1 (not the Zeus display), overlapping with the navigator (that doesn't make a difference). Even though I am last in a Zeus document, select outlook, and then select a zeus document again, the focus returns the Search Results dialog, even though it was not the last active focus before I selected Outlook.

BTW, it would be nice to be able to resize the ctags Search Results.

BTW, from our thread on ctags in Suggestions, my ctags database is 160MB in size, thus it does take a while to produce, so it would be nice to schedule that re-build.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I think I found the trigger for the issue. I also put the ctags search results dialog box on display 1 (not the Zeus display), overlapping with the navigator (that doesn't make a difference). Even though I am last in a Zeus document, select outlook, and then select a zeus document again, the focus returns the Search Results dialog, even though it was not the last active focus before I selected Outlook.
Unfortunately I still can't replicate this focus bug :(
BTW, it would be nice to be able to resize the ctags Search Results.
I will add this to the Zeus todo list.
BTW, from our thread on ctags in Suggestions, my ctags database is 160MB in size, thus it does take a while to produce, so it would be nice to schedule that re-build.
The next Zeus patch will have an option to schedule build the tags file once a day ;)

Cheers Jussi
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Post by mgag »

okay, one more clue, I have the Find dialog box open and its on the Zeus window (actually, it doesn't matter where it is). When I click onto Zeus document for editing, the focus goes to the Find dialog box, regardless of whether it was in focus when I selected another application.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I will add this to the Zeus bug list.

Cheers Jussi
Post Reply