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 85619 - Changes made in cloned view not recognized immediately
Summary: Changes made in cloned view not recognized immediately
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 00:50 UTC by Nathan Fiedler
Modified: 2009-02-19 23:31 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 Nathan Fiedler 2006-09-23 00:50:57 UTC
Due to fixing issue 84690, the following issue has arisen:

- Create a new schema file.
- Clone the window and put the two editors side-by-side.
- Switch the first editor to Source view (the clone is in Schema view).
- Add a new element in the source editor (using copy/paste is fine).

Observe that the element does not appear in the Schema view of the cloned
editor. Prior to fixing issue 84690 this used to work.

The problem is that the editor, cloned or otherwise, can only be listening to a
single undoable edit source at a given time (in order to fix issue 84690). In
this case, the editor showing the Source view is the active TopComponent, so the
clone showing the model view is not listening to the undoable edit source. But
this should not matter as it is not the undoable edits that the Schema view is
listening to, so perhaps this is a model auto-sync issue. Needs more investigation.
Comment 1 Samaresh Panda 2008-12-01 23:04:33 UTC
Not worth the effort, perhaps cloned views are ONLY used by us for testing purposes. Have not seen a single query on
this in nbusers@netbeans.org.