-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Description
Hi, thanks for your work to dev such a great tool!
When I use a hover window to check an array variable and expand its internal value of each element, the hover window's width will change automatically according to the current displayed content's width. It's OK but I found it was hard to use since the hover window's width (and position sometimes) was changing as I scrolled by mouse.
E.g. (sorry I cannot make screenshot now...)
import numpy as np
a = np.random.rand(20, 3)
and the hover window of 'a' is
A1 - [0:20] : [array([0.21187257, 0.05174158, 0.93341818]), array([0.6754168 , 0.4])] A2
B1 + 00: array([0.21187257, 0.05174158, 0.93341818]) B2 B3
....
the first row's width is 'A1-A2',when I scoll down until the first row is out of displayed range, the hover window's width will be 'B1-B2'. It's unconvenient if my mouse is in 'B2-B3' since now my mouse is not on hover window but on the vim's buf window! I have to move mouse to 'B1-B2' in order to focus on the hover window.
Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
Not reproducible with sample project
Minimal Reproduction
List of steps to reproduce:
- Run
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc ....
- Open this project...
- Press this sequence of keys
Expected Behaviour
Fix the width of the current popup hover window when I'm scrolling
Actual Behaviour
The window's width is changing according to current content.
Additional information
No response
Installation Type
Plugin Manager (git clone)
Vimspector version
Debug Info
Log file
Vim version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 30 2024 09:50:30)
Python version
No response
Neovim diagnostics
Operating System
No response
Declaration
- I have read and understood CONTRIBUTING.md
- I have read and understood the CODE_OF_CONDUCT.md