The implementation is not correct: because the foreground item handles the escapePressed event, it doesn’t give app developers a chance to override this behaviour for their popovers. They might want to handle the escapePressed event to e.g. do some specific processing before closing the popover (which they wouldn’t do when closing the popover in another way, e.g. when pressing Enter).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1523828 Title: Escape key needs to close popovers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1523828/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
