[hafqa] [hafqa] [Bug 1061] New: HildonTimeEditor does not draw itself properly

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Wed Feb 14 19:33:05 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1061

           Summary: HildonTimeEditor does not draw itself properly
           Product: haf
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: hildon-libs
        AssignedTo: michael.kostrzewa at nokia.com
        ReportedBy: lgs at sicem.biz
         QAContact: hafqa at maemo.org


When running this small python program:

import gtk
import hildon

w = gtk.Window()
w.connect('destroy', gtk.main_quit)

e = hildon.TimeEditor()
w.add(e)
w.show()

e.show_all()

gtk.main()

The editor is drawn wrong: no label separator between the hour and minute fields
and no am/pm label inside its button.

Changing the order in which the calls to .show() are done fixes the problem:

import gtk
import hildon

w = gtk.Window()
w.connect('destroy', gtk.main_quit)

e = hildon.TimeEditor()
e.show()
w.add(e)
w.show()

gtk.main()

Also in this case, the TimeEditor computes its size properly, which is not the
case in the first code.

Something weird is happening in the expose/size-requisition/size-allocation of
this widget.

I'll attach screenshots of both cases.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list