pulsar-edit / pulsar

A Community-led Hyper-Hackable Text Editor
https://pulsar-edit.dev
Other
3.33k stars 140 forks source link

Linux: Editing cursor disappears on a new line if tree view is open, and when line numbers are enabled. #965

Closed cormacj closed 7 months ago

cormacj commented 7 months ago

Thanks in advance for your bug report!

What happened?

The if Tree View is open (mine shows "Your project is currently empty") and the editor has line numbers enabled then when the editing cursor is at position 1, it will not be visible.

If you toggle Tree View off, the cursor is always visible. If you turn off line numbers in the editor, then the cursor is always visible.

When Tree view is enabled and line numbers are enabled, the cursor disappears.

Pulsar : 1.115.0 Electron: 12.2.3 Chrome : 89.0.4389.128 Node : 14.16.0

Pulsar version

1.115.0

Which OS does this happen on?

🐧 Debian based (Linux Mint, Ubuntu, etc.)

OS details

Linux Mate (Ubuntu 22.04/Mate 1.26.0)

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

  1. Pulsar 1.115
  2. Linux Mate (Ubuntu 22.04)
  3. Ensure Tree view is open (Ctrl K, Ctrl B)
  4. Ensure Line Numbers are enabled (Preferences -> Editor -> Show Line Numbers)
  5. Enter text and if editor cursor is at the start of the line the | will be invisible.

Additional Information:

No response

cormacj commented 7 months ago

Ok, this looks like its some legacy pulsar setting/add on clash.

I just moved my ~/.pulsar folder out of the way and its not reproducible.