Issue 49087 - Size of pictures in rtf code not saved properly
Summary: Size of pictures in rtf code not saved properly
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 12:09 UTC by acebird
Modified: 2017-05-20 11:25 UTC (History)
1 user (show)

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


Attachments
Look number 6 in Word 2002. Before it should be very small picture, which is bigger in OpenOffice 2.0.3. (14.16 KB, application/msword)
2006-09-10 21:34 UTC, tmjura
no flags Details
Documents and sreenshots related to this size of picture issues (441.07 KB, application/x-compressed)
2006-09-11 13:19 UTC, tmjura
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description acebird 2005-05-11 12:09:17 UTC
When I load an rtf file with a picture in it and the I save it, the size of the 
picture is changed. I use OOo 1.9.100 (2.0 beta). 
Part of the code before loading:

{\pict\wmetafile8\picw10742\pich2275\picwgoal6090\pichgoal1290 
010009000003cf4
...

And after saving (the picw and pich parameter are different):

{\pict\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0
\picw284215\pich60193\picwgoal6090\pichgoal1290\wmetafile8
010009000003cf4
...
Comment 1 michael.ruess 2005-05-11 12:56:26 UTC
MRU->FLR: can you please have a look at this RTF code sample?
Comment 2 Mathias_Bauer 2006-08-30 15:16:01 UTC
reassigning to hbrinkm
Comment 3 tmjura 2006-09-10 21:30:44 UTC
This seems to be also in OpenOffice 2.0.3. 
If this is assigned to wrong issue, please assign forward to right issue


I happened to run into this when doing another test with RTF format.
This is from my test log.


=> SEPARATE , ISOLATE LATER, GO TO BACK 20, REPEAT

20A. NOT SO NICE:
- the picture added in OpenOffice 2.0.3 can be dragged into the middle of text
- when saved in OpenOffice 2.0.3 and opened again in Word 2002, somehow the 
picture added in OpenOffice 2.0.3 seems to be disappeared
- after thorough lookup, the picture added and dragged can be found
- it is minimised to miniatyre size, but it is hardly visible in Word 2002
- position of the dragged and dropped picture added in OpenOffice 2.0.3 is seems 
to be totally different when watched in Word 2002 (10.6802.6735) SP 3

=> Saved test.rtf
==> when whatched with Word 2002 the miniatyrised picture is lurking just before 
number 6.


=> CONTINUE 20A, step by step, try to repeat - is this also unrepeatable??

Simple picture in Word 2002 and in OpenOffice 2.0.3

1. create picture in other program, copy to clipboard
2. open Microsoft Word 2002 (10.6802.6735) SP 3
3. New text document
4. add enough enters
5. Add sample text to the document
6. move cursor to a line where there is no text
7. adding picture: EDIT => Paste special => Picture
8. save document as RTF
9. close Microsoft Word 2002 (10.6802.6735) SP 3

10. Open OpenOffice 2.0.3
11. Open RTF-file 
12. drag and drop the picture into the sample text
13. save document as RTF
14. Close OpenOffice 2.0.3

15. open Microsoft Word 2002 (10.6802.6735) SP 3
16. Open RTF-file 

17. NOT SO NICE: this is very hard to repeat - UNREPEATABLE.


I repeated phases 1-16 many times - I swear - but I could not repeat as it was 
in phase 20A in the main test tree.
It seems that it is somehow related to the position of the picture.

Normally the picture added to RTF file in OpenOffice is only in wrong place in 
Microsoft Word 2002.
This shrinking seems to be a randomised feature.

Well. You cannot win always.

Comment 4 tmjura 2006-09-10 21:34:03 UTC
Created attachment 39071 [details]
Look number 6 in Word 2002. Before it should be very small picture, which is bigger in OpenOffice 2.0.3.
Comment 5 tmjura 2006-09-11 13:17:06 UTC
This seems to be also in OpenOffice 2.0.3. 
If this is assigned to wrong issue, please assign forward to right issue

It is this size of RTF pictures issue again.
This time I have more files and screenshots.
And the test is specficly related to this issue, not just a random quick test.


IT OCCURRED AGAIN - IS IT REPEATABLE OR UNREPEATABLE??
YESTERDAY IT DID NOT OCCUR EVEN I TRIED

=> THIS IS CREATION document 1.rtf
1. create picture in other program, copy to clipboard
2. open Microsoft Word 2002 (10.6802.6735) SP 3
3. New text document
4. add enough enters
5. Add sample text to the document
6. move cursor to a line where there is no text
7. adding picture: EDIT => Paste special => Picture
8. save document as RTF
9. close Microsoft Word 2002 (10.6802.6735) SP 3
=> THAT WAS CREATION document 1.rtf


THE TEST

1. Open document 1.rtf in Word 2002 (10.6802.6735) SP 3
(screenshot 1.png)
2. close Word 2002 (10.6802.6735) SP 3

3. Open document 1.rtf in OpenOffice 2.0.3
4. Save document as 3.rtf in OpenOffice 2.0.3

5. add two pictures in OpenOffice 2.0.3.
- another into the enter line
- another into the middle of sample text
(screenshot 5.png)

6. Notice that the added pictures in OpenOffice 2.0.3 are moved with arrow keys, 
not dragged and dropped with mouse

7. Now comes the tricky part 
==> Yesterday I tried to repeat test many times to get result in phase 13


8. The picture added in OpenOffice 2.0.3. had to be exactly in right position to 
reproduce this in repeat test
=> screenshot 8.png
- the right edges of the pictures are in position 17 as can be seen in 
screenshot 8.png
- I don´t know the translation of that grey line in position 15
- but it was produced with two right arrow key pressing
- a. one step over that line in position 15
- b. then second step over that line in position 15 TO position 17

9. Save document as 3.rtf in OpenOffice 2.0.3
10. close document as 3.rtf in OpenOffice 2.0.3
11. open 3.rtf in Word 2002 (10.6802.6735) SP 3
=> screenshot 11.png

12. WHERE are pictures added in OpenOffice 2.0.3 ??
13. AHA - they are lurking there very miniatyrised

14. Can be resized to some size
=> screenshot 14.png
15. Resize pictures


HERE IS THE PROBLEM - REPETITION OF PHASES OF 8 TO 15 IS SOMEHOW RANDOMIZED
- you should define VERY, VERY, VERY detailed description what you did
- that may be impossible to human since you should describe even more detailed 
way I am used to


QUESTION: IS IT RELATED TO POSITION OF PICTURES CREATED IN OpenOffice 2.0.3 ?
=> MAKE A SEPARATE TEST OF THAT


Separate test

16. close Word 2002 (10.6802.6735) SP 3
17. NO, NO and NO: I specificly DID NOT save anything in Word 2002 (10.6802.
6735) SP 3

18. Open document 3.rtf in OpenOffice 2.0.3
19. Save document as 19.rtf in OpenOffice 2.0.3

20. Move pictures added in OpenOffice 2.0.3
=> screenshot 20.png 
- the right edges of the pictures are in position 16 as can be seen in 
screenshot 20.png
- but it was produced with one left arrow key pressing
- one step from position 17 to 16

21. Save document as 19.rtf in OpenOffice 2.0.3
22. close document 19.rtf in OpenOffice 2.0.3

23. Open document 19.rtf in Word 2002 (10.6802.6735) SP 3
24. Pictures added in OpenOffice 2.0.3 are lurking there very miniatyrised
=> check that same position as in screenshot 14.png

22. close document 19.rtf in Word 2002 (10.6802.6735) SP 3
23. NO, NO and NO: I specificly DID NOT save anything in Word 2002 (10.6802.
6735) SP 3

24. Open document 19.rtf in OpenOffice 2.0.3
25. Save document as 25.rtf in OpenOffice 2.0.3

26. Move pictures added in OpenOffice 2.0.3
=> screenshot 26.png 
- the right edges of the pictures are NEAR position 15 as can be seen in 
screenshot 26.png
- but it was produced with one left arrow key pressing
- one step from position 16 to to that near position 15
- put is NOT moved to position 15 - SEE THE DIFFERENCE

27. Save document as 25.rtf in OpenOffice 2.0.3
28. close document 25.rtf in OpenOffice 2.0.3

29. Open document 25.rtf in Word 2002 (10.6802.6735) SP 3
30. Pictures added in OpenOffice 2.0.3 are lurking there very miniatyrised
=> check that same position as in screenshot 14.png


OK - I think this is enough repetition.

It is not related to the position of pictures in OpenOffice 2.0.3.
Phases 9-30 confirm that moving the pictures in OpenOffice 2.0.3. does not 
change the position or size of pictures in Word 2002 (10.6802.6735) SP 3


QUESTIONS ARISING
- which of the programs is not following RTF standard ??
- how it is possible that in some position the picture added in OpenOffice 2.0.
3. is SEEN OR NOT SEEN in normal size in Word 2002 ??

Comment 6 tmjura 2006-09-11 13:19:06 UTC
Created attachment 39080 [details]
Documents and sreenshots related to this size of picture issues
Comment 7 Marcus 2017-05-20 11:24:25 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 8 Marcus 2017-05-20 11:25:50 UTC
Reset assigne to the default "issues@openoffice.apache.org".