Changing icons in Safari

Everything related to our flagship word processor.
exegete77
Posts: 200
Joined: 2007-09-20 17:58:56

Changing icons in Safari

Post by exegete77 »

When I tried to put NWP 2 into the Applications folder, it warned that it could not because the .plist was being used (NWP was not running). So I quit Safari. Now almost all the icons in Safari (next to the name) have turned into NWP icons. See the screenshot of Safari drop down.
Attachments
NWP Screen.png
NWP Screen.png (97.87 KiB) Viewed 16975 times
iMac 21.5” / MBP 13” Retina
Mac user since 1990
User avatar
Hamid
Posts: 777
Joined: 2007-01-17 03:25:42

Re: Changing icons in Safari

Post by Hamid »

Same problem with Mailbox icons: they appear as NWP icons.
User avatar
Hamid
Posts: 777
Joined: 2007-01-17 03:25:42

Re: Changing icons in Safari

Post by Hamid »

The problem is caused by the file FileIcon-NWP-Macro.icns in Resources inside NWP 2.0 app.
A temporary fix is to drag that file out of Resources.
Then relaunch Safari and Mail.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Changing icons in Safari

Post by martin »

Yes, this does appear to be caused by NWP v2. There's a typo of sorts in NWP's "Info.plist", which tells OSX what kinds of files the application can handle (and where to find associated icons). For whatever reason, the typo triggers OSX to decide that it should use NWP's macro file icon as the generic folder icon.

Personally I think it's crazy that OSX lets a file inside NWP control how folders look in other apps. I can assure you we had no intention of messing about with the icons of other applications, nor would we ever try.

We've corrected the typo and are uploading new versions of NWP v2 now- hopefully before everyone has downloaded. We'll post in this thread again when we have updated files to correct this.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Changing icons in Safari

Post by martin »

[Edited forum reply to remove instruction on how to modify Info.plist]
A user told me privately that editing the plist worked, but that he also had to rebuild his LaunchServices database, which isn't so straightforward. I'm removing my instructions to prevent further confusion.
User avatar
Jester
Posts: 158
Joined: 2009-05-21 11:53:23
Location: Midway through infinity (or Ottawa, Canada).

Re: Changing icons in Safari

Post by Jester »

Very weird indeed! How could Apple let these sort of things happen? It's evident the software is not as safe as we thought. I wonder if this'll change in Lion?
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Changing icons in Safari

Post by martin »

Okay, if you're running the default (Intel) version of NWP 2.0 we have an updated download available. You'll need to completely trash your prior copy of NWP v2, otherwise it will continue to undesirably affect folder icons on your system.

Sorry Jester, I know you're already waiting for your first download to finish- let alone a second! Hopefully we nip this before most users have even discovered there's an update available.
User avatar
SteveH
Posts: 24
Joined: 2005-11-23 08:17:28
Location: Edinburgh, Scotland

Re: Changing icons in Safari

Post by SteveH »

Thanks for (hopefully) fixing this so quickly. I was starting to see your icon in all sorts of strange places - LaunchBar, MailMate etc.

Personally I think it was an attempt at subliminal advertising :)
User avatar
Jester
Posts: 158
Joined: 2009-05-21 11:53:23
Location: Midway through infinity (or Ottawa, Canada).

Re: Changing icons in Safari

Post by Jester »

martin wrote:Okay, if you're running the default (Intel) version of NWP 2.0 we have an updated download available. You'll need to completely trash your prior copy of NWP v2, otherwise it will continue to undesirably affect folder icons on your system.

Sorry Jester, I know you're already waiting for your first download to finish- let alone a second! Hopefully we nip this before most users have even discovered there's an update available.
Don't apologise, it's not your fault that I forgot that I was watching a "rather long" U Tube video and forgot about it. After I noticed the download finished in 12 minutes, but I had to go have breakfast, so I had to wait more :( . More than worth it, though! :)

The version I downloaded was OK, no problem with the icons.
SteveH wrote:Thanks for (hopefully) fixing this so quickly. I was starting to see your icon in all sorts of strange places - LaunchBar, MailMate etc.

Personally I think it was an attempt at subliminal advertising :)
Definitely, the tricky bastards at Nisus are just like that, always thinking about the money and not the customers.
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Changing icons in Safari

Post by phspaelti »

Can you post some more specific instructions on what is meant by "completely trash your prior copy of NWP v2"? I downloaded the fixed version and replaced the previous one but my Safari and Mail icons still have the little Nisus man (not that this isn't an improvement :) )
philip
Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: Changing icons in Safari

Post by Kino »

phspaelti wrote:Can you post some more specific instructions on what is meant by "completely trash your prior copy of NWP v2"?
Rebuild LaunchServices database, using a GUI utility like Onyx if you are not familiar with CUI, and relaunch Mail, Safari, and other affected apps if any.
User avatar
Hamid
Posts: 777
Joined: 2007-01-17 03:25:42

Re: Changing icons in Safari

Post by Hamid »

After installing the corrected copy, I had to rebuild Launch Services database. Now all icons have been correctly restored.

Rebuilding Launch Services database will also cause NWP rtf files to be associated with TextEdit app.
Select an rtf file icon in the Finder and from the Get Info pane re-associate all files of that type to NWP (by pressing the Change All button).
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Changing icons in Safari

Post by martin »

If you don't want to download a separate tool to rebuild the LaunchServices database, you could also use a command in Terminal:

Code: Select all

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
telemachos
Posts: 17
Joined: 2009-08-16 13:59:10

Re: Changing icons in Safari

Post by telemachos »

phspaelti wrote:Can you post some more specific instructions on what is meant by "completely trash your prior copy of NWP v2"? I downloaded the fixed version and replaced the previous one but my Safari and Mail icons still have the little Nisus man (not that this isn't an improvement :) )
Weird. I didn't have to do that. Deleted NWP 2 and relaunching Mail fixed the problem.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Changing icons in Safari

Post by martin »

Some users might not have to rebuild their LaunchServices database. It depends on how aggressively OSX (or some application) was caching folder icons. Before taking any extra steps, I just recommend:

1. Move the bad copy of Nisus Writer Pro (NWP) to the trash.
2. Move the new/fixed copy of NWP to your applications folder.
3. Empty the trash.
4. Log out of the current user; log back in.

That might solve it for most users.
Post Reply