Make QT RPC debug console copy friendly #6754

issue dexX7 opened this issue on October 4, 2015
  1. dexX7 commented at 11:38 AM on October 4, 2015: contributor

    When copying and pasting results from the QT RPC debug console, depending on the text editor, the results include the icons, which are not representable:

    selection

    paste

    It would be nice, if only the row with commands were selectable, to avoid that the icons (and timestamps) are copied.

    It would probably also be nice, if the results in the console were pretty printed and intended (if applicable).

  2. laanwj added the label Feature on Oct 7, 2015
  3. laanwj added the label GUI on Oct 7, 2015
  4. jonasschnelli commented at 8:42 AM on October 8, 2015: contributor

    I was playing around with this a little bit. After a little research, if found out that there is no way in overriding the copy'n'paste behavior, though, it would be possible to detect the Ctrl-C keyEvent and perform different things based on that. But it would also require signal catching for the context menu (Right-Mouse-Button->Menu->Copy) as well as for some linux copy'n'pase behavior (middle mouse button?).

    Not sure if it's worth hacking down a such implementation.

    If somebody has interest to go down this rabbit hole, here is a starting point: https://github.com/jonasschnelli/bitcoin/commit/6ca2dbf99b240fbf8567357815f60b9609c00f9b

    Although: JSON pretty print and a short cut for directly opening the rpc console window would be nice!

  5. fanquake deleted a comment on Mar 21, 2019
  6. MarcoFalke commented at 8:14 PM on April 24, 2020: member

    Closing due to lack of interest.

  7. MarcoFalke closed this on Apr 24, 2020

  8. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me