Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Crash when switching between write protect and edit file | ||
---|---|---|---|
Product: | Impress | Reporter: | wolframgarten |
Component: | ui | Assignee: | wolframgarten |
Status: | CLOSED FIXED | QA Contact: | issues@graphics <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 680m97 | ||
Target Milestone: | OOo 2.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
wolframgarten
2005-04-27 12:18:09 UTC
On some occasions when the document is switched from read-only to read-write mode the ViewShellBase is replaced by another one. In other occasions it is not. One of these leads to the crash because the PaneManager is not informed that the right pane has been made visible and therefore does not create a TaskPaneViewShell for it. Fixed by making PaneDockingWindow listen for VCLEVENT_WINDOW_SHOW and VCLEVENT_WINDOW_HIDE events and calling PaneManager::RequestWindowVisibilityChange() as a result. In PaneManager I had to guard the ViewFrame::SetChildWindow() calls with ViewFrame::KnowsChildWindow() so that the view frame does not complain about the attempt to hide an unknown child window (the right pane in read-only mode is not only hidden, it does not exist). Affected files: sd/source/ui/dlg/PaneDockingWindow.cxx rev. 1.9.44.1 sd/source/ui/inc/PaneDockingWindow.hxx rev. 1.6.110.1 sd/source/ui/view/PaneManager.cxx rev. 1.18.38.1 Back to QA for verification Setting to fixed. Reassigning issue to me for testing. re-open issue and reassign to wg@openoffice.org reassign to wg@openoffice.org reset resolution to FIXED Verified in CWS. Tested in master m102. Closed. |