Skip to content

Fix: Navigator Loses Editing, Drawer Not Draggable #2062

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thecoolwinter
Copy link
Collaborator

Description

  • Fixes an issue where the project navigator would receive a file system update while a file's name was being edited, then lose the focus.
    • Added a check to see if a child text field is in focus. If it is, delays the reload.
    • Added a flag that is checked after text fields are done editing. If it's on, reloads the project navigator.
    • This is particularly noticeable when a file is added, then needs to be edited. Like in Creating a new file with clipboard contents #1995.
  • Fixes an issue with moving files with spaces in their name.
  • Fixes an issue introduced in Made Editor Separators Thicker #2055 that made the utility drawer not draggable.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Example behavior, a file system update is scheduled, then a text field is focused. The project navigator correctly delays the outline view refresh until after the user is done editing.

Screen.Recording.2025-06-11.at.10.29.42.AM.mov

@thecoolwinter thecoolwinter changed the title Fix: Navigator Losing Editing, Drawer Not Draggable Fix: Navigator Loses Editing, Drawer Not Draggable Jun 11, 2025
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.

2 participants