On Mon, 7 Aug 2000, Angus Leeming wrote:
> Allan> This is why we need context sensitive menu support. Another dialog is
> Allan> pointless for what is really a trivial action. Why click three times
> Allan> (open, select, close) when a single held click on a c-s menu will do.
>
> Because the dialog will do more than just "go to the ref"
The four things you listed (IIRC) don't need a dialog to be useful. None
of the four required input. One was "goto ref" and three were effectively
a set of radio buttons. You can only select one of the three entries in
a menu at a time. Ergo, we have the radio button behaviour in a c-s menu.
Unless of course one of the group of three has extra parameters we want to
make available but that should only be handled in the big "Insert
ref" dialog. If I understand whats going on.
> Allan> Lars you were saying something last week about c-s menu support. Any
> Allan> ideas for handling this in a simple manner? JMarc any suggestions for how
> Allan> we map c-s menus in the UI menu stuff?
>
> Lars> I'd like to have a RMB context menu popup. Wherever I click RMB the
> Lars> context-sensitive-menu is called and the appropriate popup is shown.
> Lars> F.ex if I RMB on the small red margin on a marginal note I get a small
> Lars> popup where I can choose left or right margin etc. Similar for floats
> Lars> where I could choose placement, etc.
I was thinking more along the lines of what implementation details you
might provide. I think we agree RMB is the way to go here.
> I've just finished playing with InsetRef, the Edit() of which is:
[...]
> So, at the moment we get the pop-up (new --- try it!) on mouse-button 1, but
> eventually we'll get the old behaviour of "go to ref on click 1" and get
> "launch this new dialog on click 3"
>
> Anyway. Patch attached. Please apply!
Don't get too excited just yet.
Allan. (ARRae)