<table><tr><td style="">dfries created this revision.<br />dfries added a reviewer: mlaurent.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />dfries requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16242">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>While it can make it easier to dismiss (if it grabs focus through the<br />
activateWindow call), it also means if you are typing and a reminder<br />
comes in it will both get those keystrokes and a space or return will<br />
dismiss the reminder before you have a chance to ever see what the<br />
reminder was about, which assumes you are even looking at your screen<br />
to see the reminder box flash up, if you are typing in a paper you<br />
might not even know.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Setup two notifications in korganizer one minute apart.<br />
I the dock window menu test once with "Reminder grabs focus" enabled and once with it disabled.<br />
Give focus to some other program before the first alarm and second alarm, don't dismiss the reminder box between alarms.<br />
With "Reminder grabs focus" checked, the Reminders window should get focus on the second reminder, (this is also the behavior before this change).<br />
With "Reminder grabs focus" unchecked, the Reminders window should not get focus on the second reminder.</p>

<p>Note I'm writing this up for two reminders to avoid the case of window managers which automatically give focus on every new window that pops up.  That's a policy choice on the user/window manager and if this did something to not get focus in that case, this would be going against that policy.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R210 KOrganizer</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16242">https://phabricator.kde.org/D16242</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>korgac/alarmdialog.cpp<br />
korgac/alarmdialog.h<br />
korgac/alarmdockwindow.cpp<br />
korgac/alarmdockwindow.h</div></div></div><br /><div><strong>To: </strong>dfries, mlaurent<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>