Skip to content
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

Handle GTK4 notification bubbles #1427

Closed
wants to merge 1 commit into from
Closed

Conversation

treppenwitz03
Copy link

Goes with : elementary/notifications#157

It handles GTK4 notification bubbles by anticipating the unique window title set on the notification bubbles "io.elementary.notifications". The window title is hidden, it just acts more of an identifier. This is done because we can't set the type hint of Windows in GTK4, resulting in the window manager treating notification bubbles as normal windows.

@treppenwitz03 treppenwitz03 marked this pull request as draft May 22, 2022 10:47
@danirabbit
Copy link
Member

Hm @tintou do you know if there’s a better way to identify these windows if we can’t set type? Or if we can still set type somehow?

@tintou
Copy link
Member

tintou commented May 23, 2022

We need a custom protocol on Wayland, for X11 it's not possible anymore in GTK4 (without custom code poking the X.Window directly which we don't want to invest on)

@tintou
Copy link
Member

tintou commented May 23, 2022

Basically the way to go is to test if https://gitlab.gnome.org/GNOME/vala/-/merge_requests/246 is working and use it

@treppenwitz03
Copy link
Author

Closing as non-practical way of solving the problem

@treppenwitz03 treppenwitz03 deleted the gtk4_notifications branch July 31, 2022 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants