log-format=multiline-with-logs flickers a lot on some terminal emulators #1204
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
awaiting
author
awaiting
contributors
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
diagnostics
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
Feature/S3
Importance
High
Importance
Low
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
Release Blocking
Non-urgent
Release Blocking
Urgent
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
Urgency
High
Urgency
Low
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix#1204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
multiline-with-logsupdates redraw both the bar and running jobs list even when only one of them is changed, leading to flicker in some casesSteps To Reproduce
Expected behavior
If
nom-build(nix-output-monitor 2.1.8) is used instead, there is significantly less flicker. Looks like Lix rerenders currently running jobs part even if it's not changed.nix --versionoutputAdditional context
I have stumbled upon this behavior on 2.94, and maybe even some time before, but I can't remember. Haven't reported before because I couldn't think of way to make the issue reproduce without resorting to deleting random store paths or resetting state or something, and was too afraid to ask about it
Terminals I tested that have this issue:
Some terminals do not have this issue, instead "bar" part of multiline jumps up and down as jobs finish and create. These terminals are:
Yes, (currently) the bar implementation is quite basic, and re-renders completely on every change (including to the logs above it). Lix supports synchronized updates which explains the lack of flicker on most of the terminals you mentioned not having the issue, except for Konsole where I don't know what it does better.