Needs a Cairo-Dock applet

Bug #677418 reported by Fabounet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cardapio
New
Undecided
Unassigned

Bug Description

Like for GnoMenu, a Cairo-Dock applet would be great.

Adding the position of the menu to the dbus interface would also be a great improvment.

Revision history for this message
Paweł Bara (keirangtp) wrote :

We probably could expose such a method and use it in a new cardapio startup mode (something like "cardapio show-near x y"). Nevertheless, I think we shouldn't.

We're almost done with native Docky support which calculates the correct position of Cardapio on behalf of the user. It takes things like dock orientation, icon size etc. into account. The Cardapio position adapts to the current dock's state and users don't have to do anything.

As soon as we deal with Docky, I'm planning to do AWN mode. Then we could do Cairo.

Yes, we could expose the D-Bus method as a temporary workaround but the truth is that if we do it in many cases we're stuck with it forever.

What do you think Thiago?

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Bug 677418] Re: Needs a Cairo-Dock applet

I think we have a different view of the same problem. :-)
In the case of GnoMenu, the plug-in merely instanciate an applet in the
dock; that is to say, the applet will ask for the menu to raise up.
It's not an applet of the Menu, it's an applet of the dock. Since the applet
knows where it is, and what is the orientation of its container, it's the
best placed to know where to place the menu.
(Note : in Cairo-Dock, applets can be detached from the dock, or placed in
sub-docks, etc)

2010/11/19 Paweł Bara <email address hidden>

> We probably could expose such a method and use it in a new cardapio
> startup mode (something like "cardapio show-near x y"). Nevertheless, I
> think we shouldn't.
>
> We're almost done with native Docky support which calculates the correct
> position of Cardapio on behalf of the user. It takes things like dock
> orientation, icon size etc. into account. The Cardapio position adapts
> to the current dock's state and users don't have to do anything.
>
> As soon as we deal with Docky, I'm planning to do AWN mode. Then we
> could do Cairo.
>
> Yes, we could expose the D-Bus method as a temporary workaround but the
> truth is that if we do it in many cases we're stuck with it forever.
>
> What do you think Thiago?
>
> --
> Needs a Cairo-Dock applet
> https://bugs.launchpad.net/bugs/677418
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Cardapio: New
>
> Bug description:
> Like for GnoMenu, a Cairo-Dock applet would be great.
>
> Adding the position of the menu to the dbus interface would also be a great
> improvment.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/cardapio/+bug/677418/+subscribe
>

Revision history for this message
Paweł Bara (keirangtp) wrote :

So what did you mean by: "adding the position of the menu to the dbus interface would also be a great improvment"?

The bottom line is - I think we should provide a Cairo Dock applet for Cardapio. I'm almost finished working on Docky's support, then it's AWN, and then, if nobody picks it up, I could maybe try to implement Cairo.

Revision history for this message
Fabounet (fabounet03) wrote :

In my mind the applet would react on the click, and then call a Dbus method
to raise up the Menu.
so it would need to pass the (x,y) coordinates of the corner of the Menu,
plus the orientation (top, bottom, right, left) to specify which corner it
is.
That's why I wanted to have a method like "raise_menu (x, y, o)", better
than just "raise_menu_around_the_cursor" (which would also avoid any lag
between the click and the moment you effectively get the Dbus signal).

After reading the current code for Docky applet, I didn't find such a code,
so maybe you are planning to do things in a totally different way ?

2010/11/19 Paweł Bara <email address hidden>

> So what did you mean by: "adding the position of the menu to the dbus
> interface would also be a great improvment"?
>
> The bottom line is - I think we should provide a Cairo Dock applet for
> Cardapio. I'm almost finished working on Docky's support, then it's AWN,
> and then, if nobody picks it up, I could maybe try to implement Cairo.
>
> --
> Needs a Cairo-Dock applet
> https://bugs.launchpad.net/bugs/677418
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Cardapio: New
>
> Bug description:
> Like for GnoMenu, a Cairo-Dock applet would be great.
>
> Adding the position of the menu to the dbus interface would also be a great
> improvment.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/cardapio/+bug/677418/+subscribe
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.