Bug 125410 - Copy from any iOS app and paste into LibreOffice iOS app does not work
Summary: Copy from any iOS app and paste into LibreOffice iOS app does not work
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: iOS Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other iOS
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.3.0
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-21 09:26 UTC by Nicolas Christener
Modified: 2020-02-20 09:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2019-05-21 09:26:12 UTC
Description:
Select some text in any iOS app (e.g. browser) then switch to the LibreOffice iOS app and paste the text does not work.

At least the most basic things like text and pictures should work.

Steps to Reproduce:
1. Copy text from any iOS app
2. Try to paste it into the LibreOffice iOS app

Actual Results:
Pasting is not possible.

Expected Results:
Pasting of text as well as pictures should work.


Reproducible: Always


User Profile Reset: No



Additional Info:
Pasting text into the calc input field works (as it is a native HTML input field).
Comment 1 How can I remove my account? 2019-05-21 11:42:09 UTC
Looking at this now.
Comment 2 Commit Notification 2019-05-21 13:11:55 UTC
Tor Lillqvist committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/online/+/936f3a143520c5a8c72fd0976c88580d3393d034%5E%21

tdf#125410: Handle pasting of text/plain strings into the iOS app
Comment 3 How can I remove my account? 2019-05-21 13:12:17 UTC
Implemented now for pasting of plain text. Handling pasting of images will be harder. As will various non-plain text formats, if there is a way to paste such.
Comment 4 How can I remove my account? 2019-05-21 13:23:51 UTC
If I copy an image to the clipboard on my iPad (in the Photos app, I press the "Share" button, then click "Copy"), I can paste it into the Notes app for instance. But in the iOS app, the on-screen keyboard has the "paste" icon greyed out, so it seems that JavaScript running in Webkit doesn't allow pasting of images? Need to investigate more.
Comment 5 How can I remove my account? 2019-05-30 11:36:07 UTC
Is hopefully mostly fixed now. Most related commits were actually marked with tdf#124752 (bug #124752).
Comment 6 Babbles 2020-02-20 00:25:08 UTC
I can copy and paste in LibreOffice Online.
However, I can't paste elements copied from other apps into LibreOffice.

When the user tries to paste, the following error is displayed.

> Please use the copy/paste buttons on your on-screen keyboard.

No on-screen keyboard is displayed anywhere on the screen.
Comment 7 How can I remove my account? 2020-02-20 06:54:21 UTC
Babbles, are you talking about web-based Online, used in a browser (Safari), or the Collabora Office app?
Comment 8 Babbles 2020-02-20 08:33:09 UTC
(In reply to Tor Lillqvist from comment #7)
> Babbles, are you talking about web-based Online, used in a browser (Safari),
> or the Collabora Office app?

It is web based. This is the same for Safari mobile, Firefox and iCab.
I tried using the Collabora iOS app. In the case of the Collabora app, it seems that I can paste. But the app crashes instantly. I don't care because I don't use the Collabora app.

The version of LibreOffice is 6.2-4. Same behavior for both Writer and Calc.
Comment 9 How can I remove my account? 2020-02-20 09:03:56 UTC
Well, this bug is about the iOS app, so reporting issues in the web-based Online is not relevant here. Please file a separate bug against LibreOffice Online.