[Bugs] #3903 sugar URGE: Visual representation of clipboard is not working (the copy/paste shortcut is)

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Oct 17 07:04:57 EDT 2012


#3903: Visual representation of clipboard is not working (the copy/paste shortcut
is)
------------------------+---------------------------------------------------
    Reporter:  erikos   |          Owner:  erikos  
        Type:  defect   |         Status:  new     
    Priority:  Urgent   |      Milestone:  0.98    
   Component:  sugar    |        Version:  0.97.x  
    Severity:  Blocker  |       Keywords:          
Distribution:  OLPC     |   Status_field:  Assigned
------------------------+---------------------------------------------------

Comment(by godiard):

 I was looking at this issue, I think we are affected by at least two
 upstream bugs related to clipboard management. This is a important
 usability feature, then we need solve it.

 The first issue we need solve is replace

  clipboard = Gtk.Clipboard()

 by

  clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)

 Is used in the following files:

 src/jarabe/journal/palettes.py:        clipboard = Gtk.Clipboard()
 src/jarabe/frame/clipboardicon.py:            x_clipboard =
 Gtk.Clipboard()
 src/jarabe/frame/clipboard.py:            gtk_clipboard = Gtk.Clipboard()
 src/jarabe/frame/clipboardpanelwindow.py:        self._clipboard =
 Gtk.Clipboard()

 clipboardpanelwindow.py is related with this ticket (visual
 representation)

 Doing this change we receive the signal "owner-changed" but are affected
 by this [1] upstream bug.

 The other upstream bug affecting us is not related with the visual
 representation, but with the use of Clipboard.set_with_data [2], used in
 src/jarabe/journal/palettes.py and src/jarabe/frame/clipboardicon.py

 [1] https://bugzilla.gnome.org/show_bug.cgi?id=678620
 [2] https://bugzilla.gnome.org/show_bug.cgi?id=656312

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3903#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list