这是indexloc提供的服务,不要输入任何密码
Skip to content

Bug: Delete Buffer in Tab, Then Back to Scratch - Cursor Not Displayed #381

@geoffreycheungr

Description

@geoffreycheungr

Describe the bug
When deleting a buffer in a tab and switching back to the "Scratch" page, the cursor does not appear until a forced UI update is triggered. The cursor should automatically reappear or be restored upon switching tabs.

Heynote_2.5.0_x86_64.AppImage

To Reproduce
Steps to reproduce the behavior:

  1. Open two tabs: one labeled "Tab A" (containing content) and another labeled "Scratch".
  2. Navigate to "Tab A" and perform an action that deletes its buffer (e.g., close the file or clear content).
  3. Switch back to the "Scratch" tab.
  4. Observe that the cursor is missing from the "Scratch" tab's input area.
  5. Force a UI refresh ( click outside the editor), and the cursor reappears.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Version 4.2.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions