Sometimes missing desktop notification for new transactions #11840

issue Sjors openend this issue on December 6, 2017
  1. Sjors commented at 5:16 pm on December 6, 2017: member

    I noticed while testing #11403 that there was no desktop notification (OSX) upon receiving a transaction. This is occasionally happening on master as well. I’m trying to find a reliable way to reproduce.

    Steps to (sometimes???) reproduce on master 497d0e014:

    1. launch QT a fresh (testnet) wallet
    2. generate receive address
    3. navigate to Overview tab
    4. use another wallet to send funds
    5. notice the transaction appears in the list
    6. notice no popup notification appears

    I’m not getting notifications for v0.15.1 anymore either, both mainnet and testnet.

    Rebooting OSX made this issue go away both on v0.15.1 as well as the SegWit WIP. So at least we can rule out that this has anything to do with #11403. Unfortunately I can’t reproduce the issue after this reboot, so I’ll continue debugging next time it happens.

  2. MarcoFalke added the label MacOSX on Dec 6, 2017
  3. MarcoFalke added the label GUI on Dec 6, 2017
  4. MarcoFalke commented at 5:27 pm on December 6, 2017: member

    Assigning Mac label, since it seems to work on Linux/Gnome:

    screenshot from 2017-12-06 12-24-58

  5. Sjors commented at 5:32 pm on December 6, 2017: member
    Given that it’s inconsistent for me, I don’t think the fact that it works on Linux means the bug is OSX-only. But I’m investigating on OSX anyway.
  6. MarcoFalke removed the label MacOSX on Dec 6, 2017
  7. MarcoFalke commented at 5:34 pm on December 6, 2017: member
    Oh, sorry. I think you meant deterministically reproduce.
  8. Sjors commented at 6:05 pm on December 6, 2017: member

    I clarified the steps to reproduce to say it may not be deterministic (though right now I’m having difficulty getting notifications to work at all, so recompiling v0.15.1 for comparison).

    What’s a good way to add debug statements to the various methods involved here? For one thing I’d like to rule out that OSX is somehow not showing the popup. See also IRC.

  9. Sjors renamed this:
    Missing desktop notification for new transactions
    Sometimes missing desktop notification for new transactions
    on Dec 6, 2017
  10. Sjors commented at 10:57 am on February 13, 2018: member
    I haven’t seen this recently. Unless someone else has seen this, we should probably close it.
  11. MarcoFalke closed this on Feb 13, 2018

  12. jonasschnelli commented at 7:40 am on February 17, 2018: contributor
    The way how we inject OSX Notification Center messages is following Apples instructions, though, since this is Obj-C weak framework linking magic, it may not be completely stable… though, “loosing” notifications should not happen. I’d say either it works (framework dynamically loaded, etc.) or not. Maybe we should also keep eyes open in case Qt implements something like that (to avoid operating system depending code in our repository).
  13. hebasto commented at 3:17 pm on December 17, 2018: member
  14. MarcoFalke locked this on Sep 8, 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: 2024-06-26 13:12 UTC

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