[Bugs] #4418 sugar UNSP: Copying an image does not work (was: Paint only allows 'png' files)
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Feb 18 05:41:45 EST 2013
#4418: Copying an image does not work
------------------------------------------+---------------------------------
Reporter: dsd | Owner: humitos
Type: defect | Status: accepted
Priority: Unspecified by Maintainer | Milestone: 0.98
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords: r?
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Changes (by erikos):
* component: Paint => sugar
Old description:
> Tested on 13.1.0 build 28 on XO-4, copying an image from Browse or Paint
> doesn't work.
>
> shell.log includes an exception:
> {{{
> clipboardpanelwindow.py line 87, in _owner_change_cb
> data_hash = hash(selection.get_data())
> AttributeError: NoneType object has no attribute 'get_data'
> }}}
New description:
Tested on 13.1.0 build 28 on XO-4, copying an image from Browse or Paint
doesn't work.
shell.log includes an exception:
{{{
clipboardpanelwindow.py line 87, in _owner_change_cb
data_hash = hash(selection.get_data())
AttributeError: NoneType object has no attribute 'get_data'
}}}
For copying a clipping from Paint the steps are as follows:
- open Paint and draw something
- select parts of the drawing
- in the edit section push the copy button
---> in the clipboard an entry is created that has the copy icon and is
labelled image clipping, it has only one option for opening it
- try to resume that entry
---> Paint is opened but the canvas is empty
- go to the edit toolbar and push the paste button
---> the clipping is pasted fine into Paint
For copying a clipping from Browse the steps are as follows:
- click on an image in Browse (e.g. Wikipedia picture, a Google searched
picture...) and select 'Copy image' in the Palette
---> in the clipboard an entry is created that has the copy icon and is
labelled image clipping, it has only one option for opening it
- select 'open' in the clipping Palette
---> Paint is opened but the canvas is blank
- go to the edit toolbar and push the paste button
---> the clipping is pasted fine into Paint
--
Comment:
I think this ticket went a bit off track. First of all we should define
the use case again from the original request from Daniel:
He reported that he can not copy an image from Browse or Paint (this
copying is using the clipboard). I added test cases to the description.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4418#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list