GNU bug report logs - #7480
24.0.50 no images in Custom

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Thu, 25 Nov 2010 14:42:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7480 in the body.
You can then email your comments to 7480 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Thu, 25 Nov 2010 14:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Bernoulli <jonas <at> bernoul.li>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 25 Nov 2010 14:42:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50 no images in Custom
Date: Thu, 25 Nov 2010 15:35:40 +0100
In Custom buffers no images are shown for widgets that support it;
instead the respective text representations are shown.
`widget-image-enable' is t and the required images can be found.

I verified that `widget-image-insert' actually does get called when
appropriate and likewise calls `image-insert' .

Evaluating (insert-image (widget-image-find "right") "text") in the
scratch buffer does insert the image there. Setting
`before-change-functions' nil an evaluating the same expression in
Custom buffers also works.

In Custom buffers (text-properties-at (point)) returns

(rear-nonsticky
 (display)
 display
 (image :type xpm :file
"/usr/share/emacs/24.0.50/etc/images/custom/right.xpm" :ascent
center))

on "Show Value" as will as the manually inserted "right" image. I
don't understand in what way they differ that makes them be shown as
image resp. text.

Thanks

-- Jonas




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Fri, 17 Dec 2010 11:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Fri, 17 Dec 2010 19:06:16 +0800
Jonas Bernoulli <jonas <at> bernoul.li> writes:

> In Custom buffers no images are shown for widgets that support it;
> instead the respective text representations are shown.
> `widget-image-enable' is t and the required images can be found.
>
> I verified that `widget-image-insert' actually does get called when
> appropriate and likewise calls `image-insert' .

Could you provide a simple step-by-step recipe for reproducing this bug,
starting from `emacs -Q'?  Your description is not precise enough to
figure out where exactly the problem lies.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Fri, 17 Dec 2010 13:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Fri, 17 Dec 2010 14:24:25 +0100
On Fri, Dec 17, 2010 at 12:06, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Could you provide a simple step-by-step recipe for reproducing this bug,
> starting from `emacs -Q'?  Your description is not precise enough to
> figure out where exactly the problem lies.

0. emerge emacs-vcs  #  [1]
1. emacs -Q
2. M-: eval-expression RET widget-image-enable RET
-> t
2. M-x customize-group RET editing RET

[1] install gentoo gnu/linux live package:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild?revision=1.20&view=markup




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Fri, 17 Dec 2010 13:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Fri, 17 Dec 2010 14:29:53 +0100
Meeeh, sorry: this should have read:

0. emerge emacs-vcs  #  [1]
1. emacs -Q
2. M-x customize-group RET editing RET
3. M-: widget-image-enable RET
-> t

[1] gentoo gnu/linux live package:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild?revision=1.20&view=markup




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Fri, 17 Dec 2010 13:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Fri, 17 Dec 2010 14:41:18 +0100
> 0. emerge emacs-vcs  #  [1]

Maybe there is a problem in the package description. I will later
install manually to test.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Mon, 20 Dec 2010 14:54:01 GMT) Full text and rfc822 format available.

Message #20 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Mon, 20 Dec 2010 22:59:36 +0800
Jonas Bernoulli <jonas <at> bernoul.li> writes:

> Meeeh, sorry: this should have read:
>
> 1. emacs -Q
> 2. M-x customize-group RET editing RET
> 3. M-: widget-image-enable RET
> -> t

And?  I am looking at a *Customize Group: Editing* buffer, and nothing
seems to be out of the ordinary.  Please describe what you expected to
see, and what you see instead.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Mon, 20 Dec 2010 15:16:01 GMT) Full text and rfc822 format available.

Message #23 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Mon, 20 Dec 2010 16:21:14 +0100
On Mon, Dec 20, 2010 at 15:59, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Please describe what you expected to see, and what you see instead.

I expected:

    > Delete Active Region

where ">" is an image.

but got:

    Show Value Delete Active Region

where "Show Value" is text.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Mon, 20 Dec 2010 23:16:02 GMT) Full text and rfc822 format available.

Message #26 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Jonas Bernoulli <jonas <at> bernoul.li>, 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Mon, 20 Dec 2010 22:46:00 +0000
[Message part 1 (text/plain, inline)]
On 20/12/10 14:59, Chong Yidong wrote:
> Jonas Bernoulli<jonas <at> bernoul.li>  writes:
>
>> Meeeh, sorry: this should have read:
>>
>> 1. emacs -Q
>> 2. M-x customize-group RET editing RET
>> 3. M-: widget-image-enable RET
>> ->  t
>
> And?  I am looking at a *Customize Group: Editing* buffer, and nothing
> seems to be out of the ordinary.  Please describe what you expected to
> see, and what you see instead.


... Certainly looks a bit strange to me (X11 Emacs, Gtk+, r102694).

"Show Value" is just text with little in the way of affordances 
indicating clickability (though middle click still works on it and the 
pointer changes, it doesn't look like either a button or hyperlink).

While the change may have been a deliberate tidy-up, IMO "Show Value" 
should at least be made visibly a button widget.  Right now, it
just sorta runs into the actual setting.

Older emacs had a small (but obviously clickable) visibility triangle 
button (see attached screenshots) to expand/contract (and of course you 
could also read the value of various simple settings without expanding)











[emacs_7480_23.2_custom.png (image/png, attachment)]
[emacs_7480_trunk_custom.png (image/png, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Mon, 20 Dec 2010 23:43:02 GMT) Full text and rfc822 format available.

Message #29 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: David De La Harpe Golden <david <at> harpegolden.net>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, Jonas Bernoulli <jonas <at> bernoul.li>,
	7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Tue, 21 Dec 2010 00:49:01 +0100
On Mon, Dec 20, 2010 at 11:46 PM, David De La Harpe Golden
<david <at> harpegolden.net> wrote:
> On 20/12/10 14:59, Chong Yidong wrote:
>>
>> Jonas Bernoulli<jonas <at> bernoul.li>  writes:
>>
>>> Meeeh, sorry: this should have read:
>>>
>>> 1. emacs -Q
>>> 2. M-x customize-group RET editing RET
>>> 3. M-: widget-image-enable RET
>>> ->  t
>>
>> And?  I am looking at a *Customize Group: Editing* buffer, and nothing
>> seems to be out of the ordinary.  Please describe what you expected to
>> see, and what you see instead.
>
>
> ... Certainly looks a bit strange to me (X11 Emacs, Gtk+, r102694).
>
> "Show Value" is just text with little in the way of affordances indicating
> clickability (though middle click still works on it and the pointer changes,
> it doesn't look like either a button or hyperlink).
>
> While the change may have been a deliberate tidy-up, IMO "Show Value" should
> at least be made visibly a button widget.  Right now, it
> just sorta runs into the actual setting.
>
> Older emacs had a small (but obviously clickable) visibility triangle button
> (see attached screenshots) to expand/contract (and of course you could also
> read the value of various simple settings without expanding)


I see the same problem as David with a checkout from 2010-12-15, i.e.
"Show Value" does not have the "link" face and the image that was
there before instead of this text is now gone.

Either the text should have the link face or the image should be there instead.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7480; Package emacs. (Tue, 21 Dec 2010 02:31:02 GMT) Full text and rfc822 format available.

Message #32 received at 7480 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 7480 <at> debbugs.gnu.org
Subject: Re: bug#7480: 24.0.50 no images in Custom
Date: Tue, 21 Dec 2010 10:36:44 +0800
Jonas Bernoulli <jonas <at> bernoul.li> writes:

> On Mon, Dec 20, 2010 at 15:59, Chong Yidong <cyd <at> stupidchicken.com> wrote:
>> Please describe what you expected to see, and what you see instead.
>
> I expected:
>
>     > Delete Active Region
>
> where ">" is an image.
>
> but got:
>
>     Show Value Delete Active Region
>
> where "Show Value" is text.

I see it now.  Thanks, I've committed a fix.




bug closed, send any further explanations to Jonas Bernoulli <jonas <at> bernoul.li> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 21 Dec 2010 02:31:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Jan 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.