Bug 37004 - Flip image (horizontally/vertically) broken when copying from MS-Paint (Win7)
Summary: Flip image (horizontally/vertically) broken when copying from MS-Paint (Win7)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 3.3.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 04:00 UTC by Stephan Zietsman
Modified: 2013-10-15 14:52 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stephan Zietsman 2011-05-09 04:00:01 UTC
When copying an image to the clipboard (in MS-Paint) and pasting it into LibO Writer, the "flip vertical" / "flip horizontal" tick-box does nothing.

 -= To reproduce =-

Take a screen-shot, any random screen-shot (PrtScn - Print-screen button)
Open MS-Paint (Start menu -> All Programs -> Accessories -> Paint)
Paste screen-shot (Ctrl + v)
Copy pasted screen-shot to clipboard (Ctrl + c)

Open LibreOffice
Create new text document (File -> New -> Text Document)
Paste image from clipboard (Ctrl + v)
Double-click pasted image (or right-click -> Picture...)
Select "Picture" tab
Under the "Flip" section, tick the box "Flip Vertically"
Click OK

Expected result: Image flips vertically
Actual result: Nothing happens

The same applies to "Flip Horizontally" (irrespective of radio button position).

 -= End of reproduction =-

I have also noticed the following:

1. Using "Paste Special" (Ctrl + Shift + v) and selecting "GDI metadata" produces the same problem (image cannot be flipped).


2. Using "Paste special" and selecting "Paintbrush Picture" produces inconsistent result.

   2.1 If image was pasted with "Ctrl + v" FIRST, with the image still selected and then pasted again with "Ctrl + Shift + v" -> "Paintbrush Picture", it acts identically to pasting as "GDI metadata" (cannot be flipped, image looks "normal")
 
   2.2 If the image was NOT pasted with Ctrl + v first, but rather pasted with Ctrl + Shift + v -> Paintbrush Picture instead (i.e. pasted into blank document), the picture is pasted as a smaller version, almost like a thumbnail.  The pasted image cannot be flipped.


3. Using "Paste special" and selecting "Bitmap" works as expected (image can be flipped correctly)

4. Pasting the screen-shot directly into LibO writer (not pasting and copying from MS-Paint) works as expected (image can be flipped correctly)
Comment 1 Stephan Zietsman 2011-05-09 04:06:26 UTC
I'm marking it as a "Minor" issue because a workaround exists (Paste Special -> Bitmap)

FYT,

Windows 7 Professional 64-bit (Service Pack 1)

LibreOfficePortable 3.3.2 (as from PortableApps.com)

LibreOffice 3.3.2 
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2
Comment 2 Björn Michaelsen 2011-12-23 12:01:50 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 3 sasha.libreoffice 2012-02-28 04:48:35 UTC
reproduced in 3.5.0 beta 3 on Windows XP 32 bit
Problem with copy from Paint, from Gimp Ok. Problem only in Writer, Calc and Impress works correctly. And in Writer in picture preview flip seen correctly, but in document nothing happens.
Comment 4 sasha.libreoffice 2012-02-28 04:50:04 UTC
@ Tor
Please, look at this. Windows specific problem, Writer wrong interacts with Paint


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.