Jump to content


Weird problems with text in Cocoa apps


6 replies to this topic

#1 geekgrrl

    Member

  • Members
  • Pip
  • 2 posts

Posted 11 November 2003 - 04:43 AM

I installed Panther when it came out, and was glad to see that Spell Catcher X was working. I used it for a couple of weeks without problems. Then I saw that there was a fix for the login window error dialog, and downloaded and installed that. It worked fine, but when I rebooted, I found that there was an odd problem with text in Cocoa applications: if I typed a word then a space, then another word, an additional space would be inserted. Punctuation would also be doubled before a space. So if I typed a word, a period, then a space, I would get the word, a double period and a space.

As the last thing I had done was to apply the SCX update, I deleted the two preference files that it had copied. But that didn't solve the problem. After a lot of fiddling around, I noticed that spelling errors were not being underlined in Cocoa apps, even with the 'Check spelling as you type' enabled. I unchecked that preference, and the problem was solved. Switch it on, there's a problem, switch it off, problem goes.

I've now temporarily uninstalled SCX, logged out and in, and the Cocoa spelling now works fine again (I also noticed that completion now works in TextEdit, where it didn't before). I think something must be broken about my SCX installation: can anyone tell me the best way to clean install a new copy? Also, has anyone else seen this odd behaviour?

#2 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 11 November 2003 - 06:09 AM

geekgrrl, on Nov 11 2003, 05:43 AM, said:

I installed Panther when it came out, and was glad to see that Spell Catcher X was working. I used it for a couple of weeks without problems. Then I saw that there was a fix for the login window error dialog, and downloaded and installed that. It worked fine, but when I rebooted, I found that there was an odd problem with text in Cocoa applications: if I typed a word then a space, then another word, an additional space would be inserted. Punctuation would also be doubled before a space. So if I typed a word, a period, then a space, I would get the word, a double period and a space.

As the last thing I had done was to apply the SCX update, I deleted the two preference files that it had copied. But that didn't solve the problem. After a lot of fiddling around, I noticed that spelling errors were not being underlined in Cocoa apps, even with the 'Check spelling as you type' enabled. I unchecked that preference, and the problem was solved. Switch it on, there's a problem, switch it off, problem goes.

I've now temporarily uninstalled SCX, logged out and in, and the Cocoa spelling now works fine again (I also noticed that completion now works in TextEdit, where it didn't before). I think something must be broken about my SCX installation: can anyone tell me the best way to clean install a new copy? Also, has anyone else seen this odd behaviour?
Open the Spelling panel by choosing Spelling... from the Edit menu. Tell me what language is chosen from the popup - an Apple one or a SCX one?

See if fiddling with that changes things at all.

Sounds like completion may be "interfering" somehow.

You shouldn't need to reinstall SCX, just try trashing the com.rainmaker.SpellCatcher.plist file from your home Library/Preferences folder (i.e. trash the prefs).

#3 geekgrrl

    Member

  • Members
  • Pip
  • 2 posts

Posted 11 November 2003 - 06:37 AM

Before I moved SCX out of Applications, trashed the service and logged out and in -- nothing at all. Choosing 'Spelling...' didn't have any effect, and no dialog box popped up.

Now I can see the Apple languages. I'll try trashing the pref as you suggest then moving the SCX back in.

#4 cocoapastor

    Member

  • Members
  • Pip
  • 4 posts

Posted 23 January 2004 - 02:19 PM

I am having the same problem described by Geekgrrl but I have not discovered the solution. The OS X dictionary panel does not appear, doubling of spaces and other characters, all the same. I have trashed SpellCatcher and it made no difference (so I have reinstalled). I thought it might be caused by CocoAspell 1.4 service but removing that made no difference. I even reinstalled Panther but the problem turned up again after about a week. Any help is appreciated.

#5 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 23 January 2004 - 10:23 PM

cocoapastor, on Jan 23 2004, 02:19 PM, said:

I am having the same problem described by Geekgrrl but I have not discovered the solution. The OS X dictionary panel does not appear, doubling of spaces and other characters, all the same. I have trashed SpellCatcher and it made no difference (so I have reinstalled). I thought it might be caused by CocoAspell 1.4 service but removing that made no difference. I even reinstalled Panther but the problem turned up again after about a week. Any help is appreciated.
Wow - this sounds really odd. Maybe take a look at your list of preferred languages (and their order) in System Preferences->International.

Also, try opening the Spelling Panel (Edit->Spelling->Spelling...) and specifically choosing a language from the pop-up. Even if one is already chosen (well, there must be one chosen, I'd think), switch to another, then close the Spelling Panel, quit the app (just use TextEdit, perhaps), the fire up TextEdit again, and do it all over, but this time choose the language you want.

Sounds like a corrupt preference file (.plist) somewhere - not sure where exactly you'd look, though.

#6 cocoapastor

    Member

  • Members
  • Pip
  • 4 posts

Posted 26 January 2004 - 03:18 PM

Evan Gross, on Jan 23 2004, 10:23 PM, said:

Also, try opening the Spelling Panel (Edit->Spelling->Spelling...) and specifically choosing a language from the pop-up.
Thanks for the response, Evan. The problem is that Edit->Spelling->Spelling does not function in any cocoa app for me. OS X spelling does not work at all.

#7 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 26 January 2004 - 08:45 PM

cocoapastor, on Jan 26 2004, 03:18 PM, said:

Evan Gross, on Jan 23 2004, 10:23 PM, said:

Also, try opening the Spelling Panel (Edit->Spelling->Spelling...) and specifically choosing a language from the pop-up.
Thanks for the response, Evan. The problem is that Edit->Spelling->Spelling does not function in any cocoa app for me. OS X spelling does not work at all.
What? Can you explain what you mean by "does not work at all"? You don't see the Spelling Panel open, period?

If that's the case, maybe open the Console application and see if you see any output from the OS. It might give you a clue what's wrong with your OS X installation.

Something is corrupt - there's no way this is even remotely normal. And it has nothing to do with Spell Catcher whatsoever. Something is hosed on your machine. The hard part now is figuring out exactly what.

One good technique is to create a new user account, log into it (i.e. fresh preferences and everything) and see if the Spelling panel works in that account. If yes, then a preference file in your usual account's home directory is probably damaged. If NO, then a preference (or cache, or something) file in the (root of boot volume) /Library directory is damaged (i.e. more system-wide than user-specific).

Very bizarre.

If you do decide to reinstall the OS, make sure you DON'T choose to restore users and groups, or you'll just get the corruption back again. You have to do a totally fresh install. But I'd hold off on that unless it's the very last choice left.