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 650984 - Totem interferes with other applications every 30 secs when listening to music
Totem interferes with other applications every 30 secs when listening to music
Status: RESOLVED DUPLICATE of bug 654250
Product: totem
Classification: Core
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-05-24 16:53 UTC by Sandro Mani
Modified: 2011-09-12 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dbus_debug output (34.40 KB, text/plain)
2011-05-29 11:42 UTC, Sandro Mani
Details

Description Sandro Mani 2011-05-24 16:53:38 UTC
Steps to reproduce:
- Play something with totem
- Keep a firefox menu open
- It will, within 30 seconds, close automatically. Note the time it occurred.
- At regular 30 sec intervals from the noted time, any firefox menu which is open at that time will close itself.

Applications affected:
- All XUL applications
- Some Qt applications also behave strangely (i.e. in Mathematica, the input area looses focus, and the File menu head is selected)
- The Gnome-Shell alt-tab switcher

Other information:
dbus-monitor does not show any events happening at these instances.
Grepping the totem sourcecode for anything related to 30secs, the only thing I found was 
totem-resources.c:#define DEFAULT_SLEEP_TIME (30 * G_USEC_PER_SEC) /* 30 seconds */
and nothing depending on that value seems to be capable of affecting other applications.

Version:
totem-3.0.1-2.fc15.x86_64
Comment 1 Bastien Nocera 2011-05-25 11:04:29 UTC
(In reply to comment #0)
> Steps to reproduce:
> - Play something with totem
> - Keep a firefox menu open
> - It will, within 30 seconds, close automatically. Note the time it occurred.
> - At regular 30 sec intervals from the noted time, any firefox menu which is
> open at that time will close itself.
> 
> Applications affected:
> - All XUL applications
> - Some Qt applications also behave strangely (i.e. in Mathematica, the input
> area looses focus, and the File menu head is selected)
> - The Gnome-Shell alt-tab switcher
> 
> Other information:
> dbus-monitor does not show any events happening at these instances.
> Grepping the totem sourcecode for anything related to 30secs, the only thing I
> found was 
> totem-resources.c:#define DEFAULT_SLEEP_TIME (30 * G_USEC_PER_SEC) /* 30
> seconds */

And you're wrong :)

The code lives in http://git.gnome.org/browse/totem/tree/lib/totem-scrsaver.c

> and nothing depending on that value seems to be capable of affecting other
> applications.
> 
> Version:
> totem-3.0.1-2.fc15.x86_64

This code has been there for (at least) 4 years. If you use a GNOME session, and gnome-screensaver, the D-Bus interface will be used, and no key events will be generated.

Otherwise, well, we do our best, but it has side-effects, as you've been able to see for yourself.
Comment 2 Sandro Mani 2011-05-25 11:12:57 UTC
Uhm, I'm using the regular gnome 3 install on fedora 15, but I don't see dbus being used?
Comment 3 Bastien Nocera 2011-05-26 13:33:03 UTC
Fair enough. Please attach the output of:
G_DBUS_DEBUG=message totem
while reproducing the problem
Comment 4 Sandro Mani 2011-05-26 14:09:41 UTC
My system is playing games with me... Was able to constantly reproduce the problem for an entire week since I first noticed, but now, surprise surprise, it works >.<
Will report back if I encounter the issue again, in the meantime thanks and sorry for the noise.
Comment 5 Sandro Mani 2011-05-29 11:42:23 UTC
Created attachment 188842 [details]
dbus_debug output
Comment 6 Sandro Mani 2011-05-29 11:42:58 UTC
Happened again, output attached.
Comment 7 André Klapper 2011-05-31 23:28:37 UTC
Totally valid bug report, see https://bugzilla.redhat.com/show_bug.cgi?id=571179
Comment 8 Bastien Nocera 2011-09-12 16:55:36 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 654250 ***