[Libreoffice-bugs] [Bug 62196] EDITING: copy-paste from non-LibO-text-source pastes previous clipboard contents (see comment 62)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 5 11:39:24 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=62196

--- Comment #82 from Wolfgag Nickl <wolfgang.nickl at schleicher-gmbh.de> ---
Hello together,

we have the same problem.
Our company uses LibreOffice as main Office program.
When we start the program TIA Portal from Siemens,
the clipboard show the same behavier.

1. Open New Textdocument, TIA is started.
2. Make a Screenshot and paste it to the new doc, works.
3. Typ in text
4. mark this text and copy to Clipboard with (Ctrl+c)
5. insert this text in a new line to this document (Ctrl+v)
6. Make a new Screenshot
7. Paste to Writer doesn't work, the former text is inserted.
8. Close TIA let writer open, make a screenshot and insert from clipboard
works.

The Problem is that die screenshots that we need came from TIA.

After I inserted the Text from Writer to Clipboard, the type ob Clipboard
stays the same, even if I make a new Screenshot.
The Typ is application/x-openoffice-embed-source-xml;windows_formatname="Star
Embed Source (XML)"
The mimetype I get with the following writer macro:

Sub ClipBoardTyp
  Dim oClip, oClipContents, oTypes
  Dim oConverter, convertedString$
  Dim i%, iPlainLoc%
  Dim sClipService As String

  iPlainLoc = -1
  sClipService = "com.sun.star.datatransfer.clipboard.SystemClipboard"
  oClip = createUnoService(sClipService)
  oConverter = createUnoService("com.sun.star.script.Converter")

  'Print "Clipboard name = " & oClip.getName()
  'Print "Implemantation name = " & oClip.getImplementationName()
  oClipContents = oClip.getContents()
  oTypes = oClipContents.getTransferDataFlavors()
  for each oTyp in oTypes
        msgbox oTyp.MimeType & "<->" & oTyp.HumanPresentableName
  next
End Sub

We work with windows 10 and Libre 5.3.4.2, but the problem
also occured in Win7, and in Win10 with LibreOffice 6.1.6.

I think the problem must be closed from LibreOffice side, 
because with other programs their is no problem to insert the Screenshots from
clipboard.

Some guys in our company want to change to MSOffice, this is an argument for
them. We use Writer since StarOffice times, I don't want to change.

So if I can give you further information let me know.

Best Regards
Wolfgang

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190605/f809c43e/attachment.html>


More information about the Libreoffice-bugs mailing list