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 25861 - MenuItem.acceleratorFont unaffected by -fontsize switch
Summary: MenuItem.acceleratorFont unaffected by -fontsize switch
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: A11Y, UI
Depends on: 25472
Blocks:
  Show dependency tree
 
Reported: 2002-07-22 06:30 UTC by Jesse Glick
Modified: 2008-12-22 19:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot - note uncomfortably small accelerator hint relative to basic menu text (5.12 KB, image/gif)
2002-07-22 06:32 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-07-22 06:30:15 UTC
[release34 jul 16] See screenshot, pretty much
self-explanatory. org.netbeans.core.Main.run()
sets a bunch of UI font defaults, but not this one
- forgotten I guess.

Not clear how it should work though - default
acceleratorFont is Dialog Plain 10 whereas default
font is Dialog Bold 12. If you consider the base
font size in Swing to be 12 by default, and we set
-fontsize to e.g. 11, what should acceleratorFont
be set to? D.P.10 seems right with -fontsize 11.
It seems wrong with -fontsize 18. Should it be
some proportion? Rounded how? Etc.

Themes (issue #25472) would provide a more
coherent solution than -fontsize I think, since
you could select particular font sizes for each usage.
Comment 1 Jesse Glick 2002-07-22 06:32:51 UTC
Created attachment 6828 [details]
Screenshot - note uncomfortably small accelerator hint relative to basic menu text
Comment 2 Marek Grummich 2002-07-22 08:43:04 UTC
Target milestone was changed from '3.4' to TBD.
Comment 3 Marek Grummich 2002-07-22 08:46:32 UTC
Target milestone was changed from '3.4' to TBD.
Comment 4 _ ttran 2002-07-22 09:42:27 UTC
jrojcek, your thoughts?
Comment 5 Marian Mirilovic 2002-11-13 15:29:28 UTC
changed owner Dafe -> Peter Z.
Comment 6 Peter Zavadsky 2002-12-03 14:28:15 UTC
Fixed in [trunk] the way Jesse pointed out.

core/../Main.java 1.155
Comment 7 Jesse Glick 2002-12-03 16:38:27 UTC
Maxym, potential 3.4.1_CANDIDATE (easy one-line fix): could be an
accessibility issue for users with poor eyesight, should it be
considered for 3.4.1?
Comment 8 _ mihmax 2002-12-12 09:55:04 UTC
Jesse, sorry, I missed your letter,
Yes, it's too easy not to include into Merak
Comment 9 _ mihmax 2002-12-12 10:18:04 UTC
commited to release341 branch:
Checking in core/src/org/netbeans/core/Main.java;
new revision: 1.145.16.1; previous revision: 1.145
Comment 10 Quality Engineering 2003-07-01 15:47:07 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 11 Quality Engineering 2003-07-01 16:27:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.