Opened 14 years ago
Last modified 9 years ago
#1833 new defect
Journal: Preserve object title while copying ds object to clipboard
Reported by: | alsroot | Owned by: | alsroot |
---|---|---|---|
Priority: | Low | Milestone: | Unspecified |
Component: | Sugar | Version: | Git as of bugdate |
Severity: | Unspecified | Keywords: | |
Cc: | tch, godiard | Distribution/OS: | Unspecified |
Bug Status: | Needs Design |
Description
|TestCase|
- "Copy" from journal entry palette
- "Keep" in clipboard palette
- new ds entry doesn't preserve original title
Change History (6)
comment:1 Changed 10 years ago by dnarvaez
- Component changed from journal to sugar
comment:2 Changed 10 years ago by dnarvaez
- Milestone changed from 0.90 to Unspecified
comment:3 Changed 9 years ago by tch
- Bug Status changed from Unconfirmed to Needs Design
- Priority changed from Unspecified by Maintainer to Low
comment:4 Changed 9 years ago by godiard
- Cc tch godiard added
I have tried copy a object from the Journal to the clipboard and get
File "/home/gonzalo/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/journal/palettes.py", line 427, in copy_to_clipboard_cb
clipboard.set_with_data(
AttributeError: 'Clipboard' object has no attribute 'set_with_data'
Worked for you?
comment:5 Changed 9 years ago by godiard
- Summary changed from Preserve object title while copying ds object to clipboard to Journal: Preserve object title while copying ds object to clipboard
comment:6 Changed 9 years ago by tch
Yes, this is how is test it:
Testing environment:
- XO-4 with 34003xx4 (Sugar-0.102-based OS from AU)
Steps:
- create a Write entry with text.
- "copy-to" Clipboard from entry palette.
- "keep"from Clipboard frame icon.
- you should notice that a new entry its created, but only with the raw text content.
Note: See
TracTickets for help on using
tickets.
This is still present in Sugar 0.101.6.
I don't know if this is a bug though. Using this as a "replicating" mechanism makes no sense since we have a proper "duplicate" option.
The current behavior seems natural to me, as clipboard generally contains "raw" (text/image/etc) data. It could be confusing to have have different results when the user keeps raw text from a select-copy action and copy-from-palette action.