! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Possible fix for notification shadows with X11
Status:
RESOLVED: MOVED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Nikita Zlobin 2020-05-04 17:39:07 CEST
I noticed, that XShape, despite being primitive alpha channel replacement, really affects default shadows, produced by compton. However, in gentoo xfce4-notifyd doesn't even depend on any x11 stuff, so I'm not sure is special x11 support would be ok. I just completed PR for Dunst, which already used xshape, being not rgba-enabled, but it directly uses x11/cairo combo without toolkits like gtk.
I noticed at least some mentions or X11 (among flags/libs in build system files like Makefile.am).
It would be some chance to have good shadows with rounded notifications in x11 (no idea, what is in wayland, since never tried it).
Comment 1 Simon Steinbeiss editbugs 2020-05-04 20:37:53 CEST
Frankly, I'm not very interested in further improving the look without compositing.

If you want to provide a patch and maintain that part of the code feel free to submit a merge request on gitlab.
Comment 2 Nikita Zlobin 2020-05-05 20:48:30 CEST
Well, I'm not sure if I will continue it either). I could not even get border geometry/radius values from GtkStyleProvider. Best I could get for dunst: https://user-images.githubusercontent.com/3896190/81013253-439dff80-8e74-11ea-9569-fd80f7bb3a5a.png (unlike uncomposited black artifacts, there are now white artifacts, with black shadow and white windows behind. Strange, that xfwm4 overlay borders, appearing on Alt+Tab, have full-window shadow, just inside of frame ))).
Theoretically could be used as option with themes not providing own themes, if I could get necessary border info :/ . Such an interesting challenge, after first coding attempt with xlib.
Comment 3 Git Bot editbugs 2020-05-24 20:08:31 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/30.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16800

Reported by:
Nikita Zlobin
Reported on: 2020-05-04
Last modified on: 2020-05-24

People

Assignee:
Simon Steinbeiss
CC List:
0 users

Version

Attachments

Additional information