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 _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
