Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ugly log output in Mill 0.12.4 #4171

Open
lefou opened this issue Dec 22, 2024 · 1 comment
Open

Ugly log output in Mill 0.12.4 #4171

lefou opened this issue Dec 22, 2024 · 1 comment

Comments

@lefou
Copy link
Member

lefou commented Dec 22, 2024

After bumping a project from Mill 0.12.2 to 0.12.4, the log often contains parts of the progress output ruler.

Example output (excerpt): mill __.compile

[3433] [warn] /home/lefou/work/bla/bla/framework/ui.binding.rcp/src/de/bla/richmodel/ui/binding/rcp/jface/formsupport/formeditor/OldRmfEditorPart.java:186:62: getMainBinding() in de.bla.richmodel.ui.binding.editor.EditorController ist veraltet
[3433] [warn] getEditorController().getMainBinding
[3433] [warn]                                     ^
[3433] [warn] /home/lefou/work/bla/bla/framework/ui.binding.rcp/src/de/bla/richmodel/ui/binding/rcp/jface/formsupport/formpage/RichModelFormPage.java:83:27: Mögliches "this"-Escape vor vollständiger Initialisierung der Unterklasse
[3433] [warn] initialize(editor)
[3433] [warn]                   ^
[3433] [warn] /home/lefou/work/bla/bla/framework/ui.binding.rcp/src/de/bla/richmodel/ui/binding/rcp/jface/userinteraction/JfaceListMultipleSelectionDialog.java:82:25: Mögliches "this"-Escape vor vollständiger Initialisierung der Unterklasse
[3433] [warn] setTitle("some title")
[3433] [warn]                       ^
[3433] [warn] /home/lefou/work/bla/bla/framework/ui.binding.rcp/src/org/vafada/swtcalendar/RepeatingButton.java:55:33: Mögliches "this"-Escape vor vollständiger Initialisierung der Unterklasse
[3433] [warn] addMouseListener(new MouseAdapter() {
[3433] [warn] ==================public void mouseDown(MouseEvent event) {
[3433] [warn] ==========================cancelRepeater();
[3433] [warn] 
[3433] [warn] ==========================if (event.button == 1) { // Left click
[3433] [warn] ============================ __.cobuttonPressed(event.stateMask, event.time);
[3433] [warn] 
[3433] [warn] ============================ __.corepeater = new Repeater(event.stateMask);
[3433] [warn] ============================ __.cogetDisplay().timerExec(initialRepeatDelay, repeater);
[3433] [warn] ==========================}
[3433] [warn] ==================}
[3433] [warn] 
[3433] [warn] ==================public void mouseUp(MouseEvent event) {
[3433] [warn] ==========================if (event.button == 1) { // Left click
[3433] [warn] ============================ __.cocancelRepeater();
[3433] [warn] ==========================}
[3433] [warn] ==================}
[3433] [warn] kernel.kot})
[3433] [warn]                                 ^
[3433] [info] done compiling
[3455/3685] framework.uiBindingRcp.test.compile
@lihaoyi
Copy link
Member

lihaoyi commented Dec 23, 2024

Probably a consequence of #4053, which tried to minimize screen clears to avoid jittering in the prompt during refreshes

It seems that on your example, spaces and tab characters do not clear any text they are printed over. Not sure if it's a shell thing or a terminal thing. What shell and terminal are you using? Does it reproduce on other terminals?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants