Issue 111243 - loop - hang when inserting object in a special way
Summary: loop - hang when inserting object in a special way
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 3.1.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 05:46 UTC by Rainer Bielefeld
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

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


Attachments
Pls see original report (79.88 KB, application/x-compressed)
2010-04-29 05:48 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2010-04-29 05:46:31 UTC
When I copy / paste contents from DRAW, undo and paste again, OOo will run into
loop or hang.

Steps to reproduce:
0. Unzip "testkit.zip"
1. open both documents from attached test kit
2. go to DRAWing "sampledrawing.odg"
3. Mouse click on smiley
  control points will appear
4. <cntrl>+<c>
5. change to sampletext.odt
6. move cursor to end of contents (top of last page 14) if necessary
7. <cntrl>+<v>
  Smiley will be inserted, you see that it's too big for page
8. Press Undo button
9. click Insert icon in toolbar
10. select "GDI Metafile"
    Expected: Smiley will be inserted again
    Actual: Smiley inserted, then an endless loop starts inserting new pages 
            without end

With a little modification in the process you can cause a hang:

101. open both documents from test kit
102. go to DRAWing "sampledrawing.odg"
103. Mouse click on smiley
  control points will appear
104. Menu 'Edit -> Copy'
105. change to sampletext.odt
106. move cursor to end of contents (top of last page 14) if necessary
107. Menu 'Edit - paste'
     Smiley will be inserted, you see that it's too big for page
108. Press Undo button
109. Menu 'Edit -> Paste Special'
110. select "GDI Metafile", <ok>
    Expected: Smiley will be inserted again
    Actual: Smiley inserted, then OOo hangs

Same result 

Related to Issue 59836?
Comment 1 Rainer Bielefeld 2010-04-29 05:48:08 UTC
Created attachment 69165 [details]
Pls see original report
Comment 2 Rainer Bielefeld 2010-04-29 05:49:33 UTC
Terminating my aborted report:
Also reproducible with "Ooo-Dev 3.3 multilingual version English UI WIN XP:
[DEV300m77 (Build 9496)]"!
Comment 3 michael.ruess 2010-04-29 10:59:05 UTC
MRU->OD: pasting the the drawing object from the impress file will result in
correct result. But then after "Undo" it looks that the cursor is located in the
header - when now pasting the object as GDI Metafile, the pages will count up
and up. 
Comment 4 Marcus 2017-05-20 11:15:44 UTC
Reset assigne to the default "issues@openoffice.apache.org".