[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips problem on Gnome 3
From: |
Germán Arias |
Subject: |
Re: Tooltips problem on Gnome 3 |
Date: |
Tue, 31 Jan 2017 00:33:17 -0600 |
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 <germanandre@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 <germanandre@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
>
tooltip-motion-event.txt
Description: Text document
- Re: Tooltips problem on Gnome 3, (continued)
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/11
- Re: Tooltips problem on Gnome 3, Riccardo Mottola, 2017/01/11
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/13
- Re: Tooltips problem on Gnome 3, Fred Kiefer, 2017/01/17
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/18
- Re: Tooltips problem on Gnome 3, Riccardo Mottola, 2017/01/18
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/27
- Re: Tooltips problem on Gnome 3, Fred Kiefer, 2017/01/28
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/29
- Re: Tooltips problem on Gnome 3, Fred Kiefer, 2017/01/29
- Re: Tooltips problem on Gnome 3,
Germán Arias <=
- Re: Tooltips problem on Gnome 3, Fred Kiefer, 2017/01/31
- Re: Tooltips problem on Gnome 3, Germán Arias, 2017/01/31