-
-
Notifications
You must be signed in to change notification settings - Fork 76
GNOME 48 notification grouping support (unexpected behaviour) #366
Description
Description
What is the bug?
Due to the current implementation of notifications sent when copying something, GNOME notification grouping doesn't work.
Problem Explanation
The lack of notification grouping support makes the process of dismissing the Pano notifications tedious, when Do Not Disturb mode is on.
From what I can see, this stems from the fact that in the current implementation in the ui.ts file, a new MessageTraySource is created every single time the notify function is called. To make use of GNOME 48's notification grouping, one would need to create a single MessageTraySource instance when the extension is enabled, and reuse it.
Expected Behavior
- Pano notifications should be grouped in one expandable group that allows you to dismiss all notifications at once, they shouldn't be separate
Reprodution
How one can find the bug?
Steps To Reproduce
- In GNOME 48, enable Do Not Disturb
- Copy a few pieces of text
- Open the notification tray and see how the Pano notifications aren't grouped
Details
Mark with [ ] all that applies:
It happens with any application?
- Yes, it applies to any application.
- No. Only with the following applications:
- VSCode
- It works with the following applications that I have tried:
- Fill in a list with any application that applies
It happens only on one computer?
- I don't know.
- No. I have tried it on more than one computer.
It happens only with some specific gnome configuration?
- I don't think that the configuration matters.
- Yes. Only if the following config is set up:
- Fill in a list with any configuration tha applies.
It happens only with some specific extension installed?
- I don't think that the installed extensions affect the bug/behavior.
- Yes. Only if the following gnome extension is installed:
- Fill in a list with any extension tha applies.
- Fill in also any detail about the extensions that applies.
Diagnostics
Under what conditions does it happen?
Fill in all information that applies:
Environment
- GNOME Shell version: 48
- Distro: Ubuntu
- Distro version: 25.04
Screenshots
If applicable, add screenshots to help explain your problem:
Application Details
What is pasted, if applicable
...
Application Version
Version: 1003 (v23alpha5)
Output and Logs
Gnome
Command: journalctl --since=now --follow /usr/bin/gnome-shell
$ journalctl --since=now --follow /usr/bin/gnome-shell
...Pano Configuration
Command: dconf dump /org/gnome/shell/extensions/pano/
$ dconf dump /org/gnome/shell/extensions/pano/
...[/]
global-shortcut=['v']
history-length=15
icon-pack=uint32 1
is-in-incognito=false
Enabled Extensions
Command: dconf read /org/gnome/shell/enabled-extensions | tr ' ' '\n'
$ dconf read /org/gnome/shell/enabled-extensions | tr ' ' '\n'
...