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
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1585291

Title:
  copy image not working correctly

Status in Canonical System Image:
  New
Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~ubuntu-apps-bugs
Post to     : ubuntu-apps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-apps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to