Skip Menu |
 

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 15225
Status: open
Priority: 0/
Queue: Curses-UI

People
Owner: Nobody in particular
Requestors: belg4mit [...] MIT.EDU
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.92
  • 0.95
  • 0.96
  • 0.9601
  • 0.9602
  • 0.9603
  • 0.9604
  • 0.9605
  • 0.9606
  • 0.9607
Fixed in: (no value)



Subject: Wdiget -htmltext is broken
Download (untitled) / with headers
text/plain 488b
I am trying to have a label that is all bold, with part of it reversed. However Label does not seem to heed the htmltext attribute. The closest I can come is the following, but the closing tag is shown as plain text. $cui->add('status', 'Window', -y=>-1, -height=>1, -htmltext=>1)-> add('explain', 'Label', -reverse=>1, -bold=>1, -text=> ' H)elp I)nvert V)iew Q)uit S)ave </reverse> no reverse'.); Note: It -htmltext=>1 on the Label add line does nothing either
Download (untitled) / with headers
text/plain 649b
On Sat Oct 22 12:56:55 2005, JPIERCE wrote: Show quoted text
> I am trying to have a label that is all bold, with part of it > reversed. > However Label does not seem to heed the htmltext attribute. The > closest I > can come is the following, but the closing tag is shown as plain text. > > $cui->add('status', 'Window', -y=>-1, -height=>1, -htmltext=>1)-> > add('explain', 'Label', -reverse=>1, -bold=>1, -text=> > ' H)elp I)nvert V)iew Q)uit S)ave </reverse> no > reverse'.); > > Note: It -htmltext=>1 on the Label add line does nothing either
Working on this. -htmltext is, in fact, broken, but I haven't yet tracked down exactly why
No further movement - closing out
Subject: Widget -htmltext is broken
Why would you resolve if it remains unfixed? The proper status is stalled.
Download (untitled) / with headers
text/plain 163b
On Sun Dec 21 16:38:14 2008, JPIERCE wrote: Show quoted text
> Why would you resolve if it remains unfixed? The proper status is stalled.
Augh! I clicked the wrong bug. I'm sorry.
Subject: Re: [rt.cpan.org #15225] Wdiget -htmltext is broken
Date: Sun, 21 Dec 2008 16:43:28 -0500
To: bug-Curses-UI [...] rt.cpan.org
From: Jerrad Pierce <belg4mit [...] MIT.EDU>
Download (untitled) / with headers
text/plain 210b
No harm no foul. -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Setting Orange, the 63rd of The Aftermath, in the YOLD 3174: No nymphs, hands or banjos about it. --JP
Download (untitled) / with headers
text/plain 395b
Okay, I've been able to track down a few things. Apparently (for some reason) only Listboxes are supposed to handle html, since the method where they are parsed is text_draw, and only Listbox invokes this. However, for some reason 1) text_draw lives in Common, and 2) Widget's instantiation method sets htmltext to 1. Both of these imply that this option should be available for other classes.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.