GtkDropdown: unable to reselect
Steps to reproduce
- Open Demo4 from gnome-nightly flatpak repo, Run Lists -> Selections example.
- Change the first dropdown from
1 minute
to2 minutes
. - Change the first dropdown from
2 minutes
back to1 minute
. - Change the first dropdown from
1 minutes
to2 minutes
. Notice nothing happens.
A similar issue that I think is connected, continuing from step 4:
- Change the first dropdown from
1 minutes
to5 minutes
. - Change the first dropdown from
5 minutes
to1 minute
- Change the first dropdown from
1 minute
to2 minutes
- Change the first dropdown from
2 minutes
to5 minutes
. Notice instead of5 minutes
,1 minute
got selected.
Current behavior
In step 4, 2 minutes
can no longer be selected.
In step 8, 1 minute
got selected instead of 5 minutes
Expected outcome
2 minutes
should still be selectable at step 4.
1 minute
should be selected as that is what the user has clicked.
Version information
GTK 4.7.0-381c3478
Linux fedora 5.18.5-200.fc36.x86_64
Happens on both Xorg and Wayland.
Additional information
After step 4, you can select 2 minutes
again after selecting another option such as 5 minutes
.
Edited by Zhangyuan Nie