-
Notifications
You must be signed in to change notification settings - Fork 748
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
add grouped window list notification count functionality #12561
base: master
Are you sure you want to change the base?
Conversation
Seems to work ok. |
Yes. Unfortunately, Cinnamon Desktop Environment lack this features natively like others Desktop Environment. Another Desktop Environment such as Xfce, GNOME, KDE Plasma and so on already implemented this features long time ago. |
@romario-07 Hmm, I think you should add another option, like add Windows & Notifications grouped window list options (It's very useful when open multiple window e.g. Nemo File Manager and you have unread messages (WhatsApp, Telegram, Thunderbird and so on) at the same time), and turned on by default after installing the Linux Mint at these settings. |
For showing both notification and window counts, I was thinking to do it the following way:
I did explain it a bit more in this comment: #10124 (comment) I didn't make it part of this pr (the second part of the feature) because it was a bit challenging how to position correctly the dividers (based on left, right, top, bottom panel position) and to make sure it's working fine on different screen resolutions, different icon sizes, font size, screen scaling etc On my personal day to day machine, I use the version from the image above (with the bottom blue line divided to hint if there are multiple windows open), but I can confirm works just for my specific machine settings. |
Ah, nice idea. It's reminding behavior from Windows 10 and later. And it's up to you when you should decide want to make PR (Pull Request) now or later. |
There's an issue: if you change the current desktop theme while a notification badge is showing, it disappears. Also, I don't think that this should be merged in its current form as asking users to choose between window count or notification badges is going to be unwanted choice for many people because they'd rather have both. |
What if the windows are ungrouped? |
@Secret-chest You mean if you have multiple instances of an app that has notifications? All instances get the same notification indicator and focusing any of the app's instances removes the notification for all instances. Even the notifications applet doesn't distinguish between different instances of an app and think this would be difficult to change as they would all have the same app id. |
@romario-07 This is what I've come up with: master...fredcw:cinnamon:gwlnotifications Do you want to create a new PR for this or shall I do it? Although, we may already too late for the 22.1 merge window. |
You can do it. The reason why I didn't add an extra badge on the right is because it was debated here #10124 about what happens when the icons are small (#10124 (comment)) and there is not enough place to put both. Also people said that it's not a good UI/UX to have two badges. Other distros/OSes, will mainly use a bottom ui element to indicate there is a window open (like the blue bottom line in Cinnamon) and there should be a non intrusive way of indicating there are multiple windows open (some are adding dots under the icon to indicate if there are multiple window opened, some are adding a stack effect using shadows). For me, knowing that I have multiple app windows open is relevant, but how many, is not that important. Switching from Windows 11 to Cinnamon, this version (from the image below) makes me happy and I don't miss any information (bottom line is divided in two if there are two windows, or divided in 3 if 2+ windows): But the version from the image above is not production ready, and it works just for my specific system settings. My plan was to have this feature broken in two:
|
@romario-07 i have few guidelines:
|
@romario-07 How does the broken indicator line work with themes that don't have this line (e.g. Mint-X)? Do you override the theme? @Reno-Sifana The problem is that we need something that's going to work with all themes. |
Ok. Noted. |
This feature allows users to see a notification badge on the grouped window list applet:
This is how settings combobox looks:
And this indicates that I have a notification (because in settings I have "Show count numbers" = "Notification"):
Once I select "Show count numbers" = "Window" in settings combobox, it behaves as previous implementation, showing window count: