Apache OpenOffice (AOO) Bugzilla – Issue 49761
Copying a slide master crashes Impress
Last modified: 2005-07-25 13:53:47 UTC
In Master view, trying to copy-and-paste an existing master slide crashes OOo every time. Example: Create a new presentation. Switch to master view. In the left hand 'slides' panel, select the first available slide master. Copy this using Ctrl-c. Paste it by using Ctrl-V. OOo crashes.
Priority changed.
Reproducible.
Reassigned.
*** Issue 49775 has been marked as a duplicate of this issue. ***
Does not crash at my place but the ui is unstable after this. The main problem is that our core never was able to transfer a single master page over the clipboard. I will have a look into this one
Ok, I evaluated this further. Problem is that our current clipboard scenario does not work with slide masters. The root method is (again) InsertBookmarkAsPage() and it works with a list of page names. There is no reliable way to know from the page names that they are master pages and even then pasting may be a problem. @cl->af: For OOo 2.0.1 I see no way in implementing a clipboard feature for master slides. Please remove all UI for copy&paste in slide sorter for slide master mode. This includes context menu, menu, keyboard shortcuts and drag'n'drop I will write a seperate issue for this on the OOo Later target.
Accepted.
I have disabled copy-and-paste and drag-and-drop with master pages being the source or the destination. This was done basically by 1) disabling the SID_COPY,SID_PASTE,SID_PASTE2 slots for the slide sorter when it displays master pages and 2) by not accepting drops of pages while in master page mode. I have filed issue 49924 about CTRL-V still triggering calls to the SID_PASTE slot even though that is disabled. A workaround in SlsClipboard.cxx is in place. Affected files: /sd/source/ui/slidesorter/controller/SlsClipboard.cxx rev. 1.12.42.1 /sd/source/ui/slidesorter/controller/SlsSlotManager.cxx rev. 1.16.28.3 /sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx rev. 1.5.44.1 /sd/source/ui/view/sdview2.cxx rev. 1.42.66.1
Reopening and setting target to OOo 2.0
Integrated fix into CWS impress62: /sd/source/ui/slidesorter/controller/SlsClipboard.cxx rev. 1.12.74.1 /sd/source/ui/slidesorter/controller/SlsSlotManager.cxx rev. 1.16.60.1 /sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx rev. 1.5.76.1 /sd/source/ui/view/sdview2.cxx rev. 1.42.98.1
Back to QA for verification. re-open issue and reassign to cgu@openoffice.org
reassign to cgu@openoffice.org
reset resolution to FIXED
Verified in cws impress62
Integrated in src680m121.
Integrated