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.
Summary: | I18N - param fontsize had no effect on file list in JFileChooser on Win L&F | ||
---|---|---|---|
Product: | platform | Reporter: | Pavel Rehak <prehak> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dsimonek, kaa, kfrank, mslama, pchytil, saubrecht |
Priority: | P3 | Keywords: | A11Y, I18N |
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 78730 | ||
Attachments: |
screenshot
screenshot from 5.5.1 screenshot from dev build add to favorites dialog screenshot from dev build |
Description
Pavel Rehak
2006-06-21 09:33:10 UTC
Created attachment 31250 [details]
screenshot
Hmmit's inside JFileChooser, inside Swing - maybe thay are hardcoding the font somehow. We create this dialog in projects/projectui but I'd say this will be general Swing issue. Passing to Marek... is this still a problem ? I can't tell from the gif what windows are affected; I am guessing if its a problem its not an i18n one in this case if windows dont show at chosen fontsize. ken.frank@sun.com It works fine on Metal L&F on Linux, JDK 7 b20. It looks like WinXP L&F specific issue. Passing to Standa who uses Win XP to evaluate. I used latest dev build. Though many places in IDE now uses new directory chooser eg. Favorites -> Add to favorites still uses Swing JFileChooser. reproduced on winxp Filed to Bugtraq against JDK/Swing/JFileChooser as http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6608788. If there other component showing this problem file separate issue. Problem is that JFileChooser ignores UIManager property "List.font" on Win L&F. Response from JDK: We should use UIManager property FileChooser.listFont for JFileChooser file list. I tested it and it works. Modified: /cvs/core/swing/plaf/src/org/netbeans/swing/plaf/AllLFCustoms.java new revision: 1.14; previous revision: 1.13 Petr please check on Windows Vista. Thanks. I've checked both daily 5.5.1 (Build 200710072350) and latest dev (Build 200710081200) on Vista. You can see results in attached screenshots. Created attachment 50430 [details]
screenshot from 5.5.1
Created attachment 50431 [details]
screenshot from dev build
Petr please use Add to Favorites action from Favorites tab to test JFileChooser. Open project action uses our own directory chooser ie. *NOT* original Swing JFileChooser. Created attachment 50667 [details]
add to favorites dialog screenshot from dev build
Open file and Open project dialogs are looking ok with font size 16. buil 1016, XP.ja_JP pchytil can you confirm its ok now using latest nb build ? if so, we can verify this issue. ken.frank@sun.com |