Created attachment 6835 Test program When Gtk 3.21.5 GtkStatusIcon runs on XFCE4 panel, the following warning is output: (a:6205): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel GtkTrayIcon 0x1a964c0. Allocation is 22x22, but minimum required size is 24x24. The warning is not shown in Fedora 24 GTK3. The allocation warning is not shown on LXDE. % gcc -o a a.c `pkg-config --cflags --libs gtk+-3.0`
Result of this gtk3 commit: https://github.com/GNOME/gtk/commit/84dfda1a2b6bd57fe1a0bbaae108e88e4219d791 Warning is now always given. You can work around the warning message by changing the "maximum icon size" property of the notification plugin to 24 (in the notification plugin properties).
I confirmed the workaround works fine. To fix this problem, the required size is to changed to 22x22 ? Or the allocation size is changed?
-- 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/xfce/xfce4-panel/-/issues/160. 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