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 129745 - Print to HTML dialog uses a wrong type of OpenDialog for "Browse..."
Summary: Print to HTML dialog uses a wrong type of OpenDialog for "Browse..."
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 10:39 UTC by Petr Dvorak
Modified: 2008-04-14 11:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
MacOS open dialog does not contain a field to type the filename (47.98 KB, image/png)
2008-03-11 10:40 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2008-03-11 10:39:18 UTC
Product Version: NetBeans IDE Dev (Build 200803110005)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacCentralEurope; cs_CZ (nb)

I would not think about this either, as I am used to the dialogs for Windows, but there is a funny problem on MacOS.

Go to File > Print to HTML. A dialog appears. There is also a button "Browse..." - click it. Now, go to some path and... ooops... there is a problem - you 
cannot leave the dialog with "OK result" until you choose an EXISTING file. You cannot specify a new filename manually, so you cannot use the dialog to 
specify a new file destination. Your only option is to either overwrite some file, or click Cancel...

Possible fix: I would use SaveFileDialog instead of OpenFileDialog.

This problem do not arise under Ubuntu or Windows as there is a field for typing filename...
Comment 1 Petr Dvorak 2008-03-11 10:40:35 UTC
Created attachment 58128 [details]
MacOS open dialog does not contain a field to type the filename
Comment 2 Max Sauer 2008-03-11 14:42:13 UTC
Fixed.
---
http://hg.netbeans.org/main/rev/5f7674338134

Comment 3 Petr Dvorak 2008-04-14 11:53:50 UTC
Verified: 20080411