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.
The View | Source Editor menu item is supposed to be enabled when the Source Editor window is open. However, the item is disabled when the window displays only panes with the following file object types: Ant Project Files Image objects Properties objects Textual objects The item is enabled if there is at least one file of type Java or HTML open in the Source Editor.
I believe this is fixed in the trunk, please verify.
It seems to be fixed for Ant and Text files. For Image and Properties files the Source Editor menu item is still disabled. [NetBeans-dev-99]
Verified, fixed in trunk (Dev version Build 100), works in the FFJ20 too, so I'll close this bug.
My apologize for confusion, the bug still remains for Image and Properties files!
org.netbeans.core.actions.EditorViewAction looks for opened instances of CloneableEditor. Image files will never qualify, and I am not sure they *should* be opened by this action (it is not the Editor, is it?). I'm not sure why *.properties would not work, unless WMImpl.reactivateWhatever(Class) looks for exact instances and not subclasses (properties module subclasses CloneableEditor).
Version: 'Dev' -> 3.2
Reassigning to Vita. Vita, this problem may be hard. (and it's in core = hardcore :-) reactivation is done via core.windows.WindowManagerImpl.reactivateComponent. WMImpl has a machanism to keep map of components that were activated and their classes (methods registerComponent, unregisterComponent). Error appears only for properties and images. Editor view action is represented by core.actions.EditorViewAction.
Map of last activated components was removed, instead of it there are functions findContainer(mode, workspace) looking for the TopComponentContainer associated with given mode and workspace. Then findContainer is used in EditorViewAction and ExecutionViewAction to recall specified window from current workspace (if exists). If the window doesn't exists in current workspace it is searched on other workspaces. EditorViewAction is enabled if there is at least one Source Editor window on any workspace. ExecutionViewAction is always enabled and always docks ExecutionView component into the EXECUTION mode. fixed in 3.2, dev
Target milestone 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.