Skip to content

qt: Fix multi-line label display in debug console Information panel - #967

Closed
RandyMcMillan wants to merge 1 commit into
bitcoin-core:masterfrom
bitcoincore-dev:1846/970227/279678/dcfb1b76fd/6a98f051ed-debug-console-handle-wordwrap
Closed

RandyMcMillan wants to merge 1 commit into
bitcoin-core:masterfrom
bitcoincore-dev:1846/970227/279678/dcfb1b76fd/6a98f051ed-debug-console-handle-wordwrap

Conversation

@RandyMcMillan

Copy link
Copy Markdown
Contributor

No description provided.

@DrahtBot DrahtBot changed the title qt: Fix multi-line label display in debug console Information panel qt: Fix multi-line label display in debug console Information panel Oct 6, 2026
@DrahtBot

DrahtBot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
Concept ACK Sjors
Stale ACK jpk68

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

before:

Screen.Recording.2026-10-06.at.3.28.55.PM.mov

@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

after:

Screen.Recording.2026-10-06.at.3.30.41.PM.mov

@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

I left unsquashed for reviewer convienence

Comment thread src/qt/forms/debugwindow.ui Outdated
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">

@RandyMcMillan RandyMcMillan Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ensures the "Open" button for debug.log floats to right

</size>
</property>
</spacer>
</item>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit f3be683 is a simpler way to accomplish the same layout and doesn't force additional padding at the bottom of the layout.

@RandyMcMillan

RandyMcMillan commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

when signet appended to datadir layout issue becomes more obvious.

https://github.com/bitcoin/bitcoin

Screenshot 2026-10-06 at 5 32 01 PM

@jpk68 jpk68 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 1a789e0

@Sjors

Sjors commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Concept ACK

I was able to reproduce the issue on Linux (headless) and macOS (actual desktop), and this PR fixes it.

Code review 1a789e0

Please squash the commits. Your pull request title makes for a good commit message. The commit message body can explain the motivation and changes in more detail.

Make sure that you, or your agent, check if each change is actually necessary. My brief testing suggests f3be683 isn't.

@maflcko

maflcko commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

~0 Seems trivial to work around by just increasing the window as the user. Given the QML gui, should this be closed?

@RandyMcMillan
RandyMcMillan force-pushed the 1846/970227/279678/dcfb1b76fd/6a98f051ed-debug-console-handle-wordwrap branch from 1a789e0 to 6e7d5dd Compare October 29, 2026 15:06
@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

6e7d5dd - remove commit f3be683 per @Sjors suggestion and squash.

@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

@maflcko,

I think it is worth while to maintain this gui implementation until an "official" sun setting is announced.

It has been a while since I have checked out the QML progress - I am sure it is progressing - but I don't anticipate the QML gui being merged until the full modularization and separation of the gui all together.

There are concerns related to the proper "sandboxing" of the Qt QML engine.

Screenshot 2026-10-29 at 11 26 49 AM

@maflcko

maflcko commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

It has been a while since I have checked out the QML progress - I am sure it is progressing - but I don't anticipate the QML gui being merged until the full modularization and separation of the gui all together.

Same, but IIUC there was a recent update on the QML progress (check the last IRC meeting). So the QML gui may be available in 33.x. Even if it only makes it only later (e.g. 34.x), I still think the current gui should be frozen. This isn't a regression here, so just leaving this unfixed shouldn't make anything worse.

I mostly think if the QML gui is planned, all efforts should move toward that. Spending more time on the old gui will just delay the new gui.

If you think the new gui should not happen, or if you think there are weak spots, it would be good to raise those points or better: fix them.

@RandyMcMillan

Copy link
Copy Markdown
Contributor Author

@maflcko

I actually stood down - I wanted to see what all those grant dollars would produce...

I am terribly disappointed...

Maybe somebody that gets paid to work on the qml gui can take this up...

bitcoin-core/gui-qml#1055

@johnny9

johnny9 commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

I think it is worth while to maintain this gui implementation until an "official" sun setting is announced.

I actually don't disagree with this. I think it's worthwhile to fix things like this. I will never tell someone they shouldn't improve a piece of software. However, even with agents we still have limited attention to give.

It has been a while since I have checked out the QML progress - I am sure it is progressing - but I don't anticipate the QML gui being merged until the Process Separation the gui all together.

Full separation is already largely complete either through the multiprocess ipc or at buildtime. bitcoind guix build never sees the dependencies required for bitcoin-qt. So if you don't want any qt, run bitcoind.

I am terribly disappointed...

Make the world better. Submit PRs.

Maybe somebody that gets paid to work on the qml gui can take this up...

Get out of here with this. gui-qml received grant funding a couple of years ago and it was extremely helpful in bootstrapping the foundations, but I'm not aware of anyone currently with a grant to work directly on gui-qml. Despite that, it is significantly progressing and seeing more contributors than ever.

bitcoin-core/gui-qml#1055

Thank you for contributing. I will take a look.

@fanquake

Copy link
Copy Markdown
Member

Looks like PRs like this needs some resolution, rather than being left open in limbo. @hebasto are we closing PRs like these, and focussing on the QML GUI, or merging them? Seems like something should be established, so contributors and reviewers can better allocate their time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants