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 <[email protected]>: > > > > > > 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 > > > [email protected] > > > https://lists.gnu.org/mailman/listinfo/discuss-gnustep > > <change.patch>_______________________________________________ > > Discuss-gnustep mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnustep >
2017-01-29 00:13:00.857 FisicaLab[3191:3191] 48234804 PropertyNotify - '_GNUSTEP_WM_ATTR' 2017-01-29 00:13:00.858 FisicaLab[3191:3191] 48234804 PropertyNotify - '_MOTIF_WM_HINTS' 2017-01-29 00:13:00.858 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ICON' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_SYNC_REQUEST_COUNTER' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_PROTOCOLS' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - '_GNUSTEP_WM_ATTR' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_WINDOW_TYPE' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NAME' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_ICON_NAME' 2017-01-29 00:13:00.859 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ICON_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - '_GNUSTEP_WM_ATTR' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_ICON_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ICON_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - '_GNUSTEP_WM_ATTR' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NAME' 2017-01-29 00:13:00.860 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_ICON_NAME' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_NAME' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ICON_NAME' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NORMAL_HINTS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NORMAL_HINTS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NORMAL_HINTS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_HINTS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_PROTOCOLS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NORMAL_HINTS' 2017-01-29 00:13:00.861 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_NORMAL_HINTS' 2017-01-29 00:13:00.897 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ALLOWED_ACTIONS' 2017-01-29 00:13:00.897 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ALLOWED_ACTIONS' 2017-01-29 00:13:00.897 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_ALLOWED_ACTIONS' 2017-01-29 00:13:00.897 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_STATE' 2017-01-29 00:13:00.899 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_DESKTOP' 2017-01-29 00:13:00.907 FisicaLab[3191:3191] 48234804 PropertyNotify - 'WM_STATE' 2017-01-29 00:13:00.908 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_STATE' 2017-01-29 00:13:00.908 FisicaLab[3191:3191] 48234804 ConfigureNotify x:976 y:149 w:62 h:16 b:0 T 2017-01-29 00:13:00.909 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_STATE' 2017-01-29 00:13:00.909 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_STATE' 2017-01-29 00:13:00.915 FisicaLab[3191:3191] 48234804 PropertyNotify - '_NET_WM_STATE' 2017-01-29 00:13:00.916 FisicaLab[3191:3191] 48234804 MapNotify 2017-01-29 00:13:00.918 FisicaLab[3191:3191] 48234804 VisibilityNotify 0 2017-01-29 00:13:00.918 FisicaLab[3191:3191] 48234804 Expose 2017-01-29 00:13:00.918 FisicaLab[3191:3191] Expose frame 0 0 62 16 2017-01-29 00:13:00.919 FisicaLab[3191:3191] Send NSEvent type: 13 to <GSTTPanel: 0x219ad40>Number: 49 Title: Window
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
