Le 20 déc. 07 à 11:07, Andreas Schik a écrit :

> On 2007-12-20 00:07:47 +0100 Quentin Mathé <[EMAIL PROTECTED]> wrote:
>
>> If contextual menus are available in an application, until he does  
>> a  right
>> click the user can never know in advance whether a view has an   
>> associated
>> contextual menu or the main menu as contextual menu. This  is a  
>> minor problem
>> in GNUstep applications today because contextual  menus are seldom  
>> used.
>> However in applications were many contextual  menus are defined,  
>> discovering
>> where to click to show the main menu  becomes highly unpredictable.  
>> In Cocoa
>> applications, it's not uncommon  to have contextual menus available  
>> in all
>> views (title bars, toolbar,  content etc.) except scrollers and  
>> splitters, so
>> in this case the main  menu wouldn't be easily available as a  
>> contextual
>> menu: it isn't  obvious at all you can get it then by clicking on a  
>> scroller
>> or  splitter. I'm not sure it really makes sense to have main menu   
>> available
>> only on scrollers or splitters.
>> I suppose Étoilé will try to provide a lot of contextual menus,  
>> that's  why
>> I suggested some users which dislike contextual menus may prefer   
>> to force
>> the use of main menu as contextual menu. Étoilé might also  specify a
>> default contextual menu on NSView to provide a basic set of   
>> actions or let
>> you inspect the clicked element (for stuff like  customization or  
>> scripting).
>> Then main menu wouldn't be available at  all as a contextual menu.
>>
> I see. Would it be an option to bind the decision, whether to show a  
> conect menu or the main menu, to a modifier key? For example, a  
> simple right-click opens the centext menu of the view (if available)  
> and pressing the Ctrl/Alt or whatever key while right-clicking opens  
> the main menu in any case. This way the user can decide for a  
> certain menu depending on his working context.

Very good idea. So is right click + OpenStep command key modifier the  
best choice to show the main menu as contextual menu? Any other  
opinions?

Cheers,
Quentin.


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à