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

Focus FileChooser name entry when saving #2125

Merged
merged 10 commits into from
Feb 23, 2023
Merged

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Feb 2, 2023

Fixes #2047

@jeremypw jeremypw requested a review from danirabbit February 9, 2023 17:04
@jeremypw
Copy link
Collaborator Author

jeremypw commented Feb 9, 2023

@danirabbit Your input would be valued regarding on how to balance the needs of touch/mouse users and keyboard only users in relation this PR.

@jeremypw jeremypw requested a review from mcclurgm February 9, 2023 17:06
@jeremypw
Copy link
Collaborator Author

jeremypw commented Feb 9, 2023

@mcclurgm Requesting a review as you contributed to the linked issue.

@jeremypw
Copy link
Collaborator Author

jeremypw commented Feb 12, 2023

@danirabbit After the latest commit, either the entry or the treeview is focused on realize depending on whether we are saving or opening. The only other place a widget is focused is in set_current_name where the entry is focused. Should this remain?.

@danirabbit
Copy link
Member

@jeremypw I would guess that the intentional of that is to do what you're already doing here on realize, so it's probably a duplicate since I think these methods are only called on activate. I don't think apps are allowed to interfere with the portal while it's running anymore

@jeremypw jeremypw requested a review from Marukesu February 23, 2023 16:41
@jeremypw jeremypw mentioned this pull request Feb 23, 2023
6 tasks
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Let's go!

@danirabbit danirabbit merged commit a1b9a28 into master Feb 23, 2023
@danirabbit danirabbit deleted the filechooser-namebydefault branch February 23, 2023 20:48
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.

Filechooser default typing action is search instead of rename
3 participants