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 154790 - Can't open pdf file in NetBeans
Summary: Can't open pdf file in NetBeans
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 16:33 UTC by kaa
Modified: 2009-06-21 13:43 UTC (History)
0 users

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 kaa 2008-12-05 16:33:44 UTC
Product Version: NetBeans IDE Dev (Build 081204)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

1. Start NetBeans
2. Try to open a PDF file using File -> Open File wizard

The file was opened in external pdf viewer.
Next I tried to change the file 'open with' properties and specified nb.exe there.
After I had opened the file using my mouse Netbeans started with bringing up command consoles.
Eventually the file wasn't shown.
Comment 1 kaa 2008-12-05 16:34:22 UTC
See also issue 122221.
Comment 2 Tomas Pavek 2008-12-05 17:14:14 UTC
I don't think this is related to the ergonomics IDE. The Open File functionality (and PDF viewer integration) is 
present in the basic setup.

But anyway, I don't understand what the problem is. Where is the 'open with' property? It's not in NetBeans, is it the 
Windows file association? Then why do you think nb.exe should open a pdf file? You'd at least have to use the --open 
switch, but still I don't see why to open a pdf file this way.
Comment 3 kaa 2008-12-05 17:37:22 UTC
My reproducing steps were about opening pdf file directly from the IDE using File -> Open File wizard.
I couldn't do it this way. If the issue is valid reassign it please to the correct category and remove INVALID keyword.
Comment 4 Tomas Pavek 2008-12-05 18:49:09 UTC
You wrote:
> 1. Start NetBeans
> 2. Try to open a PDF file using File -> Open File wizard

> The file was opened in external pdf viewer.

This seems correct to me. We don't have "internal" pdf viewer, AFAIK.