Closed Bug 31542 Opened 25 years ago Closed 25 years ago

[feature] Need API on clipboard to set based on where the copy/paste requests came from

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: pavlov, Assigned: mikepinkerton)

References

Details

(Whiteboard: 2 days TFD 4/21)

I need some kind of API on the clipboard so that people can set two different states based on where it is being called for. It doesn't need to do anything on windows or mac. On unix there are two different ways that the 'clipboard' works. One is based on selection.... this is generally copied automagically on selection and pasted on a middle mouse click. there is also the motif way which is to put the clipboard data in a different place (the CLIPBOARD atom) which is used when the user uses a menu or a shortcut key. Currently we mix the two (since copy on select doesn't work right now...) by placing the things the menus give us in the selection clipboard. So all I need is something that editor, etc can call when they are putting the data on the clipboard or getting it off to let me in the clipboard know which clipboard data to get/put.
accepting. shouldn't be hard, just need to think about it.
Status: NEW → ASSIGNED
Target Milestone: M15
Summary: Need API on clipboard to set based on where the copy/paste requests came from → feature: Need API on clipboard to set based on where the copy/paste requests came from
Summary: feature: Need API on clipboard to set based on where the copy/paste requests came from → [feature] Need API on clipboard to set based on where the copy/paste requests came from
Whiteboard: 1 day
Blocks: 20901
Ok, I just thought of something that sucks. We now need to be able to have multiple transferables. PRIMARY and CLIPBOARD can have different data stored on them at the same time. So we need to be able to have multiple transferables. argh.
ok, now i'm boned on this one.
Whiteboard: 1 day → 4 days
Target Milestone: M15 → M16
Whiteboard: 4 days → 4 days TFD 4/21
api changes are in, ignored on win32/mac in impl. now pav just needs to make the gtk clipboard work right and update call sites where appropriate.
Assignee: pinkerton → pavlov
Status: ASSIGNED → NEW
Whiteboard: 4 days TFD 4/21 → 2 days TFD 4/21
r
Assignee: pavlov → pinkerton
marking fixed. thanks pinkerton! :)
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.