GNOME Bugzilla – Bug 573577
media insertion handler runs even if user switching has put another account in the foreground
Last modified: 2009-03-08 11:02:13 UTC
Please describe the problem: The computer has three or four people logged in. We've used user switching to change between them. When media is inserted, all four instances of nautilus try to play it at once. Inserting a dvd, for example, and four media players are suddenly all playing it. A workaround is for everyone to disable media handling entirely. Steps to reproduce: 1. start up several user sessions 2. insert dvd 3. multiple players are running Actual results: each account has a media player trying to run the same dvd Expected results: only the nautilus running for the foreground user should do media handling Does this happen every time? yes Other information:
CC-ing Davidz, as he wrote the autorun code.
I fixed this in trunk. 2009-03-03 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-application.c (nautilus_application_finalize), (ck_session_active_changed_cb), (ck_call_is_active_cb), (ck_get_current_session), (do_initialize_consolekit), (ck_get_current_session_cb), (finish_startup), (mount_added_callback): * src/nautilus-application.h: use ConsoleKit to find out whether we are on the currently active session. If we don't, inhibit autorun dialogs (#573577).
*** Bug 545184 has been marked as a duplicate of this bug. ***