Apache OpenOffice (AOO) Bugzilla – Issue 57228
working in OLE object "CALC sheet" will mess up UI view for other window with other slide and crash
Last modified: 2005-11-17 13:18:39 UTC
If you have opened 2 slides of a drawing in to windows and you work in CALC spreadsheet inserted as OLE-object, the UI of the other window will be messed up at the page pane and navigator, pls see screenshot in attached 'UI_messedup.odg'! Steps to reproduce: 1. Open 'UI_messedup.odg' 2. Menu "Window - New Window 3. select slide 3 in page pane 4. change view to slide 1 5. Open OLE-object (cald sheet) by double click on "A5" 6. Change view to slide 3 in other window UI is messed up
Resizing page pane or navigator pane might crash OOo after few operations, I created an error report with reference to this issue.
Created attachment 31119 [details] testfile, also with screenshots
Please add information in which of the windows do you do the changing and how. If you say 3. select slide 3 in page pane 4. change view to slide 1 is point 4 in the other window? How do you chnage the view (page up, page down?) Thanks in advance.
Steps to reproduce (more detailled): 1. Open 'UI_messedup.odg' 2. open second window for this document with 'menu "Window - New Window"' 3. select slide 3 in page pane, go to slide 3 by doubleclick 4. change view to window with slide 1 (<alt>+<tab>) 5. Open OLE-object (cald sheet) by double click on cell with "A5" 6. Change view to window with slide 3 (<alt>+<tab>) UI is messed up as shown in screensot on slide 4 of 'UI_messedup.odg'
Thanks, with the comments it is reproducible, even the crash. The Ui messes up after activating the OLE, the crash came shortly after it. Id is 870385.
Accepted.
We have here two separate problems. One is caused by problems with recent changes to the slide sorter (more on that below). The other is a general OLE problem, now covered by issue 57349: create a new document (e.g. Writer) and insert OLE (e.g. Chart). Create a new window via Window->New Window. Activating OLE in both windows works well in the first but not in the second window. There the OLE can be seen twice. Deactivating the OLE makes menu bar and tool bars vanish. In this issue I will concentrate on the slide sorter problems that were mentioned above: they are centered on slide sorter preview caches shared between slide sorters in different windows. On changing the preview sizes the preview cache should be copied so that every window uses its own one. This, however, does not happen and leads to problems. I will give more details when the fixes are available.
I have created issue 57476 for the copy-on-change problem of the slide sorter. What remains is a problem in the non-pro version. In sd::slidesorter::cache::PageCacheManager::ReleaseCache() there was a OSL_TRACE that, when not fulfilled and ReleaseCache() is called from within DrawController::dispose(), leads to an exception, broken UI, and crash. The reason is trying to show the assertion box from within DrawController::dispose(). This tries to access the half destroyed controller or view shell. Fixed by removing the assertion. Modified file is /sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx rev. 1.2.14.1
Back to QA for verification. re-open issue and reassign to wg@openoffice.org
reassign to wg@openoffice.org
reset resolution to FIXED
Verified in CWS.
Tested in m140. Closed.