[Trac #579] [Clipboard] Issues copying text from the browser
Zarro Boogs per Child
bugtracker at laptop.org
Thu Dec 14 13:09:52 EST 2006
#579: [Clipboard] Issues copying text from the browser
--------------------+-------------------------------------------------------
Reporter: marco | Owner: tomeu
Type: defect | Status: new
Priority: normal | Milestone: BTest-2
Component: sugar | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Old description:
> To reproduce:
>
> * Select some text from the home page (google)
> * Drag it the clipboard
> * Drag it back to the google search field
>
> Issues that requires design thinking:
>
> * The frame is not showed automatically when dragging. It should show
> when hitting corner with the mouse or when starting the drag. The second
> option is going to be tricky to implement.
> * The title of the rollover is alwasy "Name".
> * The rollover has no content
> * The icon is always a text icon regardless of the real content.
>
> Bugs:
>
> * Something that looks like a progressbar is showing in the rollover.
> * Displaying the rollover I get this:
> {{{
> ** (sugar-shell:7487): CRITICAL **: get_content_area_vertical: assertion
> `requested_content_height >= 0' failed
>
> ** (sugar-shell:7487): CRITICAL **: get_content_area_vertical: assertion
> `requested_content_height >= 0' failed
> }}}
> * This is really incosistent but if you try to drag stuff at some point
> you will get one or many:
> {{{
> Introspect error: The name org.laptop.Activity12583218 was not provided
> by any .service files
> Traceback (most recent call last):
> File "/home/marco/sugar-jhbuild/source/sugar/shell/view/Shell.py", line
> 131, in __window_opened_cb
> activity_host = ActivityHost(self.get_model(), window)
> File "/home/marco/sugar-
> jhbuild/source/sugar/shell/view/ActivityHost.py", line 54, in __init__
> self._id = self._activity.get_id()
> File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
> __call__
> ret = self._proxy_method (*args, **keywords)
> File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in
> __call__
> reply_message = self._connection.send_with_reply_and_block(message,
> timeout)
> File "dbus_bindings.pyx", line 455, in
> dbus_bindings.Connection.send_with_reply_and_block
> DBusException: The name org.laptop.Activity12583218 was not provided by
> any .service files
> }}}
> I wonder if dnd creates toplevel windows? This is really weird.
New description:
To reproduce:
* Select some text from the home page (google)
* Drag it the clipboard
* Drag it back to the google search field
Bugs:
* The frame should show when hitting the screen edge/corners. I hope this
is just matter of listening to the drag_motion signal (it might need to be
added to the widget events too).
* We should have a title. I think we want to be able to associate a title
for each clipboard type. This will have to be hardcoded in the clipboard I
guess. For text it should be "Text clipping"
* We should preview the text content in the rollover. We want to have
something like 4 lines of text, in a menu which is 2 grid cells large.
Numbers are sort of random, we will need to tweak them, but the logic
should be that.
* Something that looks like a progressbar is showing in the rollover.
* Displaying the rollover I get this:
{{{
** (sugar-shell:7487): CRITICAL **: get_content_area_vertical: assertion
`requested_content_height >= 0' failed
** (sugar-shell:7487): CRITICAL **: get_content_area_vertical: assertion
`requested_content_height >= 0' failed
}}}
* This is really incosistent but if you try to drag stuff at some point
you will get one or many:
{{{
Introspect error: The name org.laptop.Activity12583218 was not provided by
any .service files
Traceback (most recent call last):
File "/home/marco/sugar-jhbuild/source/sugar/shell/view/Shell.py", line
131, in __window_opened_cb
activity_host = ActivityHost(self.get_model(), window)
File "/home/marco/sugar-
jhbuild/source/sugar/shell/view/ActivityHost.py", line 54, in __init__
self._id = self._activity.get_id()
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
__call__
ret = self._proxy_method (*args, **keywords)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in
__call__
reply_message = self._connection.send_with_reply_and_block(message,
timeout)
File "dbus_bindings.pyx", line 455, in
dbus_bindings.Connection.send_with_reply_and_block
DBusException: The name org.laptop.Activity12583218 was not provided by
any .service files
}}}
I wonder if dnd creates toplevel windows? This is really weird.
Comment (by marco):
Cleared up the design issue after discussion with Eben. Tomeu you can see
the discussion in sugar/docs/design.txt. If you have questions about
design or implementation let me know.
--
Ticket URL: <http://dev.laptop.org/ticket/579#comment:3>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list