[Bugs] #1300 UNSP: Simple scheme for hidding ToolbarBox subpalettes
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Tue Sep 8 04:12:53 EDT 2009
#1300: Simple scheme for hidding ToolbarBox subpalettes
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.86
Component: sugar-toolkit | Version: Git as of bugdate
Severity: Unspecified | Keywords: r?
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
|TestCase|
* open Write
* open palette(not subtoolbar) for Paragraph
* change Bullet list combobox
* move cursor away from subpalette
* subpalette wasn't closed
The problem is, having followed lines in PaletteWindow:
{{{
def __enter_notify_event_cb(self, widget, event):
if event.detail != gtk.gdk.NOTIFY_INFERIOR and \
event.mode == gtk.gdk.CROSSING_NORMAL:
self.on_enter(event)
def __leave_notify_event_cb(self, widget, event):
if event.detail != gtk.gdk.NOTIFY_INFERIOR and \
event.mode == gtk.gdk.CROSSING_NORMAL:
self.on_leave(event)
}}}
there is not chance to detect leaving palette(and entering to combo) and
leaving combo(and back entering to palette) in ToolbarBox._Palette,
_Palette can catch only back entering.
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1300>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list