Wrong dialog icon for "Wallet to be encrypted" #106

issue jonasschnelli opened this issue on October 23, 2020
  1. jonasschnelli commented at 10:59 AM on October 23, 2020: contributor

    The used icon in the "Wallet to be encrypted" is rather one used for "errors": <img width="618" alt="Bildschirmfoto 2020-10-23 um 12 56 10" src="https://user-images.githubusercontent.com/178464/96995926-48906180-152f-11eb-849c-0c72f890cbef.png">

    Ideally there is a non-red icon so people aren't thinking something went wrong.

  2. jonasschnelli added the label Bug on Oct 23, 2020
  3. jonasschnelli commented at 11:03 AM on October 23, 2020: contributor

    On the other hand, we might want to use a warning icon to make people actual read the content... so unsure if we should fix this.

  4. MarcoFalke commented at 11:41 AM on October 23, 2020: contributor

    I'd say this was intentional

  5. hebasto commented at 1:29 PM on October 23, 2020: member
  6. jarolrod commented at 11:58 PM on October 30, 2020: member

    The red circle is the default icon for QMessageBox::critical, which would make this an interesting quirk. Also, it's entirely possible that what is shown is a QMessageBox::warning with the wrong icon being passed because of your systems GTK cache files. Certain GTK themes can influence what icon actually comes up as Qt >5.7 implemented a feature that uses the system's GTK cache files to load some icons. For example, I can get this white error symbol to come up: encryption-warning-2

    To stay consistent, we could just provide our own custom icon via: QMessageBoxName.setIcon(QMessageBox::setIconPixmap(arg))

  7. hebasto commented at 9:57 AM on November 4, 2020: member

    @jarolrod

    ... as Qt >5.7 implemented a feature that uses the system's GTK cache files to load some icons.

    Could elaborate?

  8. hebasto added the label Linux on Mar 5, 2021

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: 2026-04-15 01:20 UTC

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