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 512232 - printplaying doesnt work
printplaying doesnt work
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
2.20.x
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-01-26 13:56 UTC by fantomen
Modified: 2009-04-01 21:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
libbacon-message-connection-debug.patch (1.42 KB, patch)
2008-01-28 15:14 UTC, Bastien Nocera
none Details | Review

Description fantomen 2008-01-26 13:56:08 UTC
Please describe the problem:
When I play a video file in Totem and open up a terminal to type 'totem --printplaying' the terminal just locks and does nothing and i have to press CTRL+C to kill it.

Steps to reproduce:
1. Play any video file in Totem
2. Open up a terminal and type 'totem --printplaying'


Actual results:
The terminal locks and does nothing, which probably isn't what's intended.

Expected results:
Nothing really, which is exactly the problem.

Does this happen every time?
Yes

Other information:
Comment 1 Bastien Nocera 2008-01-28 14:51:57 UTC
Regression from 2 years ago caused by that patch:
http://svn.gnome.org/viewvc/libbacon/trunk/src/bacon-message-connection.c?r1=95&r2=96
Comment 2 Bastien Nocera 2008-01-28 15:12:13 UTC
Looks like the channel used in bacon_message_connection_send() is not the same that was used to receive the message in server_cb().

If Marco has any ideas. I tried fixing it, but could get anywhere.
Comment 3 Bastien Nocera 2008-01-28 15:14:33 UTC
Created attachment 103889 [details] [review]
libbacon-message-connection-debug.patch

Patch to test the functionality (similar to what Totem does).

run ./testmsg in one terminal,
run ./testmsg SAY in another one.

It should print "Any reply" on the client side. Does when reverting Marco's patch.
Maybe it's time to switch to D-Bus...
Comment 4 Bastien Nocera 2009-04-01 21:19:59 UTC
See also bug 576016

2009-04-01  Bastien Nocera  <hadess@hadess.net>

        * src/totem-options.c (totem_options_process_for_server):
        * src/totem-options.h: Remove --print-playing, we
        have a D-Bus plugin to export that data now (Closes: #512232)