Opened 10 years ago

Closed 9 years ago

#131 closed defect (fixed)

Clipboard item: 'open with' does not work

Reported by: mungewell Owned by: tomeu
Priority: major Milestone:
Component: Sugar Version: Git as of bugdate
Severity: Keywords:
Cc: Distribution/OS:
Bug Status:

Description

In jhbuild 20081217 journal

If an image is copied to the clipboard, the popup present an 'open with [image viewer, paint, browse, etoys]'.

Mouse click is accepted but activity is not started.

Change History (9)

comment:1 Changed 10 years ago by erikos

  • Component changed from sugar to sugar-datastore
  • Owner changed from marcopg to tomeu
  • Priority changed from minor to major
  • Summary changed from Journal - Clipboard 'open with' for image cliping does not work to Clipboard item: 'open with' does not work

I tested the non working with images and text.

Traceback (most recent call last):
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/frame/clipboardmenu.py", line 184, in \
_open_submenu_item_activate_cb
    misc.resume(jobject, service_name)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/journal/misc.py", line 144, in resume
    if is_activity_bundle(metadata) and bundle_id is None:
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/journal/misc.py", line 212, in is_acti\
vity_bundle
    return metadata['mime_type'] in \
TypeError: 'DSObject' object is unsubscriptable

comment:2 Changed 10 years ago by erikos

  • Version set to Git as of bugdate

comment:3 Changed 10 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed now.

comment:4 follow-up: Changed 10 years ago by erikos

  • Resolution fixed deleted
  • Status changed from closed to reopened

hmmm i think i have all the packages updated, feel free to reclose if it works for you.

Traceback (most recent call last):
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/frame/clipboardmenu.py", line 184, in _open_submenu_item_activ
ate_cb
    misc.resume(jobject, service_name)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/journal/misc.py", line 145, in resume
    if is_activity_bundle(metadata) and bundle_id is None:
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/journal/misc.py", line 213, in is_activity_bundle
    mime_type = metadata.get('mime_type', '')
AttributeError: 'DSObject' object has no attribute 'get'

comment:5 in reply to: ↑ 4 Changed 10 years ago by tomeu

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to erikos:

hmmm i think i have all the packages updated, feel free to reclose if it works for you.

Pushed some fixes and now it worked for me. I'm closing it again, but please tell if there's some other process I should follow.

comment:6 Changed 10 years ago by erikos

Looks good now for me as well, thanks.

For the moment this is the right process.

comment:7 follow-up: Changed 10 years ago by mungewell

  • Resolution fixed deleted
  • Status changed from closed to reopened

still doesn't work for me with Jhbuild 20080106 on Intrepid.

Makes a new item 'image clipping clipping' in journal but does not attempt to open it (the colour cycling icon for paint or image viewer is not seen).

comment:8 in reply to: ↑ 7 Changed 9 years ago by tomeu

  • Component changed from sugar-datastore to sugar

Replying to mungewell:

still doesn't work for me with Jhbuild 20080106 on Intrepid.

Makes a new item 'image clipping clipping' in journal but does not attempt to open it (the colour cycling icon for paint or image viewer is not seen).

Are you expecting that the clipping will be opened when you left-click on it? Left clicking makes that clipping the active clipboard selection (try it when several clippings are in the frame), but shouldn't launch any activity.

The only way to open a clipping is via the palette.

comment:9 Changed 9 years ago by tomeu

  • Resolution set to fixed
  • Status changed from reopened to closed

Please reopen if you still find a case where "open with" doesn't work, and enter a new ticket if there's any other issue with the clipboard.

Note: See TracTickets for help on using tickets.