After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671916 - Nautilus doesn't send startup completion event
Nautilus doesn't send startup completion event
Status: RESOLVED DUPLICATE of bug 660577
Product: nautilus
Classification: Core
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-12 15:42 UTC by Pawel Stolowski
Modified: 2012-03-12 19:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pawel Stolowski 2012-03-12 15:42:45 UTC
There seems to be a problem with startup notifications in nautilus in that it doesn't notify about startup completion.

I've enabled debugging in Metacity by setting METACITY_VERBOSE=1 and METACITY_USE_LOGFILE=1 environment variables. Metacity reports nautilus startup events as follows:

STARTUP: Received startup initiated for unity-2d-shell-3355-pawel-VirtualBox-nautilus-0_TIME474198 wmclass (unset)
...
STARTUP: Sequence used 6174.63 seconds vs. 15000 max: unity-2d-shell-3355-pawel-VirtualBox-nautilus-2_TIME483035
STARTUP: Sequence used 15011.9 seconds vs. 15000 max: unity-2d-shell-3355-pawel-VirtualBox-nautilus-0_TIME474198
STARTUP: Timed out sequence unity-2d-shell-3355-pawel-VirtualBox-nautilus-0_TIME474198
STARTUP: Received startup completed for unity-2d-shell-3355-pawel-VirtualBox-nautilus-0_TIME474198

Take note of the timeout. The 'Received startup completed..' following it is just fallback code in metacity, as startup complection event is actually never reported by nautilus.

Just for reference, here is how it looks for firefox:

STARTUP: Received startup initiated for unity-2d-shell-3355-pawel-VirtualBox-firefox-1_TIME476779 wmclass (unset)
STARTUP: Adding sequence unity-2d-shell-3355-pawel-VirtualBox-firefox-1_TIME476779
STARTUP: Sequence used 421.761 seconds vs. 15000 max: unity-2d-shell-3355-pawel-VirtualBox-firefox-1_TIME476779
STARTUP: Received startup completed for unity-2d-shell-3355-pawel-VirtualBox-firefox-1_TIME476779

I've also traced xevents with 'xev -root'. When nautilus is started it send _NET_STARTUP_INFO_BEGIN event, followed by a number of _NET_STARTUP_INFO events. This is different than startup notifications for other applications - if you compare it with xevents sent by e.g. firefox or gnome-terminal, they send _NET_STARTUP_INFO_BEGIN + a number of _NET_STARTUP_INFO events, and then _NET_STARTUP_INFO_BEGIN and _NET_STARTUP_INFO events are sent again. I'm however not sure if this means anything for this issue.
Comment 1 Cosimo Cecchi 2012-03-12 19:37:40 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 660577 ***