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

inline assist: Cursor trapped after closing command palette #25373

Open
5brian opened this issue Feb 22, 2025 · 2 comments
Open

inline assist: Cursor trapped after closing command palette #25373

5brian opened this issue Feb 22, 2025 · 2 comments
Labels
navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc reproducible Verified steps to reproduce included

Comments

@5brian
Copy link
Contributor

5brian commented Feb 22, 2025

Summary

After closing both command palette and inline assist, cursor disappears

Steps to trigger the problem:

  1. Open inline assist
  2. Open command palette
  3. Close both

Actual Behavior:
Cursor disappears

Expected Behavior:
Cursor remains where inline assist was opened

Zed Version and System Specs

Zed: v0.175.3 (Zed Preview)
OS: macOS 15.3.1
Memory: 16 GiB
Architecture: aarch64

@beniaminzagan
Copy link
Member

beniaminzagan commented Feb 22, 2025

Reproduced the issue:

  • Click somewhere in your file
  • Open inline assist
  • Open the command palette
  • Close the command palette via esc or click back in the inline assist
  • Close the inlinse assist

The position of the cursor in the file is lost. We seem to only keep track of the previous position, but not when doing these steps in this order.

@beniaminzagan beniaminzagan added reproducible Verified steps to reproduce included navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc labels Feb 22, 2025
@danilo-leal
Copy link
Contributor

Another thing that happens after going through the repro steps above is the toolbar controls flickering, check it out:

CleanShot.2025-02-22.at.1.19.18.mp4

It only stops after I click on the buffer again (or switch tabs, or something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc reproducible Verified steps to reproduce included
Projects
None yet
Development

No branches or pull requests

3 participants