-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking on a "new mail" notification (link or native "Activate") does not restore the window which was minimized to tray, but does focus the message. Causes confusion since message is marked as read. #200
Comments
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.) |
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: 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 |
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.
Hmm, for me it works once. I don't understand the second issue. I was running with |
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".
This, however, I've never encountered yet. |
Issue #202.
@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". |
Peek.2023-09-10.17-34.mp4Here is a screencast. As you can see I'm starting betterbird in the command line and there is no tray icon even if |
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 #111 (comment)). 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?
The text was updated successfully, but these errors were encountered: