Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | new Chart: Crash. Switch into the wizard third Page open Help and use shrink button | ||
---|---|---|---|
Product: | General | Reporter: | kla <thomas.klarhoefer> |
Component: | chart | Assignee: | kla <thomas.klarhoefer> |
Status: | CLOSED FIXED | QA Contact: | issues@graphics <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 3.3.0 or older (OOo) | Keywords: | new_implementation |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
kla
2007-03-12 09:47:18 UTC
set Keyword ->bm, please check whether the current range chooser mechanism has problems with focus changes. Adding a series is not necessary to reproduce. If you press the shrink button after the help was opened and closed again, the following assertion comes up: Error: missing view shell :-( From File Y:\SRC680\src.m202\sc\source\ui\view\reffact.cxx at Line 188 s After that, the range choosing does not work. Instead a click deactivates the chart which is bad, because it still has an open dialog whose parent is deleted in deactivation. The problem also appears in this situation: 1. Create an empty Writer Document 2. Create a Calc document with a Chart 3. Open the Data Source Dialog 4. Switch to the Writer Doc and back to the Calc 5. Press the range chooser button => Crash, as the "current view shell" has changed. In sc/source/ui/view/reffact.cxx:187 the call to SfxViewTabViewShell::Current() returns 0. The problem here is probably, that Current() tries to return the SfxViewShell of the chart, as that is active at the moment, which does not work, as the chart does not implement this class (if it would it would still be the wrong implementation). Here is what Current probably returns: 1. Writer 2. Calc 3. Still Calc, as Chart does not implement SfxViewShell, therefore the current one does not change 4. Writer, switching back tries to get the chart's viewshell which does not exist, therefore it stays the Writer view-shell or becomes 0. ->NN: Is there a possibility to use a different method than SfxViewShell::Current()? I also noticed that Sc2ChartDataProvider seems to return the current XController as range selection. Doesn't the current controller "know" its view shell? Fixed on CWS chart2mst3. Available in CWS build, reassigning to QA for verification. changed target no crash anymore -> verified no crash in m215 |