Public bug reported:

I don't believe the "copy image" function is working correctly. It just
copies the url of the image with text/plain content type. This give the
client of the pasteboard no indication that it's an image.

I would have expected one of the following, not sure which is correct (we 
should look how desktop/other platforms do it)
1) copy the actual image to the pasteboard and specify correct content type 
(i.e. image/jpeg, etc). I believe this is the preferred method.
2) copy the url of the image but set the content-type (i.e. image/jpeg) that 
it's an image so it can be easily decoded by the paste side

Steps to reproduce:
- launch browser, go to a site with an image
- long press, select "copy image" from popup menu
- open Notes, or Messaging-App
- create a new Note or Message
- long press in the text area and select "Paste" from the popup

Expected results:
- the image is pasted into the field

Actual results:
- the url of the image is pasted into the field as text

** Affects: canonical-devices-system-image
     Importance: Undecided
     Assignee: Bill Filler (bfiller)
         Status: New

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
     Assignee: Olivier Tilloy (osomon)
         Status: New

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Bill Filler (bfiller)

** Changed in: canonical-devices-system-image
    Milestone: None => backlog

** Changed in: webbrowser-app (Ubuntu)
     Assignee: (unassigned) => Olivier Tilloy (osomon)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1585291

Title:
  copy image not working correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1585291/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to