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 180221 - DataEditorSupport.openAt does not open a source view when a multiply views are used
Summary: DataEditorSupport.openAt does not open a source view when a multiply views ar...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: PC All
: P4 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 09:49 UTC by David Kaspar
Modified: 2012-10-25 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Unit-test for the issue (22.36 KB, patch)
2010-02-03 12:06 UTC, David Kaspar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2010-02-03 09:49:36 UTC
How to reproduce:
1) Have a DataObject with DataEditorSupport with Multiview with:
1a) Source View - regular CloneableEditor
1b) Design View - a special/unrelated visual editor
2) Run the IDE, open your file at the "Design" view without touching/loading "Source" view
3) Call your DataEditorSupport.openAt(PositionRef,int)
4) ERROR - nothing happens

5) Switch to Source and back to Design or close the editor at all
6) Call your DataEditorSupport.openAt(PositionRef,int) again
7) NOTE - everything works correctly
Comment 1 David Kaspar 2010-02-03 12:06:24 UTC
Created attachment 93814 [details]
Unit-test for the issue

Attaching the unit-test for the issue.
Comment 2 David Strupl 2012-10-25 13:39:28 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.