GNOME Bugzilla – Bug 144961
Panel does not detect if application started from launcher quits unexpectedly.
Last modified: 2020-11-06 20:24:18 UTC
Currently If you launch something from the panel but it exits with an error the panel doesn't tell you this. In fact, it eventually gives you a watch cursor to make you think it's still loading. An example might be a binary with bad rpath/ldconfig information. If you start it from the panel, the binary will immediately exit with an ld.so error. There is no way the application could pop up an error message, because it exits before any of the application's own code is run. We would not want the panel to wait on the exit status forever. It would just be making sure that the app didn't exit "immediately".
Sorry for the spam. Confirming some bugs. Filter on "VINCENT CONFIRMS" to ignore.
I can't think of a good way to do this. What's happening here is that we call execv() with the path to the executable in a fork. execv() succeeds even if the path/ldconfig information is not correct. So I'm not sure we're able to know that it doesn't work. See the test I'm attaching, and run it with an executable that has such a problem as parameter.
Created attachment 35397 [details] Test program
*** Bug 323715 has been marked as a duplicate of this bug. ***
Marking the bug as NEW, the panel should notify the user if an application startup is not correct (some extra keywords for next time :p)
*** Bug 335262 has been marked as a duplicate of this bug. ***
*** Bug 438070 has been marked as a duplicate of this bug. ***
*** Bug 578917 has been marked as a duplicate of this bug. ***
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.