Summary: | don't grab keyboard focus by default by korgac dialog, improve position save/restore add size | ||
---|---|---|---|
Product: | [Unmaintained] korgac | Reporter: | David Fries <david> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cpigat242, david, montel |
Priority: | NOR | ||
Version: | 4.13.2 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/korganizer/709d5c4eb9c81436c4b33e13756ff7750d95fa2b | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | patches for no grab, show reminder window, smaller dialog, save size and position fixes |
Description
David Fries
2015-05-09 19:59:21 UTC
Created attachment 92515 [details]
patches for no grab, show reminder window, smaller dialog, save size and position fixes
see the main bug description
Please use reviewboard for it. It's easier to comment patch. I can't comment here. Git commit 709d5c4eb9c81436c4b33e13756ff7750d95fa2b by Laurent Montel. Committed on 26/10/2018 at 05:24. Pushed by mlaurent into branch 'master'. Patch from David Fries Summary Instead of saving position sometimes (application close, suspend reminder), save at each point the dialog hides, dismiss reminder, dismiss all, escape or window close, etc. In addition to saving the position, save the geometry to get the size as well, that way if the user wants it bigger (or smaller) the only have to do it once. The logic was show, move, which would run in that order, the window shows, then it moves to the correct location which looks bad, restore the position & size, then show, so it appears in the final location. Test Plan 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. before patch is applied/after patch is applied behaviors move the Reminder window to a corner of the screen, show the Reminder window [ before/after it will appear at the same location] 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] make the Reminders window large, show Reminders window [ before/after it is the large size] exit korgac, run korgac, show Reminders window [ before it is back to the previous normal size, after it is the larger size] Reviewers: mlaurent, dvratil Reviewed By: dvratil Subscribers: dvratil, kde-pim Tags: #kde_pim Differential Revision: https://phabricator.kde.org/D16245 M +26 -11 korgac/alarmdialog.cpp M +2 -1 korgac/alarmdialog.h https://commits.kde.org/korganizer/709d5c4eb9c81436c4b33e13756ff7750d95fa2b |