You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I could be wrong but group navigation should always respect the current focused view in the current focused group.
[Theory][ClassData(typeof(V2TestDrivers))]publicvoidToplevel_TabGroup_Forward_Backward(V2TestDriverd){varv1=newView{Id="v1",CanFocus=true};varv2=newView{Id="v2",CanFocus=true};varv3=newView{Id="v3",CanFocus=true};varv4=newView{Id="v4",CanFocus=true};usingGuiTestContextc=With.A<Window>(50,20,d).Then(()=>{varw1=newWindow{Id="w1"};w1.Add(v1,v2);varw2=newWindow{Id="w2"};w2.Add(v3,v4);Topleveltop=Application.Top!;Application.Top!.Add(w1,w2);}).WaitIteration().Then(()=>Assert.True(v3.HasFocus)).RaiseKeyDownEvent(Key.F6).Then(()=>Assert.True(v1.HasFocus)).RaiseKeyDownEvent(Key.F6).Then(()=>Assert.True(v3.HasFocus)).RaiseKeyDownEvent(Key.F6.WithShift).Then(()=>Assert.True(v1.HasFocus)).RaiseKeyDownEvent(Key.F6.WithShift).Then(()=>Assert.True(v3.HasFocus)).RaiseKeyDownEvent(Key.Tab).Then(()=>Assert.True(v4.HasFocus)).RaiseKeyDownEvent(Key.F6).Then(()=>Assert.True(v1.HasFocus)).RaiseKeyDownEvent(Key.F6).Then(()=>Assert.True(v4.HasFocus))// Fails because it navigates to the previous view v3.RaiseKeyDownEvent(Key.F6.WithShift).Then(()=>Assert.True(v1.HasFocus)).RaiseKeyDownEvent(Key.Tab).Then(()=>Assert.True(v2.HasFocus)).RaiseKeyDownEvent(Key.F6.WithShift).Then(()=>Assert.True(v4.HasFocus)).RaiseKeyDownEvent(Key.F6.WithShift).Then(()=>Assert.True(v2.HasFocus)).WriteOutLogs(_out).Stop();Assert.False(v1.HasFocus);Assert.False(v2.HasFocus);Assert.False(v3.HasFocus);Assert.False(v4.HasFocus);}
The text was updated successfully, but these errors were encountered:
Maybe I could be wrong but group navigation should always respect the current focused view in the current focused group.
The text was updated successfully, but these errors were encountered: