cobalt2 icon indicating copy to clipboard operation
cobalt2 copied to clipboard

Some icon is not shown

Open n1k1c4 opened this issue 9 years ago • 19 comments

Some icon is not shown. The PHP icon is not displayed, instead is displayed the gear. Instead of an icon CSS icon LESS. Icons HTML, JS, IMAGE, LESS, FONT displayed normally.

I try reinstall Sublime Text, all settings and all packeges. Nothing helped.

Windows 8.1 x64, Sublime Text 3 Build 3103.

n1k1c4 avatar Feb 15 '16 00:02 n1k1c4

It also happen to me.

rizqinizamil avatar Feb 23 '16 06:02 rizqinizamil

I think this is solved in #76 but it's not merged yet.

dcortes92 avatar Mar 04 '16 17:03 dcortes92

screen shot 2016-03-22 at 4 08 33 pm

eswat2 avatar Mar 22 '16 23:03 eswat2

I just installed on windows 10 and got the same problem.

evertramos avatar Apr 14 '16 01:04 evertramos

PHP icon replaced by generic gear icon. Other icons ok. Using ST3 build 3114. Was ok on build 3083. Tried re-installing ST3 and packages to no avail. Any help would be appreciated. Build 3114 screen shot 2016-05-16 at 22 13 24 Build 3083 screen shot 2016-05-16 at 22 14 56

ghost avatar May 16 '16 21:05 ghost

PHP icon replaced by generic gear icon. Other icons ok. Using ST3 build 3114.

The same for me !

Reedyseth avatar Jun 07 '16 14:06 Reedyseth

Not sure why this is happening - anyone have some ideas?

wesbos avatar Jun 07 '16 17:06 wesbos

i uninstalled Cobalt 2 and then reinstalled it, but i'm still seeing the missing icon issue;

screen shot 2016-06-07 at 10 41 51 am

if i select another theme, for example Seti_UI, they all display;

screen shot 2016-06-07 at 10 44 26 am

i realize this is comparing Apples and Oranges, but i wanted to verify that it wasn't something in the repo causing the issue.

eswat2 avatar Jun 07 '16 17:06 eswat2

Not sure why this is happening - anyone have some ideas?

I also tried on icon_php.tmPreferences to use the name of the icon string for a working one like JS and the JS icon did not show.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>scope</key>
    <string>source.php</string>
    <key>settings</key>
    <dict>
        <key>icon</key>
        <string>file_type_js</string>
    </dict>
</dict>
</plist>

@wesbos how is the default gear icon setup? I did not find a default.tmPreferences file Just wondering :smile:

Reedyseth avatar Jun 07 '16 23:06 Reedyseth

Updated ST3 to 3114 again - incorrect PHP icon Installed Seti_UI (didn't activate it) - correct PHP icon Still using Cobalt theme ("color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme") Confusing, but so far it's working

ghost avatar Jun 08 '16 14:06 ghost

Hrmm - I think the gear icon is set as a fallback. I'd have to investigate.

I'm wondering if we can make a shared repo between all the themes that use icons - seems like Seti has it figured out. @ctf0 any thoughts?

wesbos avatar Jun 08 '16 14:06 wesbos

Installed Seti_UI (didn't activate it) - correct PHP icon Still using Cobalt theme ("color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme")

Yeap, that also made it work for me. What I see different is that the Prefs folder in the Seti_U theme is inside the icons folder, I will play around and if I find something I let you guys know.

Reedyseth avatar Jun 08 '16 15:06 Reedyseth

ok, so i uninstalled Seti_UI and now i see this after i reapply Cobalt 2 using Themr

screen shot 2016-06-08 at 9 47 35 am

Just for grins, i reinstalled Seti_UI but did not apply it and i see this;

screen shot 2016-06-08 at 9 49 17 am

Guess you can't have both installed. Does that even make sense?

eswat2 avatar Jun 08 '16 16:06 eswat2

@wesbos +1 for the shared repo for icons idea, the php icon not displaying because u need to change the scope which not source.php but embedding.php and because the gear icon is the default thats why its showing up, however in Seti i kept them both as a fallback for older versions source.php, embedding.php.

so basicly all u need is to correct the scope names inside the icon config files.

here are some files types i use to test with https://github.com/ctf0/Seti_ST3/tree/Mods/file-types

ctf0 avatar Jun 08 '16 18:06 ctf0

I have no icons what so ever.

screen shot 2016-07-11 at 11 25 51 pm

I have the "color_scheme" and the "theme" right.

screen shot 2016-07-11 at 11 27 01 pm

I have restart sublime couple of times. I have uninstalled and installed several times as well. Do I'm missing something?

redeemefy avatar Jul 12 '16 04:07 redeemefy

What's the state of this issue? PHP icon is still missing for me, other icons are ok.

levani avatar Sep 04 '16 05:09 levani

I have no idea.

redeemefy avatar Sep 05 '16 05:09 redeemefy

Hey folks, possibly some interesting info to add into this discussion. I just switched to this theme as well and have a large number of icons not showing up as well. I checked this thread out the other day and saw no one had solved it so I carried on with my icon-less day.

Well, just a minute ago I opened up a stylus file (.styl files had a gear icon) and realized I didn't have stylus formatting, so I installed the Stylus package into ST3, and the Stylus icons magically started appearing.

I'm stilling missing icons for dot files, some fonts, and .json files tho.

Hope that helps someone out!

madtimber avatar Feb 09 '17 22:02 madtimber

Why don't you replace those sidebar folder arrows with some generic folder icons? By the way I love this theme a lot!!! sidebar

thehasu avatar Feb 24 '18 13:02 thehasu