0.21.1 Recent transactions tab expands entire window beyond screen resolution #373

issue fanquake openend this issue on June 28, 2021
  1. fanquake commented at 3:17 am on June 28, 2021: member

    (Moved from https://github.com/bitcoin/bitcoin/issues/22246)

    When a transaction is displayed in the Overview window on Bitcoin Core 0.21.1, the entire window stretches beyond the screen resolution depending on how many recipients there are in the transaction, even when not focuses on the Overview page. 1-recipient transactions inappropriately expand longer than normal but are still visible in its entirety, but 2 or more recipient transitions expand the tab - and the entire window with it - towards the right. Shrinking the window horizontally is disabled.

    Expected behavior

    The transaction tuple is truncated according to the window size with a maximum length computed for the “recent transactions”:

    (0.21.0 behavior): bitcoin core 0.21.0

    First transaction is a 1-recipient transaction, second one is a 2-recepient transaction and the rest are blocks mined from regtest -generate. They are truncated if they are larger than the Qt tab size for “recent transactions”

    Actual behavior

    There is no limit to the length of the recent transactions tab and it forces the horizontal dimension of the window to be exactly the size of the longest transaction tuple listed in the recent transactions tab.

    (0.21.1 behavior): bitcoin core 0.21.1

    The mined blocks transactions fit, but the 1-recipient transaction and the 2-receipient transaction stretch too far to the right, as if a size limit was not being set for the tab.

    To reproduce

    This issue can be consistently reproduced.

    • Start bitcoind in regtest and in another terminal run bitcoin-cli --regtest -generate 110 (this is to create bitcoins needed to make the problem transactions)
    • Shut down bitcoind and open bitcoin-qt in regtest
    • Generate two receiving addresses using Receive > Create New Receiving Address
    • Go to the Send tab, add two receiving address and send them an arbitrary amount of BTC in a single transaction and press Send (the amount is irrelevant)

    (at this point you may create another transaction to any address using one receiving address if you want, to compare the difference)

    • Switch to Overview Tab to view the non-truncated transactions. Note that the window will already appear expanded if you simply open a wallet with such transactions.

    System information

    Bitcoin core 0.21.1 precompiled from bitcoincore.org, Linux KDE5 Ubuntu 20.04 running Qt 5.9.8, display resolution 1366x768

  2. fanquake added the label Bug on Jun 28, 2021
  3. hebasto closed this on Jul 5, 2021

  4. sidhujag referenced this in commit ee4edbe912 on Jul 5, 2021
  5. bitcoin-core locked this on Aug 16, 2022


fanquake

Labels
Bug


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-23 00:20 UTC

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