maemo.org Bugzilla – Bug 5173
HildonPickerDialog selects the first item always if appended into shown widget
Last modified: 2010-03-15 20:53:33 UTC
You need to
before you can comment on or make changes to this bug.
1.2009.38-13 and Fremantle SDK beta 2
STEPS TO REPRODUCE THE PROBLEM:
1. Download the attached test application.
2. Compile it: gcc -o hpdtest hpdtest.c $(pkg-config --cflags --libs hildon-1)
3. Execute it: run-standalone ./hpdtest
After two seconds, an user should be able to select one of the available three
The dialog selects the first choice always without even displaying the choices.
EXTRA SOFTWARE INSTALLED:
The problem is:
- If the HildonPickerDialog (and thus, HildonTouchSelector) is shown without
- the first item that is appended while the dialog being visible
- is selected always.
There are cases when HildonPickerDialog should be able to be filled after it
has been shown. For example, when the data is read from external source. The
current implementation always selects the first option, if HildonPickerDialog
is visible when the first item is appended into the model.
Created an attachment (id=1374) [details]
Sorry, I overlooked this bug, I'll take a look at it as soon as possible
Confirmed, this is indeed an ugly bug.
The good news is that it was fixed by this commit:
The fix was released in libhildon 2.2.4, so it will be available in
the next Maemo update.
(It almost made it into the current 2009.51-1 release, which comes
with libhildon 2.2.3)
Setting explicit PR1.2 milestone (so it's clearer in which public release the
fix will be available to users).
Sorry for the bugmail noise (you can filter on this message).