Stack overflow when nothing on screen is focusable
Hello,
We're on Noesis v3.1.4-11293
Starting to see a crash/stack overflow when nothing on screen is focusable and we press Tab / R2.
Stack is full of GetElementRecursive::GetNext()
Likely because this keeps getting next in KeyboardNavigation.cpp
I haven't checked yet if this is new to this version of Noesis.
We can avoid it by setting something that's not meant to be focused at this time to be focusable, but this seems like a hack.
What can we do to disable focusing in this case entirely / prevent Tab from recusing?
We're on Noesis v3.1.4-11293
Starting to see a crash/stack overflow when nothing on screen is focusable and we press Tab / R2.
Stack is full of GetElementRecursive::GetNext()
Likely because this keeps getting next in KeyboardNavigation.cpp
Code: Select all
if (!newFocused && currentIndex == UnsetTabIndex)
{
GetTabIndexed search(mRoot.GetPtr(), currentIndex);
newFocused = search.GetNext();
}
We can avoid it by setting something that's not meant to be focused at this time to be focusable, but this seems like a hack.
What can we do to disable focusing in this case entirely / prevent Tab from recusing?
-
sfernandez
Site Admin
- Posts: 2997
- Joined:
Re: Stack overflow when nothing on screen is focusable
I was not able to reproduce the stack overflow crash, could you please create a ticket in our bugtracker and attach a small sample project so we can investigate it?
Have you tried to set KeyboardNavigation.TabNavigation="None" and KeyboardNavigation.ControlTabNavigation="None" in your screen root?
Have you tried to set KeyboardNavigation.TabNavigation="None" and KeyboardNavigation.ControlTabNavigation="None" in your screen root?
Re: Stack overflow when nothing on screen is focusable
Hi
Thank you, that fixes the crash by removing the tab navigation .. which we really don't need in this case.
I'll try to see how to repro it in a sample / small project.
Cheers.
Thank you, that fixes the crash by removing the tab navigation .. which we really don't need in this case.
I'll try to see how to repro it in a sample / small project.
Cheers.
Re: Stack overflow when nothing on screen is focusable
Having a hard time figuring out which bit does this, can't repro in samples .. we might have some kind of circular onFocus events happening.
-
sfernandez
Site Admin
- Posts: 2997
- Joined:
Re: Stack overflow when nothing on screen is focusable
Great, I'm marking this as solved, although if you find a way to reproduce the stack overflow crash in an isolated scenario please file a report in our bugtracker.Thank you, that fixes the crash by removing the tab navigation .. which we really don't need in this case.
Who is online
Users browsing this forum: No registered users and 48 guests