Closed dark-penguin closed 1 year ago
Please clarify with some screenshots. Where do you click "New message"? And which (existing?) "message in question" are you talking about when you're about to write a new one?
Screenshots are a bit tricky; I'll try to explain it "properly" first.
Expected behaviour:
Actual behaviour:
Please ask for screenshots again if this did not help. :)
But I remember that at some point, the behaviour was "as expected" a few times - no idea why.
Hmm, on Linux there are two different notifications, the TB/BB notification and the system notification. I assume you're talking about the TB/BB notification which is displayed with clickable links rising from the system tray.
So the complaint is that clicking the link should also restore the window since otherwise you end up in a mess. I'll try what happens on Windows. (Would have been good it you had summarised the issue correctly in the title.)
I believe what I am getting is a system notification. Because it's provided by ayatana, and configurable via mate-notification-properties
. There is no link, just... I can get a screenshot of it, here:
Whether you have system notifications can be set in the settings:
Native on Xfce:
TB/BB style containing links:
Anyway, both have the problem.
I'll try what happens on Windows.
OK, on Windows, the "hidden" (minimised to tray) window is restored when the notification is clicked. We'll check how that's done and port it to Linux.
Activation of the window was mostly not implemented, apologies for this oversight 😞. It's now implemented and will likely also change the activation behaviour on Gnome and KDE if the window wasn't minimised. @felixoi @Zahrun could you please give this a whirl: https://www.betterbird.eu/downloads/115-Preview/betterbird-115.2.0-bb10-refresh-resize-native-activate.en-US.linux-x86_64.tar.bz2
Of course it also fixes the ticket here, so when BB is minimised and your click onto a new mail notification, either system or BB style, the window is now restored (as well as always, pending the complaints in Issue #202).
Sadly this is not working for GNOME. I only see a "Betterbird is ready" notification and the window is not getting in front.
Also I encountered an issue where mail.biff.show_tray_icon_always=true
but that's only the case after it's minimized for the first time. The tray icon is not added on startup. Seems to be unrelated to this issue tho.
Tested this myself now: On KDE the window is brought to the foreground. On Gnome that also happens on the first double-click, the next one shows a panel "Betterbird is ready" or some such. Also tested clicking on new mail notification while the window was minimised and it's restored as it should.
Sadly this is not working for GNOME. I only see a "Betterbird is ready" notification and the window is not getting in front.
Hmm, for me it works once.
I don't understand the second issue. I was running with mail.biff.show_tray_icon_always=true
and the icon is there when BB starts. Or am I misunderstanding?
Clicking the popup now restores the window from tray (on MATE)! But usually either behind other windows, or if the last clicked "window" was the desktop, then in front but "unfocused".
The tray icon is not added on startup
This, however, I've never encountered yet.
Clicking the popup now restores the window from tray (on MATE)! But usually either behind other windows, or if the last clicked "window" was the desktop, then in front but "unfocused".
Issue #202.
The tray icon is not added on startup
This, however, I've never encountered yet.
@felixoi, this needs clarification: "that's only the case after it's minimized for the first time" doesn't seem to go well with "The tray icon is not added on startup".
Here is a screencast. As you can see I'm starting betterbird in the command line and there is no tray icon even if mail.biff.show_tray_icon_always=true
is enabled. The icon is added the first time im minimizing Betterbird and after that always shown as configured. I'd expect it's added at startup already, but this may be intended.
Thanks for the video. You only know what mix of software you're using there. There seems to be a "task bar" like on Windows, which we don't have, and the indicators all live on the bottom right. You mentioned a combination of the "AppIndicator and KStatusNotifierItem Support" extension with https://extensions.gnome.org/extension/1160/dash-to-panel/ (see https://github.com/Betterbird/thunderbird-patches/issues/111#issuecomment-1694713263). We're not using the latter.
We see this on start after setting the pref to true in a prior session:
We'll rest our case for a while. Some casual reading revealed that this not only depends on the desktop but also the window manager, so there are two moving parts which make it hard to win.
I'm using the combination you mentioned. It's alright for me, not a huge bug. I just left it here because I observed it while testing the other things.
Sometimes clicking the "New message" popup would restore Betterbird and focus the message in question. And sometimes it does focus the message, but does not restore the window. So far, I couldn't find any pattern to this, but it's "not working" more often than it's "working".
It is supposed to restore every time, isn't it? I suppose there's some complexity around restoring the window?