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

Bug: ruler drawn on top of the tab bar #3627

Open
usfbih8u opened this issue Jan 22, 2025 · 1 comment
Open

Bug: ruler drawn on top of the tab bar #3627

usfbih8u opened this issue Jan 22, 2025 · 1 comment

Comments

@usfbih8u
Copy link
Contributor

micro 2.0.14 (Linux)

Long wrapped lines cause the ruler (line numbers) to be drawn on top of the tab bar (having multiple tabs is required to display the tab bar).

This issue occurs when the 3rd or 4th row of any wrapped line is the first line of the buffer. I could not reproduce it in other cases, but it seems like problems start after the 2nd row.

(After some testing...)

Maybe it has to do with the fact that when I scroll using ScrollUp and ScrollDown, it is done every 2 rows. So, the issue happens with lines that come after the 2nd row. If the wrapped line has 8 rows, for example, you can reproduce this consistently.

You can try this text; feel free to make a longer line (it depends on your font and screen size).

jfsshdfklj dshsl kfhsdlhfdlds.

jfsshdfklj dshsl kfhsdlhfdlds.

dsfjgh dklgh dgkjldh fg dhgfl kdjgfsdlgh sdfgh sdfgh dsfh fgjl shdfghj dsjdsglhjdsgfh sdflh dsflh sdflh dsfklh dsflgh dsfklgh dsfkgh sdlfgh sdlfh sdgh sdflgh dfsgh sfklhdlfh dflgsh dfldskjgh sldfgh dflh sdfh fgh sdlfkh sdflk sflh sdflhj sdfgh dslfkgh sdf dfldskjgh sldfghdfldskjgh sldfghdfldskjgh sldfghdfldskjgh sldfghdfldskjgh sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh  sldfgh dfldskjgh sldfgh.


jfsshdfklj dshsl kfhsdlhfdlds.
@yz778
Copy link
Contributor

yz778 commented Jan 23, 2025

Was able to reproduce this. Here's a video for reference:

video.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants