memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

系统托盘图标的右键菜单不能正常使用 #254

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
请列出导致问题的操作
1.在系统托盘图标上点右键菜单,菜单里的图标不能正常显示
,且菜单项不能正常工作,点击任何一个菜单项程序都不作��
�何反应

What's the output in terminal (run with command `osd-lyrics -d debug')?
请给出在终端下运行的输出(使用“osd-lyrics -d
debug”来运行)

...
trying MPD
Error in connection() 111 - 拒绝连接
Error in connection() 111 - 拒绝连接
*Debug*: in function ol_player_mpd_ensure_connection: ol_player_mpd.c[168]
  connect result: -10
*Debug*: in function ol_player_get_active_player: ol_player.c[133]
controller count:13
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Banshee
*Debug*: in function ol_player_banshee_init_dbus: ol_player_banshee.c[192]
get proxy failed: Could not get owner of name 'org.bansheeproject.Banshee': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Exaile 0.2
*Debug*: in function ol_player_exaile02_init_dbus: ol_player_exaile02.c[246]
get proxy failed: Could not get owner of name 'org.exaile.DBusInterface': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Exaile 0.3
*Debug*: in function ol_player_exaile03_init_dbus: ol_player_exaile03.c[314]
get proxy failed: Could not get owner of name 'org.exaile.Exaile': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Listen Music Player
*Debug*: in function ol_player_listen_init_dbus: ol_player_listen.c[264]
get proxy failed: Could not get owner of name 'org.gnome.Listen': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Gmusicbrowser
*Debug*: in function ol_player_gmusicbrowser_init_dbus: 
ol_player_gmusicbrowser.c[279]
get proxy failed: Could not get owner of name 'org.gmusicbrowser': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying MPRIS
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying MPRIS2
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying MOC
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Quod Libet
*Debug*: in function internal_ensure_dbus: ol_player_quodlibet.c[257]
get proxy failed: Could not get owner of name 'net.sacredchao.QuodLibet': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Juk
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Muine
*Debug*: in function ol_dbus_connect: ol_utils_dbus.c[389]
get proxy failed: Could not get owner of name 'org.gnome.Muine': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying XMMS2
*Debug*: in function ol_player_xmms2_ensure_connection: ol_player_xmms2.c[279]
Ensure connection failed!
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying MPD
Error in connection() 111 - 拒绝连接
Error in connection() 111 - 拒绝连接
...

(注:产生的调试信息实在太多,这只是其中一小部分)

What's the player and which version you are using?
您使用的播放器是什么?它的版本号是多少?
clementine 0.7.1

What's version of OSD Lyrics?
OSD Lyrics的版本是多少?
0.4.1

What's your Linux distro?
您使用哪种发行版?
Kubuntu 10.04 Lucid

Original issue reported on code.google.com by caolong....@gmail.com on 29 Dec 2011 at 7:35

GoogleCodeExporter commented 8 years ago
可以把调试信息存为文件上传么,这些信息不够

Original comment by tigerso...@gmail.com on 30 Dec 2011 at 6:50

GoogleCodeExporter commented 8 years ago
另外需要一个信息
请运行clementine后,运行
qdbus org.mpris.clementine
将结果附上来看看

Original comment by tigerso...@gmail.com on 30 Dec 2011 at 6:59

GoogleCodeExporter commented 8 years ago
感谢 tigerso... 的回复,相关文件在附件里。我在 Konsole 
里运行了以下两个命令,并播放了一首 Lady Gaga 的 Poker 
Face,尚未播放完时,先关闭了 osdlyrics,后关闭的 clementine。

$ osdlyrics -d debug 1> stdout 2> stderr &
$ qdbus org.mpris.clementine 

另外,附件中还有两张屏幕截图(数码相机照的,因为弹出��
�键菜单的时候,kde 
默认截屏工具无法截图),分别显示了系统托盘图标的右键��
�单不正常,以及桌面歌词的右键菜单是正常的。

Original comment by caolong....@gmail.com on 30 Dec 2011 at 3:56

Attachments:

GoogleCodeExporter commented 8 years ago
我现在怀疑问题出在ubuntu上,具体来说是ubuntu的appindicator在KD
E下的实现有问题,因为两个菜单其实是同一个菜单,唯一的�
��别就在于系统托盘用的是appindicator显示的。如果我没猜错,
在GNOME下运行是正常的吧?

Original comment by tigerso...@gmail.com on 6 Jan 2012 at 8:20