fabounet, Tuesday 12 October 2010 à 16:33
|
|
Subscription date : 30 November 2007
Messages : 17118
|
indeed, what's the name of the chrome's icon ?
I might add a new method then, to provide a default icon. |
inspirra, Saturday 23 October 2010 à 06:19
|
|
Subscription date : 17 September 2010
Messages : 23
|
inspirra : fabounet :
you don't need to refresh the icon (it *should* be automatic)
as for the labels, maybe they are not completely refreshed, I might fix it if necessary
Yes, it needs to be fixed, if possible.
Because, if "SetIcon" and "SetLabel" changes, they will change only if there will be mouse movement over the icon, or at the next scroll. Therefore, the shown label and the icon displays the previous value.
I updated the "cairo-dock" to version "2.2.1~0alpha0". And discovered that the icon is redrawn immediately after the change "SetIcon", but the label still does not change after "SetLabel" changes.
I would be grateful if you implement updated label immediately after the change "SetLabel". |
matttbe, Sunday 24 October 2010 à 02:04
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Thank you for this bug report!
BTW, nice applet I'm waiting for the next beta version in order to add it on our 'cairo-dock-plug-ins-extras' branch |
inspirra, Tuesday 23 November 2010 à 00:57
|
|
Subscription date : 17 September 2010
Messages : 23
|
I am still working on the applet, but ran into some problems.
http://www.youtube.com/watch?v=J1pefhgJL4M
Bugs:
1. SetLabel updates only when the mouse hovers over the Label;
2. Sub-dock shifts when "AddSubIcons" creates. The shift depends on the length of the "name";
3. The event "on_click" doesn't work if "sub-Dock" exists, even if all elements are removed from sub-dock;
I need help:
1. I need a simple code that would detect the appearance of the new PulseAudio clients (the code should be integrated into "demo_python", so it would connect to the PA server and generate events when a client is connected);
2. How to change the renderer for the Sub-dock, which changes through the .config file?
3. I need a simple code for "demo_python", which would generate event when "_NET_ACTIVE_WINDOW" get change.
Propositions:
1. To make the animation for "AddSubIcons / RemoveSubIcon" like in the taskbar.
2. To make the possibility of tracing events from opening and closing Sub-dock (temporary solution of tracing of the sub-dock hiding: wmctrl-l | grep-q cairo-dock-sub);
3. To create the events generation when "_NET_ACTIVE_WINDOW" get change. |
inspirra, Tuesday 23 November 2010 à 13:23
|
|
fabounet, Tuesday 23 November 2010 à 14:37
|
|
Subscription date : 30 November 2007
Messages : 17118
|
ok for bug 1, I'll look into this.
To make the possibility of tracing events from opening and closing Sub-dock
I don't really see the purpose of this.
To create the events generation when "_NET_ACTIVE_WINDOW" get change.
again, not sure why this would be useful.
I'd rather not generate too many messages on the bus, I don't know how many it can handle. But you can also use other libs, like libwnck which has a python binding.
How to change the renderer for the Sub-dock, which changes through the .config file?
the sub-dock's view is the one defined in the global config, you can't overwrite it from Dbus right now.
To make the animation for "AddSubIcons / RemoveSubIcon" like in the taskbar.
ok why not.
The event "on_click" doesn't work if "sub-Dock" exists, even if all elements are removed from sub-dock;
yes because you can open sub-docks on click.
so in your case, consider using middle-click or double-click + an entry in the menu. |
|