gui: Incorrect application name when passing -regtest #15079

issue fanquake opened this issue on January 2, 2019
  1. fanquake commented at 2:49 PM on January 2, 2019: member

    On Fedora 29.1-2, when running bitcoin-qt -regtest, the name of the application in the menu bar is shown as Bitcoin-Qt-testnet (the icon is the correct blue colour). i.e: fedora - notifications

    Noticed while testing #15000 (confirmed unrelated by testing master). When running just bitcoin-qt, or passing -testnet the menu name and icon are both correct.

  2. fanquake added the label GUI on Jan 2, 2019
  3. fanquake added the label Linux/Unix on Jan 2, 2019
  4. laanwj commented at 2:59 PM on January 2, 2019: member

    The same application name

    #define QAPP_APP_NAME_TESTNET "Bitcoin-Qt-testnet"
    

    is used for both regtest and testnet:

        {"test", QAPP_APP_NAME_TESTNET, 70, 30, QT_TRANSLATE_NOOP("SplashScreen", "[testnet]")},
        {"regtest", QAPP_APP_NAME_TESTNET, 160, 30, "[regtest]"}
    
  5. MarcoFalke renamed this:
    gui: Incorrect application name when passing -regtest on Fedora
    gui: Incorrect application name when passing -regtest
    on Jan 2, 2019
  6. MarcoFalke removed the label Linux/Unix on Jan 2, 2019
  7. hebasto commented at 4:39 PM on January 2, 2019: member

    @laanwj

    The same application name

    #define QAPP_APP_NAME_TESTNET "Bitcoin-Qt-testnet"
    

    is used for both regtest and testnet

    Is it intended?

  8. laanwj commented at 5:40 PM on January 2, 2019: member

    No, to be honest I don't think anyone ever noticed this, or thought of this before. Regtest in GUI mode is very rarely used.

  9. jonasschnelli commented at 7:03 PM on January 3, 2019: contributor

    The application name itself is not a huge deal... but without the fix #15085, regtest and testnet GUI share the same QSettings which is strange that nobody detected this (including myself using GUI regtest a lot).

  10. MarcoFalke commented at 11:03 PM on January 3, 2019: member

    regtest and testnet GUI share the same QSettings

    Oh nice when this annoyance is finally fixed. Makes testing easier and less risky.

  11. laanwj closed this on Jan 4, 2019

  12. laanwj referenced this in commit d3dc6d8794 on Jan 4, 2019
  13. laanwj referenced this in commit 0a0b2ea11f on Jan 7, 2019
  14. DrahtBot locked this on Dec 16, 2021

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