Comment 8 for bug 307103

Revision history for this message
In , Victor (victor-redhat-bugs) wrote :

The release 9 has been committed into CVS repo.
Successful koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=895756

Changes:
- The DESKTOP_STARTUP_ID environment variable is unset in the IDE launcher.

Details about the issue:

To start the Firefox browser the following command is used by the NetBeans:
/usr/bin/firefox -remote "openURL({URL})"
where {URL} is a URL of the Web resource that need to be open.
Such command involves the remote control feature of the browser( http://www.mozilla.org/unix/remote.html ) that is based on the X Window System protocols.

The NetBeans installed on the Fedora can be started via a click on the menu item provided by a desktop environment (e.g. GNOME). In this case, the X Window System protocols are also used to provide communication with the netbeans process that is a launchee process from viewpoint of the desktop environment.

According to the Startup Notification Protocol Specification ( http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt ) the desktop environment will use the DESKTOP_STARTUP_ID environment variable to communicate the startup sequence information.

Also, the specification says:
"It is suggested to unset this environment variable in the launchee
as soon as it's read, to avoid possible reuse by some process started
later by launchee."

The previous release didn't take into account this suggestion, and the DESKTOP_STARTUP_ID environment variable with an inapplicable value was to pass to all processes started later by the NetBeans, including the Firefox browser. Now, it is fixed.