镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

🐞 Suggestion window fails to draw #351

Description

@nkleemann

Description

Everytime after using the editor with the suggestion feature for a short period of time (5-15 appereances of the panel), the panel window just doesnt appear anymore, but pressing "TAB" or "ENTER" still inserts suggestions at the cursor.

In the XCode console I get:

Warning: -[NSWindow makeKeyWindow] called on <NSWindow: 0x401330240> windowNumber=151f8 which returned NO from -[NSWindow canBecomeKeyWindow].

This happens for the latest version still, with the new "Suggestion Window Fixes" PR merged.

To Reproduce

  1. Use the example with the mock completions for a longer period of time
  2. Let the panel appear and disappear 10-20x

Expected Behavior

The suggestions window should always render, and IF something fails to render, the viewmodel should refrain from inserting completions.

Version Information

CodeEditSourceEditor: latest main branch
macOS: 15.5 (24F74)
Xcode: 16.4 (16F6)

Additional Context

No response

Screenshots

No response

Activity

  1. thecoolwinter commented on Sep 16, 2025

    @thecoolwinter
    Collaborator

    That's really odd, it sounds like the suggestion window is being created but maybe is stuck behind something? I'm not sure what would cause that.

  2. lucasmotta commented on Sep 28, 2025

    @lucasmotta

    Oh I just noticed this too. And what's weird is that you can still "navigate" the suggestions and pick one, but it does not render:

    CleanShot.2025-09-28.at.23.04.38.mp4

    (And I got LSP working in this btw, super cool!)


    And you can see it when it's actually working:
    https://github.com/user-attachments/assets/4c24fcce-9d3c-466c-ae86-b19d00db09d0

    (I need to fix the insert that's adding an extra .)

  3. lucasmotta commented on Sep 29, 2025

    @lucasmotta

    @nkleemann it would be great if you could test this PR claude just created - for me it seems to be working fine, even thou I still see the same warning in the logs.

  4. added a commit that references this issue on Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions