← Back to team overview

vm team mailing list archive

Re: [Bug 605799] Re: Emacs menu doesn't come up right

 

On Wed, Mar 2, 2011 at 10:51 PM, Uday S Reddy <u.s.reddy@xxxxxxxxxxxxx>wrote:

> John Hein writes:
>
> > Unless the vm top level menu button can be fixed in vm (from what's
> > been tried so far, it sounds like that's hard if not impossible),
> > trying to fix it in emacs/gtk is probably not a useful resolution of
> > this bug - even if it can be identified & fixed upstream quickly -
> > because of legacy versions of emacs in the wild with the bug.  Filing
> > an upstream bug is probably still a good idea.
>
> Well, GTK doesn't support menubar menus to act as "buttons".  (They
> are not buttons actually.  They are immediate menu items, rather than
> pull-down menus.)
>
> I don't feel like punishing all the other users just because one
> toolkit (or two) don't support it.  My thinking is, VM normally has
> these buttons, and the GTK users will have a work-around.
>
>
>  While I will see what can be done, I think "punishing all the other users"
is a little strong. We are over complicating matters for very little gain
IMO. At least two of the possible toolkits (soon to be three with GTK3+)
don't work, we know two that will and then another 2 or more we have no idea
about.

Moving this functionality to use a sub-menu is not a drastic change really.
At least then we would have the same code base and same interface on all
platforms. The argument to keep top-level action items/buttons would perhaps
have more weight if we were referring to a frequently used operation.

However, my biggest concern is I cannot see any obvious way of determining
which toolkit is being used at runtime. There are some heuristics that could
be applied that may identify some of the toolkits, but there is no variable
that I can see which will reliably report the toolkit. Suggestions would be
welcome.

Tim

>
> _______________________________________________
> Mailing list: https://launchpad.net/~vm
> Post to     : vm@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~vm
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References