Layers pane doesn't scroll when navigating to layer below visible region
matt-winfield opened this issue ยท 8 comments
What happened:
When viewing an image with more layers than can fit in the "layers" pane, when navigating down to a layer not visible, the pane does not scroll to show it. PageUp / PageDown keys also do not scroll the pane.
What you expected to happen:
The pane should scroll to keep the currently selected layer visible
How to reproduce it (as minimally and precisely as possible):
Open an image with enough layers to not fit into the pane
Navigate down until you go beyond the visible layers.
Environment:
- OS version - Windows 10 Pro, 22H2, 19045.3324
- Powershell and Command Prompt, Windows Terminal
- Docker version - 20.10.16
See comment.
I have something in progress, but it's not ready yet, hopefully soon.
TIP: This is a pretty limiting bug and older versions are not available on macOS brew. To workaround it try:
docker run -ti -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive:v0.10.0 IMAGE:TAG
Btw it doesn't show the full command line though of each RUN so that limits usefulness if you use --build-arg
's.
@mark2185 I've built your branch on Ubuntu 22.04 after having the scrolling bug with v0.11.0, and the bug still happens on your PR branch, built with golang 1.21 :(
Any update on this ? I have quiet a lot of layers in my image :(
I just submitted a fix that works for me #478