Issue 14946 - repaint failure when pasting a picture into a table
Summary: repaint failure when pasting a picture into a table
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
: 24163 (view as issue list)
Depends on:
Reported: 2003-05-27 11:34 UTC by simonbr
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

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

OOo Writer document illustrating the issue (9.48 KB, application/octet-stream)
2003-05-27 11:35 UTC, simonbr
no flags Details
Bugdoc from dublicate issue 24163 (9.63 KB, application/vnd.sun.xml.writer)
2004-01-08 15:30 UTC, h.ilter
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description simonbr 2003-05-27 11:34:52 UTC
In the attached document, select the picture, press CTRL+C, place the cursor in 
the first table cell and press CTRL+V. 

Two problems: 
1) The picture is (initially) displayed incorrectly (after scrolling the page 
so that the picture is out of view, it will be repainted correctly).
2) The width of the picture is adapted to the table, but the height is not 
changed correspondingly.
Comment 1 simonbr 2003-05-27 11:35:45 UTC
Created attachment 6469 [details]
OOo Writer document illustrating the issue
Comment 2 mci 2003-10-24 15:54:38 UTC
changed summary
Comment 3 tamblyne 2003-11-01 23:31:11 UTC
Confirmed -- initial graphic display is incorrect until the screen is
scrolled and the graphic re-painted.  RH9/1.1.0  

However, as to the sizing of the graphic after pasting into the table,
the width appears to be adjusted according to the size of the table
cell and the height appears proportional to that.  

Comment 4 h.ilter 2003-11-03 10:34:24 UTC
HI->OD: Was ok in PP3
Comment 5 Oliver-Rainer Wittmann 2003-11-03 16:06:28 UTC
As discussed, the repaint failure seems to be caused by using the
virtual output device with a given pixel offset, which doesn't seemed
to be recognized by the given graphic format.

The proportional scaling of graphics to its environments (in this case
the table cell) will be addressed in OOo Later.
Comment 6 thb 2003-12-04 12:57:43 UTC
Yep, this looks like a metafile. I suspect there's on case left not
handled for the OutputDevice pixel offset stuff. Will take care of that.
Comment 7 h.ilter 2004-01-08 15:25:11 UTC
*** Issue 24163 has been marked as a duplicate of this issue. ***
Comment 8 h.ilter 2004-01-08 15:30:06 UTC
Created attachment 12351 [details]
Bugdoc from dublicate issue 24163
Comment 9 thb 2004-05-04 12:53:11 UTC
Reduced prio, and set to OOo later, since the repaint shows the content correctly. Sorry, guys, limited 
resources. If there's some time left, I will reevaluate this bug for 2.0 final.
Comment 10 thb 2012-07-13 20:51:38 UTC
Reset to default assignee.