https://bugs.freedesktop.org/show_bug.cgi?id=73045

          Priority: medium
            Bug ID: 73045
          Assignee: [email protected]
           Summary: image from clipboard cannot be pasted in Writer (URI
                    format is wrong, with forward slash)
          Severity: major
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.1 rc
         Component: Writer
           Product: LibreOffice

I take screenshots using Greenshot.

I can paste the image from clipboard in Impress and Draw. 
But if I paste the clipboard content into Writer, the image is missing: It
shows only a placeholder.

I traced the problem: The root cause is that the URI contains three FORWARD
slashes, not BACK-slashes as required in Windows. 

Here is a sample URI: file:///C:Users\njaras\AppDataLocal\Temp\gfukOrcd.1lk.png

If I manually correct the slashes, the image gets inserted normally.

Steps to do this:
1. Double-clicking on the placeholder
2. A "Picture" window pops up. Click on its "Picture" tab.
3. In the "Link" section, the URI of the temporary file is listed.
4. Edit the URI and replace /// with \\\
5. Press OK. The image is inserted in the file now.

Conclusion: Both Impress and Draw create the URI correctly.
Please correct the URI format in Writer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to