Got it
I've located the problem and it is related to sticky windows. The following piece of code makes the bug reproducible all the time.
import gtk
class StickyWindow(gtk.Window): def __init__(self): super(StickyWindow, self).__init__() label = gtk.Label("Hello") label.show() self.add(label) self.set_default_size(200, 200)
self.set_property('accept-focus', False)
self.show() self.stick()
def main(self): gtk.main()
if __name__ == "__main__": sticky = StickyWindow() sticky.main()
Got it
I've located the problem and it is related to sticky windows. The following piece of code makes the bug reproducible all the time.
import gtk
class StickyWindow( gtk.Window) :
super( StickyWindow, self).__init__()
label. show()
self.add( label)
self.set_ default_ size(200, 200)
def __init__(self):
label = gtk.Label("Hello")
self.show()
self.stick( )
def main(self):
gtk.main()
if __name__ == "__main__":
sticky = StickyWindow()
sticky.main()