Issue 9715 - Using context sensitive OLE toolbars for OLE objects embedded in floating frames crashes OOo
Summary: Using context sensitive OLE toolbars for OLE objects embedded in floating fra...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 643C
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
: 9798 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-12-01 01:16 UTC by Unknown
Modified: 2013-08-07 14:43 UTC (History)
2 users (show)

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


Attachments
File containg the drawing. Insert this file into a floating frame (5.25 KB, application/octet-stream)
2002-12-01 01:17 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-12-01 01:16:23 UTC
Summary
-------
OOo writer when a file containing objects is inserted and edited in floating 
frames

Steps
-----

1. Go to menu option Insert-> Floating frame
2. A dialog pops up... Choose a frame name and a file to insert that contains 
drawings such as ellipses, squars, etc.

A floating frame with the square shows up in the document.

3. Select the object.

The current toolbar under the main toolbar changes to that of the selected 
object properties. If this does not happen, right click in the Floating Frame 
choose the Edit option.

4. Try to change the color of the selected drawing on the toolbar.

OOo crashes indicating that an Unrecoverable error has occured

Notes
-----
OOo does not seem to be able to handle files containing drawings in floating 
frames. I have tried the same with files that only contain text, and there does 
not seem to be any problem. However with files that contain pictures or any 
other non-text data, the toolbar associated with the picture/object causes a 
crash to occur.
Comment 1 Unknown 2002-12-01 01:17:27 UTC
Created attachment 3829 [details]
File containg the drawing. Insert this file into a floating frame
Comment 2 sujit 2002-12-01 02:35:40 UTC
Was able to replicate this bug in following configuration 
Platform :PC
OS:Win XP NT 5.1
Version: 2600
Also tried out this small variation..
1. Open a new document 
2.click on Insert->floating frame 
3. choose a existing text document instead of the file provided by 
the author 
4. This will create a floating frame in the text document with the 
contents of the file inserted .
5.Select the text in the floating frame .Try aand change the font of 
the text selected from the toolbar.
6.Openoffice crashes
Notes :
I have noticed that Openoffice crashes anything you click on any of 
the toolbar icons on selecting some object be it text or picture or a 
plain drawing which is inside this floating frame.
Hope this issue is looked into.
Comment 3 prgmgr 2002-12-01 17:48:52 UTC
Bharath and Sujit, thank you for using and supporting OOo.

Duplicated on Win2k server SP3, OOo 643c.
Duplicate on RH 8.0, RH OOo 1.0.1.


Summary:  Toolbars that appear for OLE objects that are embedded in
          floating frames will crash OOo if used.

          The problem does not occur if the OLE object is directly
          inserted into the file.


User summary
OOo writer crashes when a file containing objects is inserted and 
edited in floating frames
Comment 4 h.ilter 2002-12-02 11:32:36 UTC
Reassigned to MRU
Comment 5 michael.ruess 2002-12-02 17:33:22 UTC
Yes, is reproducable. When selecting a Drawing object inside a
floating frame and the trying to open the color listbox in the object
bar, application crashes.
Comment 6 prgmgr 2002-12-04 02:34:05 UTC
*** Issue 9798 has been marked as a duplicate of this issue. ***
Comment 7 malte_timmermann 2002-12-20 10:50:22 UTC
MT->SSA: VCL
Comment 8 stephan_schaefer 2002-12-20 13:10:11 UTC
I'm looking into it.
Comment 9 stephan_schaefer 2002-12-20 15:18:57 UTC
SSA->MBA: Please apply the fix that exchanges the toolbox contents
asynchronously if the toolbox currently has the focus.
Comment 10 Mathias_Bauer 2003-01-08 13:45:19 UTC
Done. Fixed for all builds>=644
Comment 11 Mathias_Bauer 2003-01-17 13:30:35 UTC
.
Comment 12 Mathias_Bauer 2003-01-17 13:32:00 UTC
Michael, please verify this fix in the corresponding builds
We can only fix the crash, but we can't avoid that the toolbar 
content switches when you activate it.
Comment 13 michael.ruess 2003-01-31 10:42:47 UTC
MRU->MBA: crsh still occurs in srx644s (build 8510). 
Stack:
VCL644MI! Window::ImplIsChild(class Window const *,unsigned char) + 22
bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 29 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplCallDeactivateListeners(class Window *) + 127 bytes
VCL644MI! Window::ImplGrabFocus(unsigned short) + 1434 bytes
VCL644MI! Window::GrabFocus(void) + 103 bytes
VCL644MI! ListBox::ImplClickBtnHdl(void *) + 53 bytes
VCL644MI! ListBox::LinkStubImplClickBtnHdl(void *,void *) + 15 bytes

Comment 14 Mathias_Bauer 2003-01-31 11:03:53 UTC
@mru:
Sorry, wrong CWS. It is fixed in CD5 (currently nominated for QA). My 
comment "all builds >=644" was for OOo, because I assumed that the 
first "official" 644 build for OOo ist still not out.
Comment 15 michael.ruess 2003-02-03 09:44:40 UTC
Verified the fix in internal workspace build.
Comment 16 michael.ruess 2003-02-03 09:45:03 UTC
Fix will be integrated in OO 1.1 Beta.
Comment 17 michael.ruess 2003-02-21 17:15:18 UTC
Checked integration with internal Milestone 644m4s2-2.