[Sugar-devel] Clipboard object not appearing on new clipboard tray

Gonzalo Odiard godiard at sugarlabs.org
Mon Aug 11 17:06:07 EDT 2014


If I am not wrong, the logic to catch the events in the Gtk Clipboard,
is in clipboardpanelwindow.py. In particular see _owner_change_cb method.

Gonzalo


On Mon, Aug 11, 2014 at 5:52 PM, Athar Haque <findathar at gmail.com> wrote:

> Yeah, I am aware of this bug but what troubles me is that the behavior
> should be same for both the clipboards. But in this case the objects are
> appearing on the original clipboard but not on the replica.
>
>
> On Tue, Aug 12, 2014 at 2:14 AM, Gonzalo Odiard <godiard at sugarlabs.org>
> wrote:
>
>> In your log, you can see:
>>
>> Traceback (most recent call last):
>>   File
>> "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/frame/clipboardicon.py",
>> line 169, in _notify_active_cb
>>     self._put_in_clipboard()
>>   File
>> "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/frame/clipboardicon.py",
>> line 93, in _put_in_clipboard
>>     if not x_clipboard.set_with_data(targets,
>> AttributeError: 'Clipboard' object has no attribute 'set_with_data'
>>
>> That is the bug I was talking about
>>
>>
>> On Mon, Aug 11, 2014 at 5:35 PM, Athar Haque <findathar at gmail.com> wrote:
>>
>>> No such error in the log too. The fact I am wondering about is even on
>>> being a copy of the original, the objects are not being added to the new
>>> clipboard.
>>>
>>> I have attached shell.log herein.
>>>
>>>
>>> On Mon, Aug 11, 2014 at 6:36 PM, Gonzalo Odiard <godiard at sugarlabs.org>
>>> wrote:
>>>
>>>> No way to know with the information you provide.
>>>>
>>>> Any error in the log?
>>>>
>>>> Just have in account we have a bug pending on Fedora 20 that can break
>>>> clipboard
>>>> related code. http://bugs.sugarlabs.org/ticket/4307
>>>>
>>>> Gonzalo
>>>>
>>>>
>>>> On Mon, Aug 11, 2014 at 4:23 AM, Athar Haque <findathar at gmail.com>
>>>> wrote:
>>>>
>>>>> I have been facing this issue and not able to get through it. I
>>>>> created a new module jarabe.bulletinframe which is a replica of
>>>>> jarabe.frame. When I perform clipboard operations, the clipboard object
>>>>> gets added on the original clipboard tray but not on the new clipboard
>>>>> tray. I can't figure out the problem as it is just a replica of the
>>>>> original. Any help with this ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Nazrul
>>>>> irc - native93
>>>>>
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Gonzalo Odiard
>>>>
>>>> SugarLabs - Software for children learning
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Nazrul
>>>
>>>
>>
>>
>> --
>> Gonzalo Odiard
>>
>> SugarLabs - Software for children learning
>>
>
>
>
> --
> Regards,
> Nazrul
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140811/d4477b99/attachment-0001.html>


More information about the Sugar-devel mailing list