Ticket #328 (reopened defect)

Opened 9 months ago

Last modified 2 months ago

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

Changed 8 months ago by rob

  • milestone changed from 0.7.2 to 0.7.3

Changed 7 months ago by rob

  • status changed from new to closed
  • resolution set to wontfix

This is a problem in the wxWidgets C++ code but it is apparently fixed in the subversion repository (see the sourceforge bug report). No word when it will be integrated into wxPython, but I presume that it will be in the next major release.

Nothing I can do about it in peppy -- have to wait for the upstream fix.

Changed 2 months ago by rob

  • status changed from closed to reopened
  • resolution deleted
  • milestone changed from 0.7.3 to 0.7.4

Changed 2 months ago by rob

(In [1414]) Refs #328: forces the fake middle mouse paste instead of using the X11 Primary Selection on version of before 2.8.8

Changed 2 months ago by rob

  • milestone changed from 0.7.4 to 0.7.5

Moving to 0.7.5 in hopes that this can be resolved with future versions of wxpython

Add/Change #328 (Primary selection and clipboard cancel each other out)

Author



Action
as reopened
 
Note: See TracTickets for help on using tickets.