#10930 HIGH 11.2.0-: copy/paste does not work in if one has not revealed the edit toolbar once

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 22 12:48:48 EDT 2011


#10930: copy/paste does not work in if one has not revealed the edit toolbar once
------------------------------+---------------------------------------------
           Reporter:  bert    |       Owner:  manuq        
               Type:  defect  |      Status:  assigned     
           Priority:  high    |   Milestone:  11.2.0-final 
          Component:  sugar   |     Version:  not specified
         Resolution:          |    Keywords:               
        Next_action:  review  |    Verified:  0            
Deployment_affected:          |   Blockedby:               
           Blocking:          |  
------------------------------+---------------------------------------------

Comment(by godiard):

 Simon,

 I have looked at the code in sugar-
 toolkit/src/sugar/graphics/toolbarbox.py, and implemented a alternative
 solution using the 'hierarchy-changed' signal to pack the page when is
 possible. See patch 0001-Pack-page-in-ToolbarButton-when-is-conected-to-
 the-w.patch

 This solution is more in line with the way used in toolbutton.py, but I
 don't like it because the signal is trigger many times and I think is
 suboptimal. The first patch can be less elegant but is not executing
 unneeded code all time. In fact with the first patch, we can remove the
 'hierarchy-changed' signal handlers in toolbutton.py. See 0001-Remove-
 hierachy-changed-signal-handlers-in-toolbutto.patch

-- 
Ticket URL: <http://dev.laptop.org/ticket/10930#comment:10>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list