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.
Summary: | Hotkey for 'Save All' command invokes context of modified file | ||
---|---|---|---|
Product: | platform | Reporter: | leprosus |
Component: | Actions | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 280Z28, mmirilovic, saubrecht, tboudreau |
Priority: | P2 | Keywords: | UI |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
leprosus
2011-10-07 12:52:24 UTC
*** Bug 203339 has been marked as a duplicate of this bug. *** SaveAllAction managed by platform/actions. When I press Ctrl+Shift+S (bound to Save All Files) while the currently active file is modified, only the current file is saved. If the current file is not modified, all other files do get saved properly. This behavior only occurs when pressing the Ctrl+Shift+S binding. The Save All buttons on the toolbar and File menu work properly. Caused by TopComponent using createContextAware(...) to create the right action to use. Then the context switches from the global one, to context of the single file. The best would be to convince SaveAllAction to not implement ContextAwareAction interface, as it is clearly not working on local context anyway. ergonomics#056349dead3d Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/056349dead3d User: Jaroslav Tulach <jtulach@netbeans.org> Log: #203300: Actions bound to specific context cannot be context aware *** Bug 206421 has been marked as a duplicate of this bug. *** |