A Popover is closed automatically if you click outside of it. Esc and
outside click is basically the same thing. In any other circumstances it
is the developer who closes it, for instance when an action is selected.
So there shouldn't be any difference between handling Esc or outside
click. Any other closing case can be captured by the actions assigned to
close the Popover.

I see the Browser's bookmarking popover has a Cancel action on the
bottom. This is pretty confusing as Popovers are not Dialogs, which
would need an explicit action on their layout to be able to close - Esc
or outside click does the job.

But really, what si the use case you need to know the Popover was
dismissed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1546677

Title:
  Popovers doesn’t allow overriding onEscapePressed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1546677/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to