#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 |
Description
- 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 10 years ago by erikos
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit-gtk3 to Sugar
Note: See
TracTickets for help on using
tickets.
commit ea9b86e3efa4b8ba793aa7cd3648a64d3a101b21 Author: Carlos Garnacho <carlos@lanedo.com> 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 <carlos@lanedo.com> Acked-by: Simon Schampijer <simon@laptop.org> diff --git a/src/sugar3/graphics/palettewindow.py b/src/sugar3/graphics/palettewindow.py index ff5e340..c48ae55 100644 --- a/src/sugar3/graphics/palettewindow.py +++ b/src/sugar3/graphics/palettewindow.py @@ -148,6 +148,7 @@ class _PaletteMenuWidget(Gtk.Menu): self._invoker = invoker self._find_all_menus(self) + 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