digital clock widget - popup focus
Review Request #105933 - Created Aug. 8, 2012 and discarded
For some reason for this widgt the option setPassivePopup is enabled (probably because you can't control it with keyboard anyways). Interestingly, the result is that the popup doesn't hide if you, for example, open the settings dialog. This behaviour is a bug and not consistent with all other popup widgets. I suppose this fixes also https://bugs.kde.org/show_bug.cgi?id=221301 On the other hand, we could also try to fix that passive popup feature, if it's broken...I don't know.
This is not a bug, but a feature. :) The calendar, as opposed to most other widgets, is often used alongside other windows for reference. Say for example you're chatting with someone about an appointment, and want to peak at the calendar while discussing possible dates. If the calendar closed on losing focus, it would be highly annoying. We made a design decision that the use cases for the calendar are different enough to warrant the inconsistency in behaviour, that is why the popup of the calendar doesn't close, while others do -- they're used differently. Sorry that the review request was lingering that long. I've also posted this comment as reply to the bugreport.