discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep observations


From: Andreas Höschler
Subject: Re: GNUstep observations
Date: Fri, 18 Nov 2005 17:53:20 +0100

Hello Adam,

• The first issue can easily be reproduced with Ink.app. Just create 2 new documents and click into the first. The menu is visible. Now click into the second window. The menu vanishes and the second window is not made key yet (wrong). Click on the second window again, now it becomes key and the menu
reappears. This behaviour is wrong.


Can you (and anyone else having Focus problems), run the program with

openapp MyApp.app --GNU-Debug=Focus

and output the results to a file. Also it would be nice to annotate the file to explain what you were doing.

I have redone this, waited a few seconds between each action and manually annotated the output:

Starting the application:
2005-11-18 17:47:08.472 Ink[11381] NOTE: Only one display per host fully supported.
2005-11-18 17:47:08.833 Ink[11381] No key on activation - make menu key
2005-11-18 17:47:08.833 Ink[11381] Setting focus to 4
2005-11-18 17:47:08.906 Ink[11381] Refocusing 4 on map notify
2005-11-18 17:47:08.906 Ink[11381] Setting focus to 4
2005-11-18 17:47:08.907 Ink[11381] take focus:4 (current=0 key=0)
2005-11-18 17:47:08.909 Ink[11381] Making 4 key
2005-11-18 17:47:08.909 Ink[11381] Setting focus to 4
2005-11-18 17:47:08.910 Ink[11381] Focus already set on 4
2005-11-18 17:47:08.911 Ink[11381] 4194354 got focus on 4
2005-11-18 17:47:08.912 Ink[11381] take focus:4 (current=4 key=0)
2005-11-18 17:47:08.912 Ink[11381] Making 4 key
2005-11-18 17:47:08.912 Ink[11381] Setting focus to 4
2005-11-18 17:47:08.912 Ink[11381] Focus already set on 4

Creating first document window:
2005-11-18 17:47:16.470 Ink[11381] take focus:6 (current=4 key=0)
2005-11-18 17:47:16.470 Ink[11381] Ignoring focus request
2005-11-18 17:47:17.688 Ink[11381] Setting focus to 7
2005-11-18 17:47:17.705 Ink[11381] take focus:7 (current=4 key=7)
2005-11-18 17:47:17.706 Ink[11381] Reasserting key window
2005-11-18 17:47:17.706 Ink[11381] Setting focus to 7
2005-11-18 17:47:17.712 Ink[11381] Focus went to 7 (xwin 4194485)
2005-11-18 17:47:17.712 Ink[11381] 4194354 lost focus on 4
2005-11-18 17:47:17.712 Ink[11381] 4194485 got focus on 7
2005-11-18 17:47:17.712 Ink[11381] Focus went to 7 (xwin 4194485)
2005-11-18 17:47:17.713 Ink[11381] 4194485 lost focus on 7
2005-11-18 17:47:17.713 Ink[11381] 4194485 got focus on 7
2005-11-18 17:47:17.713 Ink[11381] take focus:7 (current=7 key=7)
2005-11-18 17:47:17.713 Ink[11381] Reasserting key window
2005-11-18 17:47:17.713 Ink[11381] Setting focus to 7

Creating second document window:
2005-11-18 17:47:27.464 Ink[11381] Setting focus to 8
2005-11-18 17:47:27.477 Ink[11381] take focus:8 (current=7 key=8)
2005-11-18 17:47:27.478 Ink[11381] Reasserting key window
2005-11-18 17:47:27.478 Ink[11381] Setting focus to 8
2005-11-18 17:47:27.484 Ink[11381] Focus went to 8 (xwin 4194515)
2005-11-18 17:47:27.484 Ink[11381] 4194485 lost focus on 7
2005-11-18 17:47:27.484 Ink[11381] 4194515 got focus on 8
2005-11-18 17:47:27.498 Ink[11381] Focus went to 0 (xwin 1048831)
2005-11-18 17:47:27.498 Ink[11381] 4194515 lost focus on 8

None of the windows is key, menu is not visible

Clicking on second window:
2005-11-18 17:47:41.588 Ink[11381] take focus:8 (current=0 key=0)
2005-11-18 17:47:41.589 Ink[11381] Making 8 key
2005-11-18 17:47:41.589 Ink[11381] Setting focus to 8
2005-11-18 17:47:41.597 Ink[11381] Focus already set on 8
2005-11-18 17:47:41.604 Ink[11381] 4194515 got focus on 8
2005-11-18 17:47:41.788 Ink[11381] Focus went to 8 (xwin 4194515)
2005-11-18 17:47:41.789 Ink[11381] 4194515 lost focus on 8
2005-11-18 17:47:42.670 Ink[11381] 4194515 got focus on 8
2005-11-18 17:47:42.673 Ink[11381] take focus:4 (current=8 key=8)
2005-11-18 17:47:42.673 Ink[11381] Key window is already 8
2005-11-18 17:47:42.673 Ink[11381] Setting focus to 8
2005-11-18 17:47:42.678 Ink[11381] take focus:6 (current=8 key=8)

Second window is key now, menu is visible:

Clicking on first window:
2005-11-18 17:47:56.062 Ink[11381] Setting focus to 7
2005-11-18 17:47:56.067 Ink[11381] Focus went to 7 (xwin 4194485)
2005-11-18 17:47:56.067 Ink[11381] 4194515 lost focus on 8
2005-11-18 17:47:56.067 Ink[11381] 4194485 got focus on 7
2005-11-18 17:47:56.068 Ink[11381] take focus:7 (current=7 key=7)
2005-11-18 17:47:56.068 Ink[11381] Reasserting key window
2005-11-18 17:47:56.068 Ink[11381] Setting focus to 7
2005-11-18 17:47:56.073 Ink[11381] Focus went to 0 (xwin 1048831)
2005-11-18 17:47:56.073 Ink[11381] 4194485 lost focus on 7

None of the windows is key, menu is not visible

Reclicking on first window:
2005-11-18 17:48:02.655 Ink[11381] Setting focus to 7
2005-11-18 17:48:02.670 Ink[11381] Focus already set on 7
2005-11-18 17:48:02.677 Ink[11381] 4194485 got focus on 7
2005-11-18 17:48:02.678 Ink[11381] take focus:7 (current=7 key=7)
2005-11-18 17:48:02.678 Ink[11381] Reasserting key window
2005-11-18 17:48:02.678 Ink[11381] Setting focus to 7
2005-11-18 17:48:02.680 Ink[11381] take focus:4 (current=7 key=7)
2005-11-18 17:48:02.680 Ink[11381] Key window is already 7
2005-11-18 17:48:02.680 Ink[11381] Setting focus to 7
2005-11-18 17:48:02.683 Ink[11381] take focus:6 (current=7 key=7)

First window is key now, menu is visible

Quitting application:
2005-11-18 17:48:09.376 Ink[11381] take focus:4 (current=7 key=7)
2005-11-18 17:48:09.376 Ink[11381] Key window is already 7
2005-11-18 17:48:09.376 Ink[11381] Setting focus to 7
2005-11-18 17:48:09.643 Ink[11381] take focus:7 (current=7 key=0)
2005-11-18 17:48:09.644 Ink[11381] Focus went to 0 (xwin 1048831)
2005-11-18 17:48:09.644 Ink[11381] 4194485 lost focus on 7

Regards,

  Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]