Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4388 closed defect (fixed)

Clipboard use in ebook mode can cause Sugar to crash

Reported by: erikos Owned by: erikos
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: 0.98.x
Severity: Unspecified Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Unconfirmed


  • go into ebook mode
  • go to the Journal detail view
  • select text, copy/paste a few times

---> Sugar will crash

Change History (3)

comment:1 Changed 11 years ago by erikos

  • Resolution set to fixed
  • Status changed from new to closed
commit ea9b86e3efa4b8ba793aa7cd3648a64d3a101b21
Author: Carlos Garnacho <>
Date:   Thu Jan 17 13:29:51 2013 +0100

    palettemenuwidget: Ensure the widget is realized before popping it up, SL #4388
    Otherwise the internal state is messed up, GTK+ grabs may be held on
    unrealized widgets.
    Signed-off-by: Carlos Garnacho <>
    Acked-by: Simon Schampijer <>

diff --git a/src/sugar3/graphics/ b/src/sugar3/graphics/
index ff5e340..c48ae55 100644
--- a/src/sugar3/graphics/
+++ b/src/sugar3/graphics/
@@ -148,6 +148,7 @@ class _PaletteMenuWidget(Gtk.Menu):
         self._invoker = invoker
+        self.realize()
         for menu in self._menus:
             if self._invoker:
                 menu.connect('motion-notify-event', self._motion_notify_cb)

Pushed to master and 0.98 branch of tookit-gtk3: ea9b86e3efa4b8ba793aa7cd3648a64d3a101b21

comment:2 Changed 11 years ago by dnarvaez

  • Component changed from sugar-toolkit-gtk3 to Sugar

comment:3 Changed 11 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.