ActiveState Community

Project tree file icons missing

Posted by kambyses on 2009-09-21 20:39
OS: Windows

After last update the project tree doesn't show file and folder icons, well it shows but all icons are as "unknown" file type icons.
Anyone can tell me please how could i get proper icons back, it's really hard to scroll through project files if all the folders and files look the same.

Komodo Edit
-----------
Version 5.2.0, build 4075, platform win32-x86.
Built on Fri Sep 11 19:27:22 2009.

System
-----------
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

Computer
-----------
AMD Athlon(tm) 64X2 Dual
Core Proccessor 5200+
2.71 GHz, 2,00GB of RAM

toddw | Tue, 2009-09-22 15:27

I'm not sure why this has occurred for your Komodo installation, but it's not occurring in my testing of Komodo Edit 5.2 on Windows XP.

Have you installed any Komodo extensions lately (or macros) that may have changed this?

You may need to completely uninstall/reinstall Komodo.

kambyses | Tue, 2009-09-22 17:13

not lately, no. i do have bunch of extensions added to Komodo, but havent installed any new ones lately. and extensions are all up to date. still, i have a feeling that maybe one of them may cause this.

and i get error every time i start up Komodo, maybe this has something to do with it.

No chrome package registered for chrome://browser-region/locale/region.properties

troyt | Wed, 2009-09-23 12:37

Resetting the user profile seems to fix a similar problem in Firefox:

http://www.neowin.net/forum/lofiversion/index.php/t581380.html

Here's how to do the equivalent in Komodo:

http://community.activestate.com/faq/resetting-komodo-user-data-director...

It's a bit of an extreme solution, especially if you have a lot of extensions installed, or a lot of preferences set.

I'd suggest renaming/moving the "old" 5.2 preferences directory rather than deleting it outright. We'll try to figure out how to track down if an extension is causing this, or if it has something to do with the prefs migration from 5.1.

kambyses | Wed, 2009-09-23 19:36

resetting didn't help. but i found an extension that caused this, GTKLook 0.1 http://community.activestate.com/xpi/gtklook

disabling this gtklook made unknown filetype icons go away, which is good. but im still not happy as gtklook gave to the project tree the ability to show different icons for different filetypes. now there are only folder icons and one file icon for all file types.

i'm not even sure anymore if Komodo update caused this as i made updates for Komodo and Firefox at the same day. And gtklook uses moz-icon://stock/ icons.

one way or another, seems that fix needs to be made in this extension. can anyone help me in here?

toddw | Thu, 2009-09-24 10:12

You might want to take a look at the JSTreeDrive extension, it is somewhat similar to the project tree but it also provides the different file-icons for different file extensions.

The GTKLook extension is probably only meant to be installed for Komodo running on Linux - not for Windows.

Cheers,
Todd

kambyses | Wed, 2009-09-23 19:40

"No chrome package registered for chrome://browser-region/locale/region.properties" error is still there, disabling gtklook didn't make this go away

troyt | Thu, 2009-09-24 14:03

Have you tried uninstalling GTKLook?

I would have thought that resetting the Komodo user data directory would have removed all of your extensions, but it's possible that these were simply re-imported from the "5.1" directory when you restarted Komodo.

To truly reset this directory, you'd need to remove/move/rename all the versioned directories in the application data directory. I'd try uninstalling GTKLook before doing anything this drastic.

kambyses | Thu, 2009-09-24 20:37

yes, i have uninstalled gtklook, i have downloaded new pack, and i have removed whole Komodo Edit app data directory, none of it made gtklook to work again. i installed newly downloaded pack onto Komodo Edit with fresh set of settings, and the second i did it, the icons disappeared.
but somehow, even though i restored everything to the previous state, the above mentioned error message is gone.

i already have JSTreeDrive, been using it for a long time. but it's not for project file listing, it's whole disk drive file browser

oh, forgot. while restoring komodo back to previous state, i re-installed JSTreedrive, maybe that made error message to go away...

Anyways, i think it's safe to say that GTKLook 0.1 is incompatible with Komodo Edit 5.2.0 running on Win Xp, so if anyone else has trouble with missing icons in project tree, and is using gtklook - disable it. At least til someone comes up with some solution.

Thank you all for your efforts

toddw | Fri, 2009-09-25 10:13

I believe that you can set the JSDriveTree directories - like a Komodo project, you may be confusing it with the LocalDriveTree extension (they have very similar names and functionality).