El dom, 29-01-2017 a las 12:12 +0100, Fred Kiefer escribió:
> Thank you for the list. 
> I just looked through the code in NSWindow that handles the expose
> events and we have no additional logging there.
> 
> From what I can see in the event list the posting of the expose event
> and the actual sending of he event to the window happen in the last
> two lines of the log. That is they follow immediately after one
> another. From this I don’t see why replacing the post with a send
> would result in a change. Or did you forget to undo your patch?

No. Currently I have no changes. I reinstall again back and I get the
same output.

> 
> What you could try is to add —GNU-Debug=NSMotionEvent to also log
> mouse moved events.

Attached.

Germán

> 
> Fred
> 
> 
> > Am 29.01.2017 um 07:25 schrieb Germán Arias <germanan...@gmx.es>:
> > 
> > Hi Fred, attached the list of events.
> > 
> > Germán
> > 
> > 
> > El sáb, 28-01-2017 a las 19:41 +0100, Fred Kiefer escribió:
> > > Hi German,
> > > 
> > > thank you for keeping looking into this. You patch actually
> > > suggests
> > > that my impression of this being a timing issue could be correct.
> > > Of
> > > course I have a bit of a problem with sending events out of the
> > > stream. When ever we tried this „solution“ before for some timing
> > > issue, we just moved the problem over to some other event that
> > > wont
> > > get handled correctly. 
> > > The best thing to do now is find out what other events get in the
> > > way
> > > of this one. Maybe there are resizing events or what ever else
> > > that
> > > result in this event not being processed correctly. Could you
> > > please
> > > revert your patch locally and switch on logging of events? I
> > > think
> > > you just need to add "—GNU-Debug=NSEvent“ when starting your
> > > application. Of course the logging of events could itself resolve
> > > the
> > > timing issue, but even then we could see which events get
> > > processed
> > > right before this one. So please switch on the logging and report
> > > back the order of events, when the tooltip window gets displayed.
> > > 
> > > Fred
> > > 
> > > 
> > > > Am 28.01.2017 um 02:23 schrieb Germán Arias <germanan...@gmx.es
> > > > >:
> > > > 
> > > > 
> > > > The attached patch solves the problem for me (tested on
> > > > WindowMaker
> > > > and
> > > > Gnome 3). The problem seems to be the event queue. Not sure if
> > > > this
> > > > change is OK or not.
> > > > 
> > > > Germán
> > > > 
> > > > 
> > > > El mié, 18-01-2017 a las 14:22 +0100, Riccardo Mottola
> > > > escribió:
> > > > > Hi,
> > > > > 
> > > > > Fred Kiefer wrote:
> > > > > > I just committed a tiny change to the window level handling
> > > > > > that
> > > > > > hopefully helps tool tips on other window managers. But I
> > > > > > am
> > > > > > not
> > > > > > very
> > > > > > convinced that you actually have a window type issue here,
> > > > > > from
> > > > > > your
> > > > > > description it sounds more like a timing issue.
> > > > > 
> > > > > I did some more accurate testing on NetBSD/amd64.
> > > > > I noticed by testing on PC's buttons. In my previous mail I
> > > > > said
> > > > > it 
> > > > > consistently not worked, now it works sometimes, sometimes
> > > > > not.
> > > > > 
> > > > > 1) if it does work, it works perfectly
> > > > > 2) if it does not display, the icon disappears and becomes
> > > > > grey,
> > > > > yet 
> > > > > waiting... a couple of seoncs, sometimes more, will make
> > > > > eventually
> > > > > the 
> > > > > tooltip appear and also the icon.
> > > > > 
> > > > > I wonder why the icon is involved at all.
> > > > > 
> > > > > Riccardo
> > > > > 
> > > > > _______________________________________________
> > > > > Discuss-gnustep mailing list
> > > > > Discuss-gnustep@gnu.org
> > > > > https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> > > > <change.patch>_______________________________________________
> > > > Discuss-gnustep mailing list
> > > > Discuss-gnustep@gnu.org
> > > > https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> > <event-tooltip.txt>_______________________________________________
> > Discuss-gnustep mailing list
> > Discuss-gnustep@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
2017-01-30 23:59:02.440 FisicaLab[2560:2560] Send NSEvent type: 13 to 
<NSWindow: 0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:02.440 FisicaLab[2560:2560] Send NSEvent type: 13 to <NSPanel: 
0x2411210>Number: 4 Title: Módulos y elementos
2017-01-30 23:59:02.442 FisicaLab[2560:2560] Send NSEvent type: 13 to 
<NSMenuPanel: 0x2a48150>Number: 46 Title: FisicaLab
2017-01-30 23:59:02.562 FisicaLab[2560:2560] Send NSEvent type: 13 to 
<NSWindow: 0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.057 FisicaLab[2560:2560] 52428843 MotionNotify - 179 48
2017-01-30 23:59:08.058 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.070 FisicaLab[2560:2560] 52428843 MotionNotify - 179 48
2017-01-30 23:59:08.070 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.082 FisicaLab[2560:2560] 52428843 MotionNotify - 178 48
2017-01-30 23:59:08.083 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.094 FisicaLab[2560:2560] 52428843 MotionNotify - 176 48
2017-01-30 23:59:08.095 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.107 FisicaLab[2560:2560] 52428843 MotionNotify - 175 48
2017-01-30 23:59:08.108 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.120 FisicaLab[2560:2560] 52428843 MotionNotify - 173 48
2017-01-30 23:59:08.125 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.134 FisicaLab[2560:2560] 52428843 MotionNotify - 172 47
2017-01-30 23:59:08.134 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.146 FisicaLab[2560:2560] 52428843 MotionNotify - 170 47
2017-01-30 23:59:08.146 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.159 FisicaLab[2560:2560] 52428843 MotionNotify - 169 47
2017-01-30 23:59:08.161 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.171 FisicaLab[2560:2560] 52428843 MotionNotify - 167 47
2017-01-30 23:59:08.172 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.184 FisicaLab[2560:2560] 52428843 MotionNotify - 165 47
2017-01-30 23:59:08.184 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.197 FisicaLab[2560:2560] 52428843 MotionNotify - 164 47
2017-01-30 23:59:08.197 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.209 FisicaLab[2560:2560] 52428843 MotionNotify - 162 47
2017-01-30 23:59:08.211 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.223 FisicaLab[2560:2560] 52428843 MotionNotify - 160 46
2017-01-30 23:59:08.224 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.235 FisicaLab[2560:2560] 52428843 MotionNotify - 159 46
2017-01-30 23:59:08.236 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.248 FisicaLab[2560:2560] 52428843 MotionNotify - 157 46
2017-01-30 23:59:08.249 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.260 FisicaLab[2560:2560] 52428843 MotionNotify - 155 45
2017-01-30 23:59:08.261 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.273 FisicaLab[2560:2560] 52428843 MotionNotify - 154 45
2017-01-30 23:59:08.274 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.287 FisicaLab[2560:2560] 52428843 MotionNotify - 152 45
2017-01-30 23:59:08.288 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.303 FisicaLab[2560:2560] 52428843 MotionNotify - 151 45
2017-01-30 23:59:08.303 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.313 FisicaLab[2560:2560] 52428843 MotionNotify - 150 45
2017-01-30 23:59:08.314 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.324 FisicaLab[2560:2560] 52428843 MotionNotify - 148 45
2017-01-30 23:59:08.325 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.337 FisicaLab[2560:2560] 52428843 MotionNotify - 147 45
2017-01-30 23:59:08.338 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.350 FisicaLab[2560:2560] 52428843 MotionNotify - 145 45
2017-01-30 23:59:08.351 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.364 FisicaLab[2560:2560] 52428843 MotionNotify - 144 45
2017-01-30 23:59:08.366 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.375 FisicaLab[2560:2560] 52428843 MotionNotify - 143 45
2017-01-30 23:59:08.376 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.389 FisicaLab[2560:2560] 52428843 MotionNotify - 142 45
2017-01-30 23:59:08.390 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.401 FisicaLab[2560:2560] 52428843 MotionNotify - 141 44
2017-01-30 23:59:08.405 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.414 FisicaLab[2560:2560] 52428843 MotionNotify - 140 44
2017-01-30 23:59:08.414 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.426 FisicaLab[2560:2560] 52428843 MotionNotify - 138 43
2017-01-30 23:59:08.427 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.440 FisicaLab[2560:2560] 52428843 MotionNotify - 137 43
2017-01-30 23:59:08.444 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.452 FisicaLab[2560:2560] 52428843 MotionNotify - 136 43
2017-01-30 23:59:08.453 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.465 FisicaLab[2560:2560] 52428843 MotionNotify - 134 42
2017-01-30 23:59:08.466 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.478 FisicaLab[2560:2560] 52428843 MotionNotify - 133 42
2017-01-30 23:59:08.481 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.491 FisicaLab[2560:2560] 52428843 MotionNotify - 130 41
2017-01-30 23:59:08.491 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.503 FisicaLab[2560:2560] 52428843 MotionNotify - 128 41
2017-01-30 23:59:08.504 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.515 FisicaLab[2560:2560] 52428843 MotionNotify - 125 41
2017-01-30 23:59:08.516 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.528 FisicaLab[2560:2560] 52428843 MotionNotify - 122 41
2017-01-30 23:59:08.529 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:08.541 FisicaLab[2560:2560] 52428843 MotionNotify - 120 41
2017-01-30 23:59:08.541 FisicaLab[2560:2560] Send move (5) to <NSWindow: 
0x296fbd0>Number: 5 Title: Pizarra
2017-01-30 23:59:09.043 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_GNUSTEP_WM_ATTR'
2017-01-30 23:59:09.043 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_MOTIF_WM_HINTS'
2017-01-30 23:59:09.044 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ICON'
2017-01-30 23:59:09.045 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_SYNC_REQUEST_COUNTER'
2017-01-30 23:59:09.045 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_PROTOCOLS'
2017-01-30 23:59:09.045 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_GNUSTEP_WM_ATTR'
2017-01-30 23:59:09.045 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_WINDOW_TYPE'
2017-01-30 23:59:09.045 FisicaLab[2560:2560] 52429108 PropertyNotify - 'WM_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_ICON_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ICON_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_GNUSTEP_WM_ATTR'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 'WM_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_ICON_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_NAME'
2017-01-30 23:59:09.046 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ICON_NAME'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_GNUSTEP_WM_ATTR'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 'WM_NAME'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_ICON_NAME'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_NAME'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ICON_NAME'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_NORMAL_HINTS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_NORMAL_HINTS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_NORMAL_HINTS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_HINTS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_PROTOCOLS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_NORMAL_HINTS'
2017-01-30 23:59:09.047 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_NORMAL_HINTS'
2017-01-30 23:59:09.074 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ALLOWED_ACTIONS'
2017-01-30 23:59:09.074 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ALLOWED_ACTIONS'
2017-01-30 23:59:09.074 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_ALLOWED_ACTIONS'
2017-01-30 23:59:09.074 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_STATE'
2017-01-30 23:59:09.076 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_DESKTOP'
2017-01-30 23:59:09.081 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'WM_STATE'
2017-01-30 23:59:09.082 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_STATE'
2017-01-30 23:59:09.082 FisicaLab[2560:2560] 52429108 ConfigureNotify x:977 
y:164 w:62 h:16 b:0 T
2017-01-30 23:59:09.082 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_STATE'
2017-01-30 23:59:09.082 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_STATE'
2017-01-30 23:59:09.093 FisicaLab[2560:2560] 52429108 PropertyNotify - 
'_NET_WM_STATE'
2017-01-30 23:59:09.094 FisicaLab[2560:2560] 52429108 MapNotify
2017-01-30 23:59:09.095 FisicaLab[2560:2560] 52429108 VisibilityNotify 0
2017-01-30 23:59:09.096 FisicaLab[2560:2560] 52429108 Expose
2017-01-30 23:59:09.096 FisicaLab[2560:2560] Expose frame 0 0 62 16
2017-01-30 23:59:09.096 FisicaLab[2560:2560] Send NSEvent type: 13 to 
<GSTTPanel: 0x2b087b0>Number: 49 Title: Window
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to