Close date selection popover after clicking icon

Bug #1016809 reported by Daniel Fore on 2012-06-23
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Maya
Confirmed
Medium
Unassigned

Bug Description

The little calendar icon should not only open the popover, but clicking it should close the popover as well (not spawn another one).

Daniel Fore (danrabbit) on 2012-06-23
affects: midori → maya
Changed in maya:
status: New → Confirmed
milestone: none → luna-beta1
importance: Undecided → Medium
Niels Avonds (niels-avonds) wrote :

I was unable to reproduce the opening of a second popover... Then again the popover should indeed close when you click anywhere else on the Maya window, but I'm guessing this is something that should be implemented in Granite?

The problem with this is that in DatePicker's current implementation the popover hides when it loses focus. So any attempt to click on the little calendar icon will first hide the popover (as the focus is lost) and then the click signal will be emitted, where the popover now will have visible == false when checked.
Other than the technical problem, this should be filed as a Granite bug instead, since it is there the DatePicker comes from.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers