• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keyboard shortcuts for views in toolbar items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard shortcuts for views in toolbar items


  • Subject: Re: Keyboard shortcuts for views in toolbar items
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 15 Oct 2002 18:39:12 +0200

On Tuesday, October 15, 2002, at 05:42 , j o a r wrote:
On Tuesday, Oct 15, 2002, at 17:19 Europe/Stockholm, Ondra Cada wrote:

Not sure whether it is the answer you wanna hear, but the proper way to do that is to place the actions and their key equivalents into main menu,
so that they are accessible & work properly regardless the appropriate buttons are in the toolbar or not.

I agree that this is the correct way to do this *if* the toolbar item is a simple action item with no state. In our application we have a number of toolbar items that contain values - text fields, et.c. - and they cannot simply be replaced or complemented by menu items.

Hmmm. Are they not? Let's see: presume there is a textfield with find-like functionality. What the key equivalent should do?

(a) the same as Cmd-f does, ie., to show the widget and put a focus there.
The same could and should do a menu item;
(b) the same as Cmd-g does, ie., to "find next". Would work well even if the toolbar is hidden, it would just use the invisible value presuming the user remembers it. Just again, the same could and should do a menu item.

Have I forgot something?

What if the toolbar item is not even in the window - what then?

Well, again, just the same as the key equivalent should do in this case.

Or do you want those key equivalents to work only if the toolbar is shown (and wide enough to display the appropriate widget)?

Of course I could disable the menu item in that case, but wouldn't it be very weird to have menu items that requires the presense of a toolbar item to be enabled?

In that case I feel
- the GUI design is kind of weird primarily,
- but being it so, it would be perfectly natural to have such menu items.

After all -- whether it is right or not, I'd say not, but that's beside the point -- you *do* have services which are available depending on whether the toolbar is shown or not. If that's given, it is perfectly natural to have the appropriate menu items enabled in the same case.

Not very intuitive for the user.

...to have such kind of services!

We have a huge enterprise application with a lot of windows and a lot of toolbar items. I'm not sure that it would be possible to have menu items for each and every one of these toolbar items in the main menu bar.

I am pretty sure it would be not just possible, but quite desirable. If the worst comes to the worst the menu might be dynamic, but that is discommended unless the app is *heavily* modal by itself (which is bad too)
.

---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Keyboard shortcuts for views in toolbar items (From: j o a r <email@hidden>)

  • Prev by Date: Re: Cocoa-nuts!
  • Next by Date: Re: Keyboard shortcuts for views in toolbar items
  • Previous by thread: Re: Keyboard shortcuts for views in toolbar items
  • Next by thread: Re: Keyboard shortcuts for views in toolbar items
  • Index(es):
    • Date
    • Thread