Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use visibility signal as driver for focus stack focus #5933

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jan 6, 2025

After further debugging, using itemFocusChanged signal is really not ideal (e.g., it throws constant interference when focusing on feature form items!). Instead, we can rely on the visibleChanged signal.

@qfield-fairy
Copy link
Collaborator

@m-kuhn m-kuhn requested a review from mohsenD98 January 6, 2025 12:16
Copy link
Collaborator

@mohsenD98 mohsenD98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to be cautious about having an item placed under another item with visibility = true. Using the gammaray application, we can detect if any item with visibility = true is positioned under another item.

@nirvn
Copy link
Member Author

nirvn commented Jan 7, 2025

@mohsenD98 it'll only ever be a problem for the key handler item vs welcome screen in our case, which is resolved immediately after we load a project so I I'm confident we're good here.

@nirvn nirvn merged commit 3cf8506 into master Jan 7, 2025
24 checks passed
@nirvn nirvn deleted the focus_follow_up branch January 7, 2025 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants