Commit graph

51 commits

Author SHA1 Message Date
Jack251970
9035aa6fab Fix dialog owner for all content dialog 2025-04-15 08:41:20 +08:00
DB p
f839689294 Add Content Dialog owner 2025-04-15 05:54:46 +09:00
Jack251970
4400734963 Remove InternationalizationManager.Instance 2025-04-09 21:12:09 +08:00
Jack251970
044dc2c5ea Fix hotkey initialization issue 2025-03-18 12:05:58 +08:00
Jack251970
497ac9118e Add None hotkey type 2025-03-17 16:19:41 +08:00
Jack251970
83c7ee11c8 Change type name & Add comments 2025-03-17 15:54:39 +08:00
Jeremy Wu
0f3f97a198
fix typo 2025-03-17 18:04:51 +11:00
Jack251970
b1ec0bda61 Fix custom query hotkey settings issue 2025-03-17 11:01:54 +08:00
Jack251970
c68a764dcf Improve code quality 2025-03-05 14:52:14 +08:00
Jack251970
f2248e93b1 Use dependency injection instead of dependency property 2025-03-05 14:42:08 +08:00
Jeremy Wu
54a49d68f3
Enable the use of Win hotkey to trigger flow (#3262) 2025-02-21 18:55:32 +09:00
Yusyuriv
737d29a0fb
Implement checking for duplicate hotkeys and overwriting them 2024-04-25 14:02:05 +06:00
Yusyuriv
03c74590f5
Remove old HotkeyControl, rename HotkeyControl2 to HotkeyControl 2024-04-23 09:04:37 +06:00
Yusyuriv
56a8376f81
Make HotkeyControl hotkey binding two-way by default 2024-04-18 14:29:14 +06:00
Yusyuriv
a64b4d3224
Fix CustomQueryHotkeySetting window not working, remove some redundant layout in it 2024-04-18 11:58:41 +06:00
Hongtao Zhang
1d858d3357 Fix duplicate modifier and clean up code 2024-04-17 23:10:31 -05:00
Hongtao Zhang
fa0f4981c7 fix some issue 2024-04-17 13:34:49 -05:00
Hongtao Zhang
c544a7e3af Change all the logic back to control rather than viewmodel 2024-04-17 11:57:54 -05:00
Hongtao Zhang
b7ccab67d1 handle lostfocus 2024-04-13 12:53:33 -05:00
Hongtao Zhang
453f767188 Revise Hotkey Structure
- Put all logic to HotkeyControlViewModel.cs
- Remove logic about GetFocus/LostFocus
- RegisterCallBack (Delegate)
2024-04-12 11:10:25 -05:00
Yusyuriv
6e34218f8e
WIP: handling hotkeys in HotkeyControl 2024-04-12 20:00:16 +06:00
Yusyuriv
5e87e18fd3
Fix the code merge mistake 2024-04-12 18:42:45 +06:00
Yusyuriv
172764d361
Merge remote-tracking branch 'origin/new-hotkey-control' into new-hotkey-control 2024-04-12 18:32:57 +06:00
Yusyuriv
78a6b27aa1
HotkeyControl: add click handlers, add default hotkey 2024-04-12 18:32:33 +06:00
DB p
efe081b3f7 Added Show/Hide Trigger by style 2024-04-12 21:30:31 +09:00
Yusyuriv
914f400956
WIP: new HotkeyControl 2024-04-12 17:13:45 +06:00
Vic
343cdf2ad4 Fix preview hotkey issue
Check if preview hotkey is a valid KeyGesture when setting and loading
Ban more printable characters
2023-02-25 15:00:19 +08:00
Vic
f941655d64 Fix null reference when hotkey is invalid 2023-02-03 12:34:42 +08:00
Vic
835370af34 Set text to current hotkey when lost focus 2023-01-11 19:28:42 +08:00
Vic
28c5031bfb Maintain focus when hotkey invalid 2023-01-11 19:27:22 +08:00
Vic
c03a0b031e Validate hotkey before setting 2023-01-11 16:13:39 +08:00
Vic
a399d24c1e Extract set message logic 2023-01-11 15:49:27 +08:00
Vic
f6e2fe3525 Reset message when got focus 2023-01-11 15:48:52 +08:00
Vic
ff79651fb2 Use Equals() for comparison 2023-01-09 22:08:27 +08:00
Vic
10fa2f7beb Validate hotkey 2023-01-09 21:50:29 +08:00
DB p
016f92ad99 Adjust Context Menus / Adjust Colors (with hotkey menu) / Add Hotkey Register String 2022-11-18 01:49:25 +09:00
Oren Nachman
4a1c585f17 return Task directly 2022-08-10 12:40:46 -07:00
Oren Nachman
30669e8c25 Further cleanups 2022-08-09 20:18:37 -07:00
Oren Nachman
ffd877290d Addressing initial feedback 2022-08-08 11:27:11 -07:00
Oren Nachman
a3197f8ee1 Fix (some) build warnings
CS1572
CS1573
CS0168
CS8073
CA2200
VSTHRD110
VSTHRD200
VSTHRD105
SYSLIB0013
CS8524
2022-08-07 21:31:38 -07:00
Kevin Zhang
b3155bcfed Merge remote-tracking branch 'upstream/dev' into GlobalHotkeyRefactor 2021-12-05 17:41:17 -06:00
Jeremy
178776f200 fix popup empty when same key press, add reset pop msg when lost focus 2021-12-04 20:36:04 +11:00
Kevin Zhang
c8a9c29463 Clear Focus after 500ms user no input hotkey 2021-12-03 15:10:25 -06:00
Kevin Zhang
35838b23af Revise Hotkey control logic to remove hotkey at focus and add it back at lost focus. 2021-12-03 13:36:08 -06:00
DB p
0ed52a2c9c - change string vs to sn (sticky notes)
- Add ClearFocus When Set hotkey
- Add get focus when click window
2021-12-04 02:06:42 +09:00
Kevin Zhang
05c1466b8b Assign Setting to Welcome Page 2021-12-01 20:53:54 -06:00
Kevin Zhang
1c60b8e586 Use Function Pointer to handle the low level keyboard proc 2021-11-27 13:50:22 -06:00
Jeremy
33b34f296f update per review 2021-07-15 20:06:18 +10:00
Jeremy
20f849d81a move CheckHotkeyAvailability to HotkeyMapper 2021-07-14 07:43:09 +10:00
Jeremy
8c31039328 refactor- point CustomQueryHotkey to HotkeyMapper 2021-07-13 21:53:02 +10:00