zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.75k stars 2.79k forks source link

Modal UI should not be closing on a temporary focus loss #7729

Open romans-ovo opened 7 months ago

romans-ovo commented 7 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When any UI is open like this one:

Screenshot 2024-02-13 at 13 12 45

and editor looses focus (i have focus-follows-mouse on mac) this also closes the UI (project selection ui). I believe there is no reason to close UI just because Zed window lost focus. Ideally it could close if focus is not regained within 1 second.

Environment

Zed: v0.122.2 (Zed Preview) OS: macOS 14.1.1 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

alygin commented 7 months ago

Looks like a duplicate of #7503

github-actions[bot] commented 6 days ago

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. Are you able to reproduce this issue in the latest version of Zed? If so, please let us know by commenting on this issue and we will keep it open; otherwise, we'll close it in a week. Feel free to open a new issue if you're seeing this message after the issue has been closed. Thanks for your help!