Menu

#2 Find and Replace window font display problem

v10.0 Mac OS X
open
nobody
5
2004-11-02
2004-11-02
No

Bring up the Find and Replace window.

Enter some text in the Find and Replace field.

Close the Find and Replace window.

Open the Find and Replace window.

You should notice that the Replace field has bolded
text compared to the Find field.

Some thoughts...

I'm not sure the font is bolded, it could be a system
font like Chicago or Charcoal.

I tried stepping through the code to see if there was
some explicit font setting but didn't see anything. My
Xcode debugging skills are not strong so I could have
missed something.

Perhaps the resources are defined improprly.

The Find and Replace window opening/initialization code
could be setting the font for the field when it
shouldn't or not setting it when it should.

Discussion

  • Anonymous

    Anonymous - 2004-11-02

    Logged In: YES
    user_id=225318

    I was NOT able to reproduce this problem with Frontier 10.0a1 for Mac
    OS X, on Mac OS X 10.3.x. Although from vague memory I think there
    was some bug like this in the early days of Frontier.

    Could you give more details of your configuration. Can you reproduce
    with a clean root, and immediately after launching Frontier?

    During debugging of Frontier I have seen some weird stuff go on
    regards the GUI, so I'm not surprized there might be a bug there.

    I will do more testing.

     
  • Anonymous

    Anonymous - 2004-11-04

    Find replace bold bug screen shot

     
  • Anonymous

    Anonymous - 2004-11-04

    Logged In: YES
    user_id=1141133

    I'm on Mac OS X 10.3.5. Xcode v1.5. Just updated to 10.0a2.
    Did Clear All Targets, Build and Run. Fresh copy of
    Frontier.root. Bring up Find and Replace window, same bug.
    Strange. I've attached a screen shot.

     
  • Anonymous

    Anonymous - 2004-11-04

    Logged In: YES
    user_id=225318

    I still can't reproduce the problem with an Xcode build of v10.0a2 on Mac
    OS X 10.3.3. I looked through my old beta testing notes for Frontier 5
    that I have handy, and while I didn't find this specific problem (which I
    vaguely recall having seen before), there were a number of bug reports
    where text in certain windows appeared in a mixture of font styles.

    Are you using the Mac OS X 10.3.x Font Book? Do you have additional
    fonts installed (I probably only have the default fonts installed, and I
    don't use Font Book)? Or more importantly, have you removed any of the
    fonts? Is your Mac OS X installation a clean install of Mac OS X 10.3 with
    updates, or did you update to Mac OS X 10.3 from a pre-Mac OS X 10.3
    system.

     
  • Anonymous

    Anonymous - 2004-11-20

    Logged In: YES
    user_id=1141133

    "I didn't find this specific problem (which I vaguely recall
    having seen before), there were a number of bug reports
    where text in certain windows appeared in a mixture of font
    styles."

    That seems to ring a bell. I've noticed over the years that
    the Find/Replace dialog seems rather fragile.

    "Are you using the Mac OS X 10.3.x Font Book?"

    I've launched Font Book but I don't use it.

    "Do you have additional fonts installed (I probably only
    have the default fonts installed"

    Some of the apps (Word, etc.) I have installed may have
    installed extra fonts but I don't intentionally install
    extra fonts.

    "Or more importantly, have you removed any of the fonts?"

    No.

    "Is your Mac OS X installation a clean install of Mac OS X
    10.3 with updates, or did you update to Mac OS X 10.3 from a
    pre-Mac OS X 10.3 system."

    Probably an update from Oses prior to 10.3. I am updated to
    the latest version of Panther.

    I run a pretty stock setup although I do have a system wide
    spell checker installed. I have changed the default font
    setting for the Finder.

    I'll have to try some more testing at some point or perhaps
    somebody else will report a similar problem.

     
  • Anonymous

    Anonymous - 2004-11-21

    Logged In: YES
    user_id=225318

    "I have changed the default font setting for the Finder."

    That sounds like a bit of a clue.

    What did you change the font setting to, and could you retry the original
    setting, and see if the problem goes away?

     
  • Anonymous

    Anonymous - 2004-11-21

    Logged In: YES
    user_id=1141133

    Actually I just changed the text size of the Finder font. I
    used Finder > View > Show View Options command and changed
    the Text Size up to 14 pt from the default, which I think
    was 12.

    I've tried 12 and 10 pt and the problem continues. I quit
    Frontier between each change and launched again.

     
  • Anonymous

    Anonymous - 2004-11-22

    Logged In: YES
    user_id=1141133

    Here is a good one...

    On a lark, even though I don't use Font Book...

    I thought what the heck I'll take a look around in there and
    see if anything looks odd. It didn't. I used the Font
    Command to turn off Chicago. I quit Font Book, fired up
    Frontier, brought up the Find/Replace dialog and the font
    problem has gone away! :-) Heh. Turning Chicago back on
    brings the problem back.

    I suspect a font mismatch of some kind. I've had some
    experiences with applications installers messing up font
    files. The Chicago font is in the System Folder for the
    Classic environment.

    I'll try to narrow it down further. I still wonder why
    Frontier messes up on the Find/Replace and only in the
    Replace field. I've not noticed a similar problem in any
    other dialog.

     
  • Anonymous

    Anonymous - 2004-11-22

    Logged In: YES
    user_id=225318

    "I used the Font Command to turn off Chicago."

    Another clue. In the days before the Appearance Manager and Mac OS X,
    there were 2 default fonts that applications could refer to without
    specifying a specific font name - "systemFont" - the System Font (default
    Chicago 12 pt), and the "applFont" - the Application Font (default Geneva
    9 pt). Back then there was no easy UI for changing the default fonts; but
    that changed with the Appearance Manager. Code today can still continue
    to use the "systemFont" and "applFont" constants.

    Do you have Classic running at the time the problem occurs?

     
  • Anonymous

    Anonymous - 2004-11-23

    Logged In: YES
    user_id=225318

    OK, I don't have Chicago in my Font Book (I have not modified my fonts
    in any way). The only place Chicago appears is in my Mac OS 9.x
    (Classic) System Folder.

    Also a bit more information - the default text font for dialogs used to be
    the "systemFont".

     
  • Anonymous

    Anonymous - 2004-12-08

    Logged In: YES
    user_id=225318

    I was able to reproduce this with the current build in Mac OS X when I
    turned on some memory stress debugging (GuardMalloc) - no memory
    errors were reported however. Perhaps a font resource handle is being
    purged.

     
  • Anonymous

    Anonymous - 2004-12-08

    Logged In: YES
    user_id=225318

    Now the problem is happening 100% without any stress testing. Perhaps
    there is a stylized text record stored somewhere in the database, or the
    problem is triggered by some other event (I currently have the
    Frontier.root and QuickScript windows open).

     
  • Anonymous

    Anonymous - 2004-12-08

    Logged In: YES
    user_id=225318

    Apparently this was a known issue in the commercial version of Frontier
    for Mac OS X :

    <http://frontier-osx.userland.com/issues>

     
  • Anonymous

    Anonymous - 2005-08-08

    Logged In: YES
    user_id=1141133

    Sorry Terry, I don't think I answered your question...

    "Do you have Classic running at the time the problem occurs?"

    No. I do have classic installed I've recently done a clean
    install of Tiger and updated to the latest and the problem
    still occurs. Chicago is showing up in Font Book. Turning
    off Chicago makes the problem go away.

     

Log in to post a comment.

Auth0 Logo