Ticket #328 (reopened defect)
Primary selection and clipboard cancel each other out
| Reported by: | rob | Owned by: | rob |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7.6 |
| Component: | application | Keywords: | |
| Cc: |
Description
Using the primary selection clears the clipboard, apparently. Steps to duplicate:
- select a region with the mouse
- copy it
- select another region (which activates the primary selection)
- attempt to paste (the paste has been cleared by the primary selection)
It doesn't seem to matter if UsePrimarySelection? is called before the call to clipboard.open; it still clears the other clipboard:
wx.TheClipboard.UsePrimarySelection(primary_selection)
if wx.TheClipboard.Open():
wx.TheClipboard.SetData(do)
wx.TheClipboard.Close()
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
