Issue 78748 - Resizing text object crashes office
Summary: Resizing text object crashes office
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: 680m216
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords: crash, regression
Depends on:
Blocks:
 
Reported: 2007-06-21 12:35 UTC by jogi
Modified: 2007-10-17 14:37 UTC (History)
4 users (show)

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


Attachments
customized standard.soc (6.55 KB, application/octet-stream)
2007-06-21 12:37 UTC, jogi
no flags Details
template (34.08 KB, application/vnd.oasis.opendocument.presentation)
2007-06-21 12:39 UTC, jogi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jogi 2007-06-21 12:35:48 UTC
1. Environment: 
a) Solaris SPARC 10
b) modified 'standard.soc' (Sun) in /$INSTALL_DIR/staroffice8/presets/config
(attached)
c) Use attached template
d) OOo distribution: StarOffice 8 (SRC680m216)

2. test case
1. Shutdown the office application
2. Exchange standard.soc (1.b)
3. Start the office application
4. File / Open / Select the attached template
5. After the presentation has been loaded right mouse click in the 'slides' pane
under
   the 1st slide
6. Select "New Slide" in the opened context menu
7. Click doubled into the text box to add some text 
8. Press also sometimes <ENTER> to create a bullet list
9. Click on the centered point at the bottom of the text box to resisize the
height of it
10. Resize the height of the text box
=> CRASH

Hints:
I haven't get that done in the normal office template slides; I got it with
customized standard.soc and the customized template reproduceable.
Comment 1 jogi 2007-06-21 12:37:50 UTC
Created attachment 46135 [details]
customized standard.soc
Comment 2 jogi 2007-06-21 12:39:10 UTC
Created attachment 46136 [details]
template
Comment 3 Armin Le Grand 2007-06-21 12:43:29 UTC
AW->JSI: Have You tried with wntmsci10 and/or unxlngi6? If not, please at least
try wntmsci10.
Comment 4 jogi 2007-06-21 13:24:48 UTC
@aw: I will evaluate it and put the result into the issue but it is not really
my job in this case... It was and is not necessary to reproduce an issue on more
than one platform. It won't change the priority or the target at all. 
Comment 5 Armin Le Grand 2007-06-21 13:34:00 UTC
AW->JSI: Thank You for checking. I am sure You work with the most current
versions and thus have a m216 wntmsci10 by hand for a quick test. For me it is
relevant to exclude it just being a build error on unxsols4.
Comment 6 jogi 2007-06-21 14:53:59 UTC
Evaluation Win32:
- The behaviour under Win32 is different but also wrong (it does not crash,
that's maybe an advantage)
- If you try to resize with the mouse the "TextEdit"-box if you have the cursor
activated inside of it the resize fails (the box is much smaller and is being
positioned at the right bottom).

Ergo: Both wasn't in the last release and is a regression and would be from my
point of view a show stopper of the next release.
Comment 7 jogi 2007-06-21 14:58:02 UTC
ccIng cl
Comment 8 Armin Le Grand 2007-06-21 17:53:00 UTC
AW: Checked using a m215 i had here. Crashes on wntmsci10, too. It also shows
that the error is already in for some versions. I will look deeper with m216 soon...
Comment 9 Armin Le Grand 2007-06-21 18:10:54 UTC
AW: Works in m210...
AW: Crash in m215...
AW: Installing m212...shows the funny frame handling, but no crash...
AW: Installing m214...shows the funny frame handling, but no crash...
->crash introduced in m215.
CWSes integrated were:
	aquabundle
	ause080
	bgdlremove
	brofficereadme
	cmcfixes34
	enabletango
	helplinker01
	i18n30
	ka009
	namespacefixes
	obo12
	plug05_SRC680
	qadev29
	ww8export02_SRC680
	xsltfilter07
Comment 10 Armin Le Grand 2007-06-22 11:27:45 UTC
AW: Can reproduce in my m216 from aw051, special template is not needed. Has to
do with SdrDragHdl at the SdrDragView, seems as if it gets deleted without
resetting pDragHdl. Debugging...
Comment 11 Armin Le Grand 2007-06-22 11:38:01 UTC
AW: SdrHdl gets deleted (breakpoint in destructor) before selected into view as
drag target. Deletion is done via EndTextEdit (svdedxv.cxx:995). Seems as if the
bad boy is sd/source/ui/func/futext.cxx where first the handle is picked for the
event, then SdrEndTextEdit is called and then the deleted handle is used for
dragging. SdrEndTextEdit() should be called first. Testing...
Comment 12 Armin Le Grand 2007-06-22 11:52:31 UTC
AW: Okay, this works. Adding to aw051 and commiting change to sd...
Comment 13 Armin Le Grand 2007-06-22 11:56:00 UTC
AW: Checked in, works. Fix is okay until selection/interaction rework.
Comment 14 Armin Le Grand 2007-06-26 11:46:08 UTC
AW->WG: Please verify (maybe JSI?).
Comment 15 Armin Le Grand 2007-06-26 12:15:16 UTC
AW: WG asked me for changing to CGU, doing so.
Comment 16 christian.guenther 2007-07-05 19:02:33 UTC
CGU: verified in cws aw051
Comment 17 christian.guenther 2007-10-17 14:37:20 UTC
CGU: integrated in src680m233 and oog680m5