<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/D16245">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of saving position some times (application close, suspend<br />
reminder), save at each point the dialog hides, dismiss reminder,<br />
dismiss all, escape or window close, etc.<br />
In addition to saving the position, save the geometry to get the size<br />
as well, that way if the user wants it bigger (or smaller) the only<br />
have to do it once.<br />
The logic was show, move, which would run in that order, the window<br />
shows, then it moves to the correct location which looks bad, restore<br />
the position & size, then show, so it appears in the final location.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>A quicker way to test this is with a previous patch "Show Reminders" dock menu item option, as opposed to setting a bunch of reminders and waiting for them to go off.</p>

<p>before patch is applied/after patch is applied behaviors</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">move the Reminder window to a corner of the screen, show the Reminder window [ before/after it will appear at the same location]</li>
<li class="remarkup-list-item">move the Reminder window to a different corner, press escape, show the Reminder window [ before the escape position didn't save and it appears in the previous location, after it appears in the escape position]</li>
<li class="remarkup-list-item">make the Reminders window large, show Reminders window [ before/after it is the large size]</li>
<li class="remarkup-list-item">exit korgac, run korgac, show Reminders window [ before  it is back to the previous normal size, after it is the larger size]</li>
</ul></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/D16245">https://phabricator.kde.org/D16245</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>korgac/alarmdialog.cpp<br />
korgac/alarmdialog.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>