[Top][All Lists]

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

bug#7464: 24.0.50; mouse highlighting vanishes upon unsplitting window

From: Eli Zaretskii
Subject: bug#7464: 24.0.50; mouse highlighting vanishes upon unsplitting window
Date: Fri, 30 Mar 2012 11:57:17 +0300

> From: Stephen Berman <address@hidden>
> Cc: "Jan D." <address@hidden>,  address@hidden,  address@hidden
> Date: Fri, 30 Mar 2012 10:45:13 +0200
> On Fri, 30 Mar 2012 11:00:49 +0300 Eli Zaretskii <address@hidden> wrote:
> >> Date: Fri, 30 Mar 2012 09:43:52 +0200
> >> From: "Jan D." <address@hidden>
> >> CC: Stephen Berman <address@hidden>, address@hidden, 
> >>  address@hidden
> >> 
> >> It probably has something to do with the fact that Gtk+ scrollbars 
> >> aren't handeled by the display engine and we therefore have to force a 
> >> redraw of the scroll bars at certain points so the scrollbars look ok. 
> >> Presumably one of these redraws does something that triggers a redraw of 
> >> mouse highlight?  It might be that a redraw of the scroll bar generates 
> >> some X expose/configuration event that in turn invokes the display 
> >> engine.  I'm just speculating.
> >
> > I think your speculation is exactly right.  Perhaps Stephen or someone
> > else who has access to a GTK build could confirm that an extra
> > redraw of mouse highlight is triggered at some point in this scenario.
> Can you tell me what I have to type in gdb to do this?

Jan, could you please point out where in the sources we force the
redraw of the GTK scroll bars?

> > Anyway, I think it is not important (however interesting and exciting)
> > to determine the exact reason which causes the bug not to appear in
> > the GTK build.  It suffices to say that any non-GTK build suffers from
> > this bug, and suffered in the past (Emacs 23 at least) as well.  I
> > think this information, and the patch that cures the bug I posted
> > earlier, is enough for Chong and Stefan to make the decision whether
> > to install the change now or defer it until after v24.1.
> I think it should be installed now.

I don't disagree; the changes are very minor and cannot do any harm.

reply via email to

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