jonasschnelli added this to the milestone 0.22.0
on Oct 27, 2020
jonasschnelli
commented at 1:54 pm on October 27, 2020:
contributor
Is the current notification support on macOS in master broken? If so, this qualifies as a bugfix I’d say.
hebasto
commented at 2:06 pm on October 27, 2020:
member
Is the current notification support on macOS in master broken?
No, it isn’t.
Sjors
commented at 2:52 pm on October 30, 2020:
member
macOS 10.15.7 with QT 5.15.1 via homebrew. I tried using Bitcoin-Qt.app rather than the DMG route and it works fine.
The tray icon is a bit weird, because nothing happens when you click on it:
That’s because trayIconActivated still has an exception for macOS. It’s a bit annoying that QT requires this tray icon to be visible in order for notifications to work, but anyway.
The exclamation mark in notifications could be avoided, by tweaking void Notificator::notifySystray:
0{
1 QSystemTrayIcon::MessageIcon sicon = QSystemTrayIcon::NoIcon;
2switch(cls) // Set icon based on class
3 {
4#ifdef Q_OS_MAC
5caseInformation: sicon = QSystemTrayIcon::NoIcon; break;
6#else
7caseInformation: sicon = QSystemTrayIcon::Information; break;
8#endif
hebasto
commented at 8:41 pm on October 30, 2020:
member
The tray icon is a bit weird, because nothing happens when you click on it:
I think some behavior could be assigned to the tray icon, but it would be unusual for macOS UX, no?
The exclamation mark in notifications could be avoided, by tweaking void Notificator::notifySystray:
Do we need to avoid it?
Sjors
commented at 8:27 am on October 31, 2020:
member
Given that we can’t avoid the tray icon (afaik), it would be good if it shows / hides the window. That way at least it doesn’t feel broken.
Typically on macOS these icons provide a menu with shortcuts to various functions. That might be better, if it’s not too much work:
As for the explanation mark, I would prefer to avoid it, because it’s very non standard. It could be interpreted as an error. That said, it’s not the end of the world.
hebasto
commented at 8:50 am on October 31, 2020:
member
Given that we can’t avoid the tray icon (afaik), it would be good if it shows / hides the window. That way at least it doesn’t feel broken.
Typically on macOS these icons provide a menu with shortcuts to various functions. That might be better, if it’s not too much work:
I’d leave adding tray icon functionality for a follow up as it will probably raise another discussion.
As for the explanation mark, I would prefer to avoid it, because it’s very non standard. It could be interpreted as an error. That said, it’s not the end of the world.
Ok, Going to patch it.
johnsBeharry
commented at 11:25 am on October 31, 2020:
none
Notification Title
Nitpick for the notification title. Since the logo is already included its not necessary to repeat “Bitcoin Core”.
Context Menu
WRT the menu bar context menu options. Personally I’d like to be able to quickly start/stop syncing cause I’m not always on a consistent connection.
@gbks took conceptual look at what the design for a menu bar app could look like. Perhaps he can give some input - it also focused on network activity switch.
Sjors
commented at 5:35 pm on November 2, 2020:
member
@johnsBeharry macOS notifications always have the application name in the title. It’s also good for accessibility, think voice readers.
jonasschnelli
commented at 8:42 am on November 4, 2020:
contributor
I missed the new tray icon in my tests and only focused on the actual notification.
The visible global menu icon is a NACK element to me.
Can we use the system notification without a visible global menu icon? Under the hood, they are two separated frameworks. But maybe Qt combines them as one.
jonasschnelli
commented at 8:48 am on November 4, 2020:
contributor
It uses the deprecated NSUserNotificationCenter, and in Qt community I’ve found no signs of moving from NSUserNotificationCenter to UNUserNotificationCenter.
luke-jr
commented at 6:51 pm on November 13, 2020:
member
While the menu app concept looks nice, I do think users should be able to disable it if they want, and shouldn’t lose notifications by doing so…
DrahtBot
commented at 11:46 am on December 1, 2020:
contributor
🐙 This pull request conflicts with the target branch and needs rebase.
Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a “draft”.
DrahtBot added the label
Needs rebase
on Dec 1, 2020
hebasto
commented at 8:50 pm on December 1, 2020:
member
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: 2025-10-31 17:20 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me