Bug 128461 - Not possible to paste a picture from the clipboard using long press at the cursor position on iOS
Summary: Not possible to paste a picture from the clipboard using long press at the cu...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: iOS Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other iOS
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-29 14:31 UTC by Nicolas Christener
Modified: 2020-04-14 20:32 UTC (History)
1 user (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-10-29 14:31:15 UTC
Description:
A picture from the clipboard can be inserted into a writer document in iOS using "Edit > Paste". However iOS also offers certain options such as "copy, cut, paste" in a popup bubble which appears after a long press at the cursor position.

This popup bubble appears on iOS when text was copied to the clipboard but the bubble does not appear when a picture was copied to the clipboard.

Steps to Reproduce:
1. Copy a picture to the clipboard e.g. in the iOS browser (long press on a picture -> copy)
2. Open a writer document using the iOS app and enter edit mode
3. Try to insert the picture from the clipboard using the popup bubble using a long-press at the cursor position

Actual Results:
The popup bubble does not appear when a picture is copied to the clipboard.

Expected Results:
The popup bubble should appear when a picture is copied to the clipboard.


Reproducible: Always


User Profile Reset: No



Additional Info:
Inserting the picture using "Edit > Paste" works as expected. Also inserting text from the clipboard using the popup bubble works.
Comment 1 Nicolas Christener 2019-10-29 15:04:06 UTC
Sometimes I somehow manage to get the popup bubble even if a picture is in the clipboard - but not always. Have not yet found out how to do it, but it seems to be an issue in the JS code not a general problem / non-existing functionality.
Comment 2 Xisco Faulí 2019-10-30 08:26:28 UTC
Moving to NEW
Comment 3 How can I remove my account? 2019-11-20 13:41:28 UTC
Looking at this now. (In the collabora-online-4 branch, i.e. for the 4.1.x series.)
Comment 4 How can I remove my account? 2019-11-21 09:48:51 UTC
Experimenting with current code from core:cp-6.0+online:collabora-online-4 (i.e. close to 4.1.71), if there is an image on the clipboard, long press does nothing. But double-clicking selects a word, *and* pops up an "edit menu", but with just "Cut | Copy", no "Paste". If there is text on the clipboard, long press works, and "Paste" is there (also after double-click).
Comment 5 How can I remove my account? 2019-11-21 10:07:38 UTC
Fix in https://gerrit.libreoffice.org/#/c/83369/
Comment 6 Nicolas Christener 2020-01-22 15:10:44 UTC
I think this issue is still/again present in 4.2 (32).

@Tor: does it work for you?
Comment 7 How can I remove my account? 2020-01-22 15:38:51 UTC
Might well have worked at some stage but been broken again... will check.
Comment 8 Nicolas Christener 2020-04-14 19:26:15 UTC
Fixed; tested in 4.2.4 (50).

I believe we can close this issue.

Thanks a lot to the Collabora team and especially Tor for taking care of this.