• 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: Font Menu validation bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font Menu validation bug?


  • Subject: Re: Font Menu validation bug?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 4 Jul 2002 17:36:58 +0200

On Thursday, July 4, 2002, at 04:07 , Bill Cheeseman wrote:

However, the Font Menu, Bold, Italic, and Show Colors menu items remain
enabled when a text field is key -- even though they do nothing when
applied.

Well... with Bold and Italic it is kind of a bug, but it's more subtle: they send message addFontTrait: to the FontManager, which (presumably, I haven't pursued it) checks back which menu item that was and does accordingly (by tag). The problem is that FontManager (presumably) does not have validateMenuItem: which would check whether the first responder does or does not accept bold/italic. You might fill a bug report if you feel like; in my personal, subjective opinion it is a trifle not worth fixing since there are much more important problems ;)

With Show Colors it's quite all right: since the command does not change anything but just shows the panel, it is correct that it is available anytime.
---
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.
  • Follow-Ups:
    • Re: Font Menu validation bug?
      • From: Bill Cheeseman <email@hidden>
References: 
 >Font Menu validation bug? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: From text file to NSString...
  • Next by Date: Re: How to link with zlib
  • Previous by thread: Font Menu validation bug?
  • Next by thread: Re: Font Menu validation bug?
  • Index(es):
    • Date
    • Thread