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

Cursor on column 0 of non empty line is not displayed #3271

Open
notorand-it opened this issue May 15, 2024 · 1 comment
Open

Cursor on column 0 of non empty line is not displayed #3271

notorand-it opened this issue May 15, 2024 · 1 comment
Labels
C-bug Category: bug - something isn't working as it's supposed to

Comments

@notorand-it
Copy link

Lapce Version

0.4.0

System information

OS: ArchLinux (up-to-date)
Kernel Version : 6.8.9.zen1-2
Plasma Version : 6.0.4.1-1
KDE Version : 24.02.2-1
Frameworks Version : 6.2.0-1
Qt5 Version : 5.15.13+kde+r7-1
Qt6 Version : 6.7.0-6
Wayland Version : 1.22.0-1
XOrg/Wayland Version : 23.2.6-2
Mesa Version : 1:24.0.7-3
LibVA Version : 2.21.0-1
VDPAU Version : 1.5-2

Describe the bug

When cursor is on the first column (0) of a non empty line, the cursor IS NOT displayed.
When cursor is on the first column (0) of an empty line, the cursor IS displayed.

Additional information

SHOT-20240515-091215-CEST

@notorand-it notorand-it added the C-bug Category: bug - something isn't working as it's supposed to label May 15, 2024
@notorand-it
Copy link
Author

The bug is actually different from what I have described.
This is my (currently) more precise description.

The cursor is actually displayed but, if you are inside a "code block", the vertical line drawn to highlight the code block extent almost completely hide the cursor if it is a "line" cursor.

Additional information

As a possible solution workaround you could not draw that vertical line highlighting the block if the cursor would be hidden. Or use a fainter shade of gray for that line.

In the following screenshot you can actually see the cursor if you squint your eyes.

The meaning of that "Char 45" is uncertain. Maybe it is the 45th since the beginning of the file.

SHOT-20240515-093850-CEST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug - something isn't working as it's supposed to
Projects
None yet
Development

No branches or pull requests

1 participant