Issue 112809 - Crash on opening context menu
Summary: Crash on opening context menu
Status: CLOSED DUPLICATE of issue 97336
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: DEV300m83
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: groucho266
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 09:50 UTC by groucho266
Modified: 2010-06-30 10:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description groucho266 2010-06-30 09:50:16 UTC
This crash is simple to reproduce:

1. Create a new shape (easier to reproduce with a non-text shape, like a Rectangle).
2. Enter at least one character of text (in order to activate the text tool bar).
3. Right click into the shape

Instead of showing the context menu it crashes.
Comment 1 groucho266 2010-06-30 09:56:36 UTC
This crash is caused by changes made for issue 51258.

When the context menu is prepared to be shown the state of a new slot SID_THES
is queried.  The code in TextObjectBar::GetAttrState (in
sd/source/ui/view/drtxtob.cxx) tries to access the text edit outliner view,
which in this case is not present.  The NULL pointer is not checked and leads to
the crash.
Comment 2 clippka 2010-06-30 10:09:49 UTC
duplicate to issue 97336

*** This issue has been marked as a duplicate of 97336 ***
Comment 3 clippka 2010-06-30 10:11:34 UTC
closing
Comment 4 groucho266 2010-06-30 10:30:38 UTC
It is duplicate, but to issue 112337, which also has already been fixed (in CWS
impress192.)