compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #18136
Re: [Bug 687732] Re: gtk.Label <a href> link-activate signal broken with compiz in natty
On Wed, Jun 1, 2011 at 12:09 PM, Conscious User <conscioususer@xxxxxxxxx> wrote:
> I'm developing an application that uses linked labels a lot, and it
> seems that this bug is not completely solved, it's only happening less
> often. After testing with and without Compiz, I'm more or less convinced
> that links always work when Compiz is off and occasionally do not work
> when Compiz is on.
They won't work when the window is not focused, yes.
Have a look at section 6.3 of the ICCCM for why they can't work:
http://tronche.com/gui/x/icccm/sec-6.html . In order to raise windows
we need to ensure that we can capture button clicks on them (otherwise
click raise won't work on anything other than the titlebar). By doing
this it will trigger a "grab" on the other application and it gets a
LeaveNotify event (the same kind of event that is given when the
cursor leaves the subwindow).
... unfortunately there is a bug in GTK+ where it does not actually
check the *reason* the LeaveNotify event was given, so the link will
not work in the case where we have the grab. I poked through the GTK+
code to try and figure out why this was, but I couldn't get a
substantive answer.
I've changed the compiz code in N to reflect this problem, so now we
do passive button grabs as little as possible, and only on windows
that we actually own.
Let me know if you're still experiencing this problem on focused and
raised windows.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/687732
>
> Title:
> gtk.Label <a href> link-activate signal broken with compiz in natty
>
> Status in Unity:
> Fix Released
> Status in “compiz” package in Ubuntu:
> Fix Released
>
> Bug description:
> The attached test program works fine in maverick but fails in natty.
>
> In a nutshell, when clicking on the link in the label nothing happens in natty but I expect that it prints something
> (which it does in maverick). Oddly keyboard navigation (pressing enter on it) works.
>
--
Sam Spilsbury
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/687732
Title:
gtk.Label <a href> link-activate signal broken with compiz in natty
References