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 156280 - Files from non-opened projects not opened correctly
Summary: Files from non-opened projects not opened correctly
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 154734 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-05 12:57 UTC by Jan Lahoda
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 Jan Lahoda 2009-01-05 12:57:45 UTC
[full trunk build from deadlock, #4726, built from changeset ffab019a785c]

1. Start the IDE
2. Using File/Open File... open a .java or .cpp file - it is opened as a plain text, not as a correct type
3. Enable Java a C/C++ plugins - the opened editors are closed
4. After opening the files again, they are recognized correctly

Requiring the user to manually enable some plugin (or open a project of a given type) seems like a very bad user experience.
Comment 1 Jaroslav Tulach 2009-01-05 17:52:16 UTC
True. This functionality is missing. We are tracking it. Just according to UI spec, open file and favorites are 
considered P3 entry point. See:
http://wiki.netbeans.org/FitnessForeverUISpec
Comment 2 Jaroslav Tulach 2009-01-30 15:27:12 UTC
*** Issue 154734 has been marked as a duplicate of this issue. ***
Comment 3 Jaroslav Tulach 2009-01-30 15:30:26 UTC
ergonomics#db50756ab292
Comment 4 Quality Engineering 2009-02-01 07:47:39 UTC
Integrated into 'main-golden', will be available in build *200902010201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/db50756ab292
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: Merge of fixes for #156280. All mimetypes are correct in ergonomics IDE. Special data object represents all files with such mimetypes and enables the right functionality on open.