Subscription date : 28 October 2009
Messages : 415
|
Heya,
here are some more idea:
- would it be possible to display text rather than icons? I'm thinking of proper text implementation for purposes like global menu, or more simple things, like time, user name etc.
- could the dock's stretch have the option to stop at the gnome panel's edge (in vertical mode, when it overlaps with it)?
- could there be some options on the alignment of icons on the dock: left/right/centre or free-x-position? Even better would be to be able to override the main alignment of the dock per icon or icon type so as to organise the dock better or create nice panel-docks.
- could it be possible to have to option to hide an applet icon on certain conditions (at development level / API)? For instance the power-manager applet could hide when the battery is full and the the computer on AC, the mail or other messaging icons could have the option to hide when there is nothing in the inbox. This would really improve space usage.
- could it be possible to have the animation "animation" (i don't know what else to call it) i.e. the rapid succession of a set of images? Or is it something at development level only? Is it possible to use the setIcon() method for this?
Cheers,
Benjamin |
fabounet, Thursday 21 April 2011 à 12:45
|
|
Subscription date : 30 November 2007
Messages : 17118
|
1/ applets can indeed draw text on their icon (like Clock)
2/ the dock has no interaction with the gnome-panel, so I don't see how it could avoid overlapping it. I think it's one or the other.
3/ there is an alignement option in "Position" in advanced mode, if it's what you mean
4/ it's possible to do but I don't think it's a good idea because 1) icons provide actions on click 2) the number of icons in the dock will keep changing and the space used is still the same in case all the icons are active 3) you will always wonder if the applet is running or if it's just inactive.
5/ well it's feasible in C, do you mean in the DBus API or with some C API ? |
Subscription date : 28 October 2009
Messages : 415
|
fabounet : 1/ applets can indeed draw text on their icon (like Clock) :)
Well as far as i experience it, the text display right now is not very good. Look at the digital clock and the text is stretched and changes size continuously. You can't either make the icon wide and small so as to display longer text. How do you see the current text display dealing with things like global menus?
fabounet : 2/ the dock has no interaction with the gnome-panel, so I don't see how it could avoid overlapping it. I think it's one or the other.
How about the left dock overlapping with my bottom dock? i'm annoying
fabounet : 3/ there is an alignement option in "Position" in advanced mode, if it's what you mean
You are talking about the alignment of the dock. I'm talking of alignment at icon-level: suppose i want launchers on the left of the dock, running tasks in the middle and applets on the right? Is this currently possible? Cause i can't see it.
fabounet : 4/ it's possible to do but I don't think it's a good idea because 1) icons provide actions on click 2) the number of icons in the dock will keep changing and the space used is still the same in case all the icons are active 3) you will always wonder if the applet is running or if it's just inactive.
I knew you'll say this fair enough
fabounet : 5/ well it's feasible in C, do you mean in the DBus API or with some C API ?
I'm not familiar with dbus yet, as long as it's easy to use, i like it  |
fabounet, Wednesday 27 April 2011 à 16:46
|
|
Subscription date : 30 November 2007
Messages : 17118
|
1 global menu could be achived by drawing text on wide icon; not really a problem, but it would render nicely only in the "panel" view.
about the clock, since I don't display seconds, I've never realised
2 if they overlap, well that's too bad
3 in panel mode you can easily group icons.
in other views, since they have the zoom, it's not really convenient. maybe by adding some wide icons ?
in the worst case you could make 3 docks.
5 there is a small API for icon animation, the keyboard-indicator use it to make the transition between 2 languages.
you could do it with Dbus too, but I'm afraid it will be heavy on CPU, a dedicated method would be better.
do you have a concrete use case ? |
Subscription date : 28 October 2009
Messages : 415
|
1 - the width of icons is limited to 128 and the text i tried to display (using a svg file) is cut off on the right hand side.
5 - conrete use case: network-monitor on connecting status with an animation. |
fabounet, Thursday 28 April 2011 à 17:06
|
|
Subscription date : 30 November 2007
Messages : 17118
|
the width of icons is limited to 128
for an applet, you can change the limit in the conf file (in the brackets)
5 - conrete use case: network-monitor on connecting status with an animation.
I know it will sound frustrating, but having to deal with this situation for the Pidgin applet, I simply used an animation  |
matttbe, Saturday 21 May 2011 à 23:15
|
|
Subscription date : 24 January 2009
Messages : 12573
|
fabounet : jesuisbenjamin : could the dock's stretch have the option to stop at the gnome panel's edge (in vertical mode, when it overlaps with it)? 2/ the dock has no interaction with the gnome-panel, so I don't see how it could avoid overlapping it. I think it's one or the other. The Gnome-Panel is a window where its type is "Dock", it is always above other windows and it reserves space. The last thing is maybe interresting!
fabounet : jesuisbenjamin : could it be possible to have to option to hide an applet icon on certain conditions (at development level / API)? For instance the power-manager applet could hide when the battery is full and the the computer on AC, the mail or other messaging icons could have the option to hide when there is nothing in the inbox. This would really improve space usage. 4/ it's possible to do but I don't think it's a good idea because 1) icons provide actions on click 2) the number of icons in the dock will keep changing and the space used is still the same in case all the icons are active 3) you will always wonder if the applet is running or if it's just inactive. But it's an idea or a future option  |
|