D16242: korgac: Add an option to not grab keyboard focus when a reminder is displayed

David Fries noreply at phabricator.kde.org
Sat Oct 20 14:03:03 BST 2018


dfries added inline comments.

INLINE COMMENTS

> dvratil wrote in alarmdockwindow.cpp:96
> Maybe add a tooltip with explanation what this really means - "Reminder grabs focus" is quite technical

How does this sound?
menu item: "Reminder Requests Focus"

tooltip: "Enable when you want the reminder dialog to request keyboard focus when a notification appears."
or
"Enable for the reminder dialog to request keyboard focus when a notification appears."
or
"Enable to automatically get keyboard focus when a notification appears."

menus disable tooltips by default, adding:
contextMenu()->setToolTipsVisible(true);

I'd be glad to redo this patch to not include the menu option and not grab focus.  That would simplify things.  I just figured as something went out of their way to add activateWindow, that wouldn't to over, so I made it optional.

https://blog.codinghorror.com/please-dont-steal-my-focus/

REPOSITORY
  R210 KOrganizer

REVISION DETAIL
  https://phabricator.kde.org/D16242

To: dfries, mlaurent, dvratil
Cc: dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181020/264d4536/attachment.html>


More information about the kde-pim mailing list