Guest, Wednesday 19 September 2012 à 13:02
|
|
|
Hi!
I've just installed the GTG plug-in, which seems to be great, but clicking on the plug-in-symbol there is nothing but an error message: "couldn't connect to gtg:(". I've tried both gtg 0.2.9 and 0.3-development --- it's just the same. What could I try else?
(System: Ubuntu Oneirc 64bit, Unity; Cairo-Dock 3.0.2 No OpenGL)
Many thanks in advance! |
fabounet, Wednesday 19 September 2012 à 17:45
|
|
Subscription date : 30 November 2007
Messages : 17118
|
does GTG have a Dbus plug-in ? if so, it needs to be activated.
or maybe they changed their interface |
Guest, Wednesday 19 September 2012 à 19:29
|
|
|
i've tested the command-line tool gtcli that communicates with GTG through DBus
and it works perfectly. so it seems there isn't any extra plugin needed. |
matttbe, Saturday 22 September 2012 à 13:03
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello and thank you for this bug report!
According to ploum (one of the two GTG creators), the DBus API has changed with this 0.2.9 version (mainly to follow CamelCase recommendations). So it seems this GTG applet needs to be updated but now, the DBus API in the trunk should be stable...
Is someone want to have a look to this GTG applet coded in Python? |
ppmt, Thursday 04 October 2012 à 17:53
|
|
Subscription date : 29 November 2007
Messages : 3520
|
what my applet is broken
I would like to look into it but I am not sure when it will happen!
I am already short on time in general but for the next 2 weeks I am missing at least 2 or 3 hours in my 26 hours day! |
llaen, Tuesday 20 November 2012 à 02:36
|
|
Subscription date : 29 October 2012
Messages : 7
|
Here's a partial patch.
Still to fix (from what I can tell - I've never used the plugin in its working state):
- Right click should list all active tasks (for whatever reason GetTasks() on line 460 doesn't return anything)
- if you close gtg and then click on the addon, it gets confused and throws an error message - I think it loses the handle on the process instead of relaunching it or something
http://pastebin.com/yTPYh6k2 |
fabounet, Tuesday 20 November 2012 à 17:57
|
|
Subscription date : 30 November 2007
Messages : 17118
|
That's kind, thank you !
apparently that's a know bug (GetTasks); it seems you can workaround it by using GetTasksFiltered instead (maybe you can do this only if GetTasks doesn't return anything) |
matttbe, Tuesday 20 November 2012 à 22:57
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Should we support both versions? (the new one or the old one?) If yes, how to correctly check if a .service file is available or not? (or maybe should we read the output of gtg -v?) |
matttbe, Wednesday 21 November 2012 à 02:42
|
|
llaen, Wednesday 21 November 2012 à 18:13
|
|
Subscription date : 29 October 2012
Messages : 7
|
matttbe, thanks for checking for the version - I had gone the lazy route :).
Installed 0.2.4 from the ubuntu 12.04 repo and it seems to work except clicking on the icon minimizes it only. The second click doesn't raise the window.
Inserting some debug statements it seems like it still thinks it has focus when it doesn't. |
matttbe, Thursday 22 November 2012 à 02:09
|
|
Guest, Thursday 22 November 2012 à 02:15
|
|
|
matttbe : Thank you for this test
Installed 0.2.4 from the ubuntu 12.04 repo and it seems to work except clicking on the icon minimizes it only. The second click doesn't raise the window. Did you have this bug before?
I think this applet need to be ported to the new interface (CDApplet) :)
I *thought* I had that working before...
I don't know anymore! |
fabounet, Thursday 22 November 2012 à 16:42
|
|
Subscription date : 30 November 2007
Messages : 17118
|
The second click doesn't raise the window
is the window minimized or closed and gone in the systray ?
does it work fine with the 0.3 ?
using myApplet.icon.ShowAppli might be an acceptable workaround
I think this applet need to be ported to the new interface (CDApplet)
arg, an old-style applet ! |
matttbe, Friday 23 November 2012 à 01:48
|
|
Subscription date : 24 January 2009
Messages : 12573
|
(Message added on the task #305)
This applet is now ported to CDApplet |
fabounet, Monday 26 November 2012 à 17:01
|
|
Subscription date : 30 November 2007
Messages : 17118
|
thanks ! |
matttbe, Tuesday 27 November 2012 à 01:28
|
|
|