RPC command console #540

Closed
epicleafies wants to merge 27 commits from rpc-command-console into qt6 AGit
epicleafies commented 2026-03-25 01:53:09 +00:00 (Migrated from github.com)

Created page for rpc command console. #508
Created option under settings for console.
Preserved parsing logic currently in use.
Added unit and functional tests.

Screenshot from 2026-03-24 16-38-26 Screenshot from 2026-03-24 16-39-07
Created page for rpc command console. #508 Created option under settings for console. Preserved parsing logic currently in use. Added unit and functional tests. <img width="660" height="894" alt="Screenshot from 2026-03-24 16-38-26" src="https://git.fish.foo/attachments/ed12e8f4-5161-4948-82e5-80fe549f6411" /> <img width="660" height="894" alt="Screenshot from 2026-03-24 16-39-07" src="https://git.fish.foo/attachments/642eff9b-f56b-4a22-a124-09c32075a264" />
johnny9 (Migrated from github.com) reviewed 2026-03-30 14:08:16 +00:00
johnny9 (Migrated from github.com) left a comment

Noticed issues with scrolling when command responses are large. Switch from a List View to columns fixes it due to the simpler layout mechanism of columns

Noticed issues with scrolling when command responses are large. Switch from a List View to columns fixes it due to the simpler layout mechanism of columns
johnny9 (Migrated from github.com) commented 2026-03-30 14:07:25 +00:00

The list view has problems with very long command responses. In my testing, the best fix is to convert this to a Flickable+Column+Repeater. With that we just need to make sure the command history buffer has a sensible limit.

The list view has problems with very long command responses. In my testing, the best fix is to convert this to a Flickable+Column+Repeater. With that we just need to make sure the command history buffer has a sensible limit.
MarnixCroes (Migrated from github.com) reviewed 2026-04-06 09:34:51 +00:00
MarnixCroes (Migrated from github.com) left a comment

10a6d50e278cda634e1ab80bd6d575a7d1a4d463

A few observations from first quick test:

  • The entry box should automatically be selected when opening the console window.
  • Selecting the entry box does not always work that well. I have to click it twice.
  • Up and down keystroke should navigate suggested commands (when there are, for example type only get), instead of the history
  • When selecting a suggested option using mouse arrow and clicking it, the entry box gets deselected. Which it shouldn't, so the user can select the command and then press enter. Without having to select the entry box again first and then press enter.
10a6d50e278cda634e1ab80bd6d575a7d1a4d463 A few observations from first quick test: - The entry box should automatically be selected when opening the console window. - Selecting the entry box does not always work that well. I have to click it twice. - Up and down keystroke should navigate suggested commands (when there are, for example type only `get`), instead of the history - When selecting a suggested option using mouse arrow and clicking it, the entry box gets deselected. Which it shouldn't, so the user can select the command and then press enter. Without having to select the entry box again first and then press enter.
MarnixCroes (Migrated from github.com) commented 2026-04-06 09:34:00 +00:00

Isn't an icon better, than text?

Maybe an arrow? (with better color and style)

Image
Isn't an icon better, than text? Maybe an arrow? (with better color and style) <img width="6148" height="4999" alt="Image" src="https://git.fish.foo/attachments/71f076bf-0da3-4a9e-b993-38b29374b557" />
MarnixCroes commented 2026-05-06 13:44:50 +00:00 (Migrated from github.com)

@epicleafies
What is the status of the PR? I see some previous issues are addressed while some others are still present.

@epicleafies What is the status of the PR? I see some previous issues are addressed while some others are still present.
johnny9 commented 2026-05-11 16:25:50 +00:00 (Migrated from github.com)
Related to https://github.com/bitcoin-core/gui-qml/issues/508
epicleafies commented 2026-06-04 03:02:55 +00:00 (Migrated from github.com)

Superseded by #746

Superseded by #746
Sign in to join this conversation.
No description provided.