amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
6.16k stars 309 forks source link

Soft wrap lines and auto refresh #3278

Closed derevyan closed 1 month ago

derevyan commented 1 month ago

🔍 Check for existing issues

How is Dozzle deployed?

Standalone Deployment

📦 Dozzle version

v8.4.3

✅ Command used to run Dozzle

docker compose start

🐛 Describe the bug / provide steps to reproduce it

During enabled Soft wrap lines auto refresh make Chrome browser main log window screen jumps up and down for few lines that makes it very hard to monitor.

Thanks a lot for a great tool!

💻 Environment

Client: Docker Engine - Community Version: 27.1.0 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.13.1 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.25.0 Path: /usr/libexec/docker/cli-plugins/docker-compose

Server: Containers: 45 Running: 43 Paused: 0 Stopped: 2 Images: 97 Server Version: 27.1.0 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc version: v1.1.13-0-g58aa920 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 5.15.0-101-generic Operating System: Ubuntu 22.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 31.13GiB Name: ns536019 ID: 50038232-2b79-436f-913e-bc1757b6c8de Docker Root Dir: /var/lib/docker Debug Mode: false Username: rootsapp Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

📸 If applicable, add screenshots to help explain your bug

No response

📜 If applicable, attach your Dozzle logs. You many need to enable debug mode. See https://dozzle.dev/guide/debugging.

No response

amir20 commented 1 month ago

Hey, I use chrome everyday and never noticed this. Soft wrap is enabled by default so I would expect others to see this too.

Can you record a video?

I am not sure what you mean by jumping.

yoannk commented 1 month ago

I have same issue, horizontal scrollbar appearing every second Video

amir20 commented 1 month ago

Oh I see so this showing the horizontal scroll bar? I probably don't see this because I am on a Mac.

I'll have to see if I can reproduce this.

amir20 commented 1 month ago

oh interesting. I was able to reproduce this on mac by trying to scroll. This was introduced when I added the animation at the bottom.

amir20 commented 1 month ago

Can you all try amir20/dozzle:pr-3279?

The culprit was a css issue. I can't really test it with other browsers. So hoping you can verify.

toast-ts commented 1 month ago

That PR patch seems to resolves the distracting issue for me.

amir20 commented 1 month ago

Thanks! I have merged in master. Will push a build today.

amir20 commented 1 month ago

This is fixed now. You all should confirm on other browsers.

amir20 commented 1 month ago

@derevyan Did this work? Please confirm.