Skip to content

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

@usfbih8u

Description

@usfbih8u

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions