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

Bug#383649: marked as done (Xaw's tooltips remove timers not belonging to them)



Your message dated Wed, 25 Nov 2009 14:51:22 +0100
with message-id <20091125135122.GA23972@patate.is-a-geek.org>
and subject line Re: Bug#383649: Xaw's tooltips remove timers not belonging to them
has caused the Debian Bug report #383649,
regarding Xaw's tooltips remove timers not belonging to them
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
383649: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383649
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libxaw6
Version: 1:1.0.1-5

Xaw's Tips.c registers and releases timers for tooltips to show,
but does not remember a timer already triggered. Thus it releases
timers no longer belonging to it but to other users of Xt Timeouts
within the same program. (This even happens very often, as Xt reuses
old TimeEventRecs, so the next one adding a timeout will get exactly
this number.)

diff -r -u libxaw-1.0.1.orig/src/Tip.c libxaw-1.0.1/src/Tip.c
--- libxaw-1.0.1.orig/src/Tip.c	2006-08-18 16:07:24.086733000 +0200
+++ libxaw-1.0.1/src/Tip.c	2006-08-18 16:08:02.513875540 +0200
@@ -564,6 +564,7 @@
     info->tip->tip.label = NULL;
     info->tip->tip.international = False;
     info->tip->tip.encoding = 0;
+    info->tip->tip.timer = 0;
     XtSetArg(args[0], XtNtip, &info->tip->tip.label);
     XtSetArg(args[1], XtNinternational, &info->tip->tip.international);
     XtSetArg(args[2], XtNencoding, &info->tip->tip.encoding);

This is the correct bahaviour, as section 7.1.3 of Intrinsic.txt.gz
says:

| Note that timeouts are automatically removed once they trig-
| ger.

src/Repeater.c correctly forgets the timer when it is triggered, but
src/StripChart.c does very strange things with Xt Timeouts, which
very likely will have similar problems.

Hochachtungsvoll,
	Bernhard R. Link


--- End Message ---
--- Begin Message ---
Version: 2:1.0.7-1

On Fri, Aug 18, 2006 at 16:29:10 +0200, Bernhard R. Link wrote:

> Xaw's Tips.c registers and releases timers for tooltips to show,
> but does not remember a timer already triggered. Thus it releases
> timers no longer belonging to it but to other users of Xt Timeouts
> within the same program. (This even happens very often, as Xt reuses
> old TimeEventRecs, so the next one adding a timeout will get exactly
> this number.)
> 
Sigh, forgot to close this from the changelog.  Applied upstream in
1.0.7, uploaded today to unstable.  Thanks for the patch, and sorry for
the delay on this one!

Cheers,
Julien


--- End Message ---

Reply to: