Commit graph

634 commits

Author SHA1 Message Date
Kang Yu
fe52f26f49 fix issue #184: introduce new command option -delay_auto_capture <seconds> to avoid early capture of remote desktop session minimization event 2022-10-03 13:09:34 -07:00
Kang Yu
f5dd0570db remove obsolete fix for full-screen gaming mode 2022-10-01 11:44:53 -07:00
Kang Yu
8260b29a00 remove normal session judgement based on flawed active window counting 2022-10-01 11:33:51 -07:00
Kang Yu
c955a413c0 suppress bogus event message 2022-09-15 15:47:09 -07:00
Kang Yu
203a059944 fix miscapture of massive minimization during reconnection of remote session 2022-09-04 11:38:55 -07:00
Kang Yu
42b80793b2 fix issue #173, skip event message sent from ignored process to avoid deferred capture 2022-08-31 19:28:27 -07:00
Kang Yu
2d6b684d6e undo debug build hack 2022-08-17 15:28:53 -07:00
Kang Yu
19851be70e avoid data race between capture/restore 2022-08-17 14:49:54 -07:00
Kang Yu
e489ea6a9b workaround NullReferenceException 2022-08-16 22:45:50 -07:00
Kang Yu
d3d23974cf tag 5.38 2022-08-16 20:29:22 -07:00
Kang Yu
c975ebc5c6 attempt to root cause random null object reference error 2022-08-16 20:08:40 -07:00
Kang Yu
13ee0c6fa6 let debug version behave the same as release version 2022-08-15 23:58:52 -07:00
Kang Yu
3877483982 call Shell32.SHQueryUserNotificationState() to distinguish 3d full-screen gaming mode (so as to avoid auto restore) 2022-08-06 21:34:05 -07:00
Kang Yu
a2ce8457c3 avoid restore finish too soon for remote desktop session 2022-08-06 19:40:15 -07:00
Kang Yu
9c5966816b avoid hang due to z-order restore unresponsive window (such as vs code update) 2022-08-04 14:13:16 -07:00
Kang Yu
622c398873 change icon text to the title of current window during restore to pinpoint which window is not responding and cause PW hang 2022-08-02 11:46:50 -07:00
Kang Yu
e505888305 minimum 1 pass snapshot restore 2022-07-10 16:14:40 -07:00
Kang Yu
5fe2ad45bc fine-tune z-order restore 2022-07-10 15:38:21 -07:00
Kang Yu
4e5c14ff0b improve z-order restore 2022-07-03 12:48:06 -07:00
Kang Yu
5d911ae706 improve z-order restore 2022-07-03 11:44:53 -07:00
Kang Yu
a1ec8216e9 suppress error message due to process id change when launching wsl console from db 2022-07-01 17:25:58 -07:00
Kang Yu
e20f417d12 speculative fix for null reference exception on curDisplayKey during restore snapshot 2022-06-30 22:38:18 -07:00
Kang Yu
016c799585 improve zorder restore 2022-06-28 12:24:31 -07:00
Kang Yu
c7c30f392a improve zorder restore 2022-06-27 16:06:42 -07:00
Kang Yu
6ba9d6f75d speculative fix for null reference crash 2022-06-26 15:37:14 -07:00
Kang Yu
4f4d2ab41e improve accuracy of z-order restore 2022-06-26 10:24:04 -07:00
Kang Yu
f250ca415d add command option -slow_restore to workaround #163/#161 2022-06-24 22:25:38 -07:00
Kang Yu
d5736cf834 avoid sending window to bottom z-order if it has been recorded multiple times 2022-06-24 22:00:50 -07:00
Kang Yu
9aecd60156 handle exception safely exposed by #163 2022-06-21 16:19:03 -07:00
Kang Yu
39245764ff revert speculative fix for #161 which turns out to be unnecessary 2022-06-21 11:53:36 -07:00
Kang Yu
d18c9a5cfa last commit is over done 2022-06-20 11:27:49 -07:00
Kang Yu
ff4049f7f3 more speculative fix issue #161, simplify code 2022-06-20 10:59:00 -07:00
Kang Yu
982319b330 speculative fix for issue #161, restore might finish too soon 2022-06-19 23:19:21 -07:00
Kang Yu
cd225cc3bf fix issue #161, try to avoid unsynchronized window moves by PW auto restore and app auto restore 2022-06-14 13:59:49 -07:00
Kang Yu
b1e549bca9 safely check upgrade in gui thread only 2022-06-13 14:38:50 -07:00
Kang Yu
786ec55de1 code refactor 2022-06-13 14:17:32 -07:00
Kang Yu
b0b82251e7 fix unsafe cross thread gui control manipulation 2022-06-13 14:13:23 -07:00
Kang Yu
2ff970df05 fix crash in debug build due to cross thread synchronization failure 2022-06-12 14:26:49 -07:00
Kang Yu
d55866db49 improve GetCoreAppWindow() to avoid unexpected invalid entry error 2022-06-12 12:09:03 -07:00
Kang Yu
b4bd4406b9 reliabily restore window snapped to screen edge, brave browser 2022-06-11 14:51:07 -07:00
Kang Yu
011a7d11e4 fix bogus invalid entry error 2022-06-11 12:39:27 -07:00
Kang Yu
797eb3fe55 debug invalid entry error 2022-05-18 16:49:50 -07:00
Kang Yu
3daad279f4 remove dead code 2022-05-18 16:11:27 -07:00
Kang Yu
1a23d2142b tentative fix #155, disable auto restore unminimized window if it has no caption 2022-04-25 11:34:35 -07:00
Kang Yu
fddcc40531 trim trailing whitespace from window title to improve db matching 2022-04-21 19:07:21 -07:00
Kang Yu
7b71c08878 improve accuracy of db matching 2022-04-21 12:16:36 -07:00
Kang Yu
7c82aff48b fix issue #145, restore from db menu is stuck at disabled status when display changed 2022-02-16 21:37:55 -08:00
Kang Yu
21787fe562 reduce amount of debug print 2022-02-16 20:53:05 -08:00
Kang Yu
0112f556e1 smart recognition of gaming session (compared with interactive normal session) and avoid auto-restore for it 2022-02-16 15:45:13 -08:00
Kang Yu
78d2f7ec1b avoid auto restore for full-screen gaming session 2022-02-12 22:25:24 -08:00