dodexahedron
dodexahedron
@BDisp has already put in a PR to add this event. :) I filed the Exception issue over there a few minutes ago: https://github.com/gui-cs/Terminal.Gui/issues/3105 That's not a blocker for this...
Found a bug in ViewExtensions.HitTest isLowerRight can't come back true, ever. See: https://github.com/dodexahedron/TerminalGuiDesigner/issues/51
Fix is pushed to this branch, in commits https://github.com/gui-cs/TerminalGuiDesigner/pull/284/commits/75930446c87ca83d0623bbd70b41d6b2e20bcfe4 (initial fix, but off by one and gives 3x3) and https://github.com/gui-cs/TerminalGuiDesigner/pull/284/commits/730aff04cd5d51e009679a1316faef620c05f500 (better fix that actually is 2x2)
Hm. When I stepped through in the debugger, they looked like control-relative coordinates. But that might just have been coincidence based on how I interpreted it. I'll expand the test...
For a little more context, I had temporarily made all 3 of those hit test methods try coordinates from 0,0 to 19,19, to see what would happen, and they all...
Ok, I pushed a change to one of the tests that makes the starting position of the view different. All but 83 of the over 1000 resulting test cases still...
Nope. It's not because of impossible coordinates. Application.Top is 80x25, so all cases are within the bounds of Application.Top. I think there may be a bug in FindDeepestView.
Strike that. I stepped through FindDeepestView and the problem I think is actually that HitTest is calling that on the view under test, but is passing it the global coordinates...
I've made some progress and made some potentially interesting discoveries, as I've been working on this. HitTest definitely did have some subtly odd behavior in certain situations, especially when IsBorderlessContainerView()...
MAN! An emergency came up and I had to sit it out. But the folks I was originally going with said it was pretty disappointing, so I guess small silver...