This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 169003 - Strange property editor for fonts
Summary: Strange property editor for fonts
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on: 164247
Blocks:
  Show dependency tree
 
Reported: 2009-07-23 00:01 UTC by pzajac
Modified: 2009-07-24 17:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2009-07-23 00:01:27 UTC
Value of font property editor contains string:
The quick brown fox jumps over the lazy dog

Is it joke, bug or planned feature? Maybe your "HIE"(na) like dogs and foxes :-)
Comment 1 Jan Stola 2009-07-23 08:58:34 UTC
This is caused by a fix of issue 164247 => reassigning to platform/Property Editors.

I believe that the intention of the fix of issue 164247 was to show the string
'The quick brown fox jumps over the lazy dog' in the property customizer.
Unfortunately, the same method is called when the value of the property editor
is painted into a cell of Properties window. It doesn't have much sense
to show this string there. It would be better to show the name of
the font (as it had been before the fix of issue 164247 was integrated).

In other words: FontEditor.java:427 should paint 'The quick brown fox jumps over the lazy dog',
but FontEditor.paintValue() should paint the name of the font.
Comment 2 Jiri Rechtacek 2009-07-23 09:10:47 UTC
Reassigned to Vita who integrated the cause of this regression. Vita, could you look on it? Thanks
Comment 3 Vitezslav Stejskal 2009-07-23 11:57:05 UTC
I'm sorry, I'll fix that. Could you guys point me to a place in the IDE where I can see some font property?
Comment 4 pzajac 2009-07-23 12:07:52 UTC
Open form, add JLabel, look at font property.
Comment 5 Vitezslav Stejskal 2009-07-23 13:46:45 UTC
Should now be fixed - http://hg.netbeans.org/jet-main/rev/cc79b720dcc6.
Comment 6 Quality Engineering 2009-07-24 05:41:11 UTC
Integrated into 'main-golden', will be available in build *200907240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cc79b720dcc6
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #169003: show the preview message only in the custom editor, but not as the property value text
Comment 7 pzajac 2009-07-24 17:20:42 UTC
Verified in trunk.