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

Bug#94713: marked as done (xbase-clients: [xmessage] gets its widget hierarchy wrong)



Your message dated Tue, 11 May 2010 16:47:38 +0200
with message-id <20100511144738.GA27832@radis.liafa.jussieu.fr>
and subject line Re: Bug#94713: Returned mail: <M.Buckett@dcs.hull.ac.uk>: Recipient address rejected: Unknown user (from barracudas.hull.ac.uk)
has caused the Debian Bug report #94713,
regarding xbase-clients: [xmessage] gets its widget hierarchy wrong
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.)


-- 
94713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=94713
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xbase-clientsVersion: 4.0.2-13

I found this bug in the stable xcontrib package but have submitted to bug for
xbase-clients as xmessage seems to have moved between the two packages.

xmessage package seems to have a bug and here is a fix:
in xmessage/makeform.c

300c300
<       XtVaSetValues(text, XtNwidth, width, XtNheight, height, NULL);
---
>       XtVaSetValues(XtParent(text), XtNwidth, width, XtNheight, height,
NULL);

xmessage -fg green

doesn't give green text in the message box.

Explanation:

xmessage included in the xcontrib package for my debian distribution
seemed to have a problem displaying a message. All I would get was a
white empty box and the Okay message but the box was the correct size
for the text. I discovered that this was due to my Xresources setup as
clearing them displayed the message correctly. No matter how I tried I
did not seem to be able to keep my Xresources and have xmessage work.

Looking at the source and comparing it with xmotd (both use asciiTextWidget) I
discovered that xmessage made a different call to set the values of the widget,
so I made xmessage the same and hey presto it works. I'm no X programmer so I'm
not sure how correct this is but it seems to work.



--- End Message ---
--- Begin Message ---
On Mon, Apr  9, 2007 at 17:51:39 +0200, Brice Goglin wrote:

> forwarded 94713 https://bugs.freedesktop.org/show_bug.cgi?id=10573
> thank you
> 
> The submitter's address is invalid but the bug and patch were clear
> enough to forward upstream anyway.
> 
Quoting from the upstream reply:
"It looks strange to me, causes an extra vertical space to be added
below the text in the few test cases I did, and I still don't understand
what problem this patch is supposed to fix. Xt applications can behave
stupidly with stupid resources, so I'm more inclined to label this as an
user error than as a real problem that needs a patch."

Closing this bug.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: