Scrolling in Neovim - file bumps down when trying to scroll to top of file.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- neovim
- Domain
- cli
Research direction
Start by reproducing the issue in Warp with Neovim using the attached screen recording and the listed reproduction steps; compare mouse scrolling with keyboard navigation and other terminals. Done means scrolling to the first line with the mouse leaves the file aligned with the top of the window instead of shifting down.
Written by the indexing model from the issue text.
Description
Discord username (optional)
No response
Describe the bug
This might be similar to #2965 but since this Neovim, I figured I'd open a new one. When I am in neovim with a file that goes beyond the edges of the terminal and I use the mouse to scroll, Warp doesn't keep the top of the file in line with the top of the window. Instead, I scroll to the top, and as soon as I let go of f the mouse/scroll wheel, the file bumps down 5-7 lines, hiding the top of the file.
If I use my keyboard (which I should be doing... it's neovim!) to navigate to the top, it works as expected. I've attached a screen recording to the bottom section.
To Reproduce
- Open Warp
- Open file in Neovim with more lines than will fit on the screen
- Scroll down so at least the top 5 lines are no longer in the view area
- Scroll back up to see the very first line
- Let go of mouse
Expected behavior
When scrolling with a mouse, for Warp to leave the file where it is when I let go of the mouse and not alter anything.
Screenshots
[Here's a screenrecording.](https://user-images.githubusercontent.com/44226464/236569091-f0318329-ea9d-4cd8-82f4-d9e4bd04cebf.mov
Here's a screenrecording.
Operating System
MacOS
Operating System and Version
13.3.1
Shell Version
zsh 5.9 (x86_64-apple-darwin22.0)
Warp Version
v0.2023.05.02.08.03.stable_00
Additional context
No response
Does this block you from using Warp daily?
No
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
None
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100