! 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 !
xfce4-notifyd uses the open button for the default action
Status:
RESOLVED: FIXED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Ralf Teres 2014-09-29 16:46:30 CEST
Created attachment 5673 
compile with gcc $(pkg-config --cflags --libs gio-2.0) test.c

Steps to reproduce:

1. Comile the attached test.c with gcc $(pkg-config --cflags --libs gio-2.0) test.c

2. Run the executable

It produces a button notification as shown in the attached screenshot which does not make sense.

Further reference:

https://github.com/baedert/corebird/issues/248
Comment 1 Ralf Teres 2014-09-29 16:46:52 CEST
Created attachment 5674 
screenshot
Comment 2 Simon Steinbeiss editbugs 2016-07-12 22:15:33 CEST
Hi, sorry you haven't heard anything back on your bug report for so long, but the maintainer of notifyd went MIA and I'm only now trying to clean up bugzilla a bit.

Thanks for the reproducer, I can in fact reproduce the bug. I still have to look into what notifyd really does there and how to fix it, but this is just to say your problem is not forgotten!
Comment 3 Simon Steinbeiss editbugs 2016-09-17 05:55:45 CEST
I think I understand the problem a bit better now. Currently the "default" action as part of clicking the window isn't implemented in notifyd, instead the notification bubble is closed on click.
Those default buttons usually (or at least often, as far as I can tell now) don't provide a label and consequently show up as empty buttons. This was not really checked against in notifyd and I have added a patch which does that now and it should also fix your problem with Corebird.

https://git.xfce.org/apps/xfce4-notifyd/commit/?id=b59320b7c37ce44399b6d2fcc0672805b27e9a24

I'm marking this as fixed for now, please feel free to reopen if you can still reproduce.

Bug #11206

Reported by:
Ralf Teres
Reported on: 2014-09-29
Last modified on: 2016-09-17

People

Assignee:
Jérôme Guelfucci
CC List:
1 user

Version

Version:
unspecified

Attachments

compile with gcc $(pkg-config --cflags --libs gio-2.0) test.c (953 bytes, text/x-csrc)
2014-09-29 16:46 CEST , Ralf Teres
no flags
screenshot (4.38 KB, image/jpeg)
2014-09-29 16:46 CEST , Ralf Teres
no flags

Additional information