After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126797 - Text reported incorrectly when bold
Text reported incorrectly when bold
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
git master
Other Solaris
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
Depends on:
Blocks:
 
 
Reported: 2003-11-12 11:03 UTC by padraig.obriain
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (5.80 KB, patch)
2003-11-14 11:49 UTC, padraig.obriain
none Details | Review
Proposed patch (10.83 KB, patch)
2003-11-14 14:51 UTC, padraig.obriain
none Details | Review

Description padraig.obriain 2003-11-12 11:03:11 UTC
in gnome-network-preferences the text in some radio buttons, e.g. Direct
internet connection is bold. AtkText interfacereports the <b> at the start
of the text as part of the text.
Comment 1 bill.haneman 2003-11-12 14:23:56 UTC
padraig: 

does the AtkText interface report text-attribute "bold" for this text?
 (if not that should perhaps be logged as a separate bug).
Comment 2 padraig.obriain 2003-11-14 11:09:31 UTC
There is not a text attribute called bold. The value of weight
indicates that the text is bold and that value is 700 against a
default of 400.

The problem with the text containing <b> and </B> is that we
initialize an internal buffer before these are stripped from the text
and we do not get a notiifcation that they are stripped. I will get
around that by initializing the buffer when the widget is mapped.
Comment 3 padraig.obriain 2003-11-14 11:49:02 UTC
Created attachment 21441 [details] [review]
Proposed patch
Comment 4 bill.haneman 2003-11-14 12:44:40 UTC
padraig : yes, 'weight' is right (borrowed from CSS attributes). 
thanks for the correction.
Comment 5 padraig.obriain 2003-11-14 14:51:10 UTC
Created attachment 21452 [details] [review]
Proposed patch
Comment 6 padraig.obriain 2003-11-14 14:55:41 UTC
Patch committed to CVS HEAD.