Commit Graph

6344 Commits

Author SHA1 Message Date
Tig
8e70e2ae8f Updated navigation.md 2024-08-01 12:57:05 -06:00
Tig
7dd0c4c656 Nav mostly works again 2024-08-01 09:31:24 -06:00
Tig
e9d671b4ec Added Navigation.md 2024-08-01 08:41:59 -06:00
Tig
4226d8172e Discovered serious issues with how HasFocus, OnEnter/OnLeave, etc... work in some edge cases.
This will require re-visiting the design at a deep level and fixing some long-standing but ignored issues such as how OnEnter/OnLeave don't follow proper cancelation design. Also, there's a need for keeping track of the old focus state of a tree of subviews when that tree loses focus; FocusDireciton is a hack that causes tons of confusion.
2024-08-01 06:08:48 -06:00
Tig
469b3572d5 Revamped Scenario 2024-07-31 10:33:37 -04:00
Tig
6f4c7be477 Cleaned up some unit tests 2024-07-31 10:14:05 -04:00
Tig
38e517c921 Added AllViews_AtLeastOneNavKey_Leaves 2024-07-31 09:05:57 -04:00
Tig
47e1c87590 Added AllViews_AtLeastOneNavKey_Leaves 2024-07-31 09:05:26 -04:00
Tig
3d00102125 Added BUGBUGs 2024-07-31 02:27:58 -04:00
Tig
6c889c9442 Fixed FileDialog test 2024-07-31 02:20:47 -04:00
Tig
37f349004a WIP: More. Trying to fix TableView regression 2024-07-31 02:07:48 -04:00
Tig
cf1435ae96 WIP: Fixed stuff. Broke stuff. Making progress. 2024-07-29 16:59:58 -04:00
Tig
f2eb9ce6e2 WIP: More refining 2024-07-29 10:17:10 -04:00
Tig
65592b4135 WIP: Refining TabStop and GroupStop 2024-07-28 10:37:22 -04:00
Tig
d407683d5b Made View.Navigation nullable enable.
Changed TabIndex to int?.
Changed TabStop to int?.
Changed TabStop flags.
2024-07-27 17:21:47 -04:00
Tig
d507426c6d Changed semantics of TabIndexes, TabIndex, and CanFocus relative to TabStop.
CanFocus is not coupled with the tab index or tab stop other than to automatically set TabStop when set to True.
A TabIndex of -1 is only used to indicate TabStop_set has not been called.
Once nullable is enabled, we'll change _tabIndex to be nullable.
Changing CanFocus does not impact TabIndex (except in that it sets TabStop if it's None).
2024-07-27 11:55:41 -04:00
Tig
fa4b9dc60f Added BUGBUGs and TODOs re TabIndex 2024-07-27 11:07:21 -04:00
Tig
4ede0648f4 TabStop -> now of type TabStop.
Updated unit tests.
2024-07-27 10:58:52 -04:00
Tig
5d1467dc2a Converted TabStop to auto property 2024-07-27 10:39:31 -04:00
Tig
e41b24fd40 Removed coupling between TabStop and CanFocus 2024-07-27 10:38:50 -04:00
Tig
207266b68f Fixed unit test 2024-07-27 10:30:30 -04:00
Tig
ee3c48ae50 Progress 2024-07-27 09:29:50 -04:00
Tig
5e28ba1ef9 Added low-level Focus tests 2024-07-26 08:02:18 -04:00
Tig
3f19a6f04a Added low-level Focus tests 2024-07-26 08:00:45 -04:00
Tig
aa9d42fc01 Renamed FocusNearestView to be understandable 2024-07-26 06:41:51 -04:00
Tig
911f2c66de Rewrote FocusNearestView to be understandable 2024-07-26 06:32:24 -04:00
Tig
66f83ad2e6 Reduced duplicated code by leverating Navigationdirection enum 2024-07-25 16:37:22 -06:00
Tig
4b785c8f7c Prepping to reduce duplicated code in FocusNext/Prev 2024-07-25 15:41:30 -06:00
Tig
5b1ac0eefd Merge branch 'v2_2491-Toplevel-Redesign' into v2_2491-Arrangement-Overlapped 2024-07-25 14:59:15 -06:00
Tig
78f527e4a1 Fixed post merge errors. 2024-07-25 14:54:58 -06:00
Tig
a935ef83df Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign 2024-07-25 14:50:19 -06:00
Tig
15e6b4eff2 Documenting focus code 2024-07-25 14:40:11 -06:00
Tig
0583d4526d Merge pull request #3615 from tig/v2_3499-Finish-DimAuto
Fixes #3499. Finishes `Dim.Auto` implementation
2024-07-25 13:50:05 -06:00
Tig
2d2954d12f Merge branch 'v2_develop' into v2_3499-Finish-DimAuto 2024-07-25 13:36:24 -06:00
Tig
ccec0eec11 Documenting focus code 2024-07-25 12:16:10 -06:00
Tig
9b89fe6466 Code cleanup and API docs - getting better understanding of navigation code. 2024-07-25 11:21:49 -06:00
Tig
d874f56282 Reorganized View source files to get my head straight 2024-07-25 10:40:28 -06:00
Tig
3a40851848 WIP: More - Modify Focus logic to properly deal with ViewArrangement.Overlapped. 2024-07-24 19:45:25 -06:00
Tig
ca4d10b509 WIP: Modify Focus logic to properly deal with ViewArrangement.Overlapped. 2024-07-24 19:22:59 -06:00
Tig
331d9726d7 nullable enable TopLevel 2024-07-24 16:18:20 -06:00
Tig
cbecae5d47 Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:48:41 -06:00
Tig
cb3e80666f Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:43:35 -06:00
Tig
f37ec5e04f Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:42:04 -06:00
Tig
022050db73 Fixed nullable warnings 7 2024-07-24 15:09:48 -06:00
Tig
ff47aa29b9 Fixed nullable warnings 6 2024-07-24 14:39:34 -06:00
Tig
689c0cd93f Fixed nullable warnings 5 2024-07-24 14:37:23 -06:00
Tig
3b35189106 Fixed nullable warnings 4 2024-07-24 14:36:20 -06:00
Tig
04dbe68dbf Fixed nullable warnings 3 2024-07-24 14:20:08 -06:00
Tig
73a9dc37c4 Fixed nullable warnings 2 2024-07-24 14:15:32 -06:00
Tig
0c56dfeb5a Moved view navigation out of Toplevel and into Application (via ViewNavigation static class). 2024-07-24 12:56:55 -06:00