-
Notifications
You must be signed in to change notification settings - Fork 1
Windows compatibility #6
Comments
Umm, the whole point of the theme is to use (overuse :)) Linux-specific feature: native icons. |
it shows nothing unfortunately( - (and the applyed theme shows holes on icons places( )....seems it's because of out of icons... |
Yes, it shows nothing. And that's why the theme is Linux-only. :) Additionally, "just" creating an optional icon theme is really difficult. You may have noticed that I have splitted Freedesktop option to a separate theme for 0.3. |
I didn't get about splitting a little - what's the difference between the both your themes? |
One uses stock GTK icons, and another one uses Freedesktop ones. |
and the both icons don't included in the exact themes packs, right? |
Of course. |
If you have some Linux computer or virtual machine, do this: <img alt="fd" title="FD" src="moz-icon://stock/text-x-generic?size=dialog" height="48" width="48">
<img alt="gtk" title="GTK" src="moz-icon://stock/gtk-file?size=dialog" height="48" width="48"> See yourself. |
oh, I see.... since I've started as dos and win user - I didn't know that dependences;) I always have keeping a wish about an ideal SM theme... since the best of it was dropt and forgotten... |
I would like to make it switch icon sets in the config extensions, but it's pretty hard: places where icons are used are scattered through the theme, and there are lots of them. It's pretty much impossible to implement such an option in a nice way. :( |
Also, "Linux style" — is it Tango style? Screenshots on AMO show default GNOME (MATE really :D) icon theme, old default Ubuntu theme, new default Ubuntu theme. Every other DE and distro will have its own default icon set, and there are much more custom sets. |
Yes, Tango , and there're at least 3 (qite specific D but great) - It's a pity..... so, it won't possible to theme to contain more then one icon pack inside and switch between them at all? .... may be via using substitution and restart? |
It is possible, but the code that would properly handle it would be half of the theme size. :) |
If you want to repackage it, it's not very hard. %STOCK-ICON gtk-find edit-find 16 disabled
%CUSTOM-ICON web-browser 24 GTK: moz-icon://stock/gtk-find?size=menu&state=disabled
chrome://global/skin/icons/24x24/web-browser.png FD: moz-icon://stock/edit-find?size=menu&state=disabled
moz-icon://stock/web-browser?size=toolbar You can modify the build script so that it will always use chrome://global/skin/icons/. Then, if you get the needed icons, it will work. However, disabled states would be messed up, because you can't use "state=disabled" with images. I handle it like this: #namedAnchorButton[disabled="true"],
#hlineButton[disabled="true"],
#tableButton[disabled="true"] {
opacity: %DISABLED-OPACITY !important;
} %DISABLED-OPACITY gets replaced with 0.5F on GTK theme, and 1.0F on FD one. However, the icons that are always native (%NATIVE-ICON ones) don't have it, so they will look wrong with images. You will have to add those statements for them. |
No activity, closing. |
I have an idea that would totally allow this (along with merging stock GTK and FD flavors back into one, and switching themes on the fly), but it will limit compatibility to 2.28+. The idea is replacing all usages of native icons with variables and making several css files containing only those variables, which will then be loaded with JS.
Like this: GTK layer: Freedesktop layer: This approach works well, as far as I tested. |
I would add that this theme shouldn't be Linux only. IIRC I had to install it in Linux and then move the profile to the BSD installation I was using at the time to get it working there too. I think all the BSDs could benefit from installing this… And I can confirm it works beatifully in FreeBSD and OpenBSD. Thanks! |
Of course, if I implement this, I will be able to remove the restriction altogether. |
Also, you could just download the theme even though it says to be incompatible and then force install it. The theme itself isn't restricted, and that's not even possible, as far as I know. |
Thanks for the tips, I'll keep that in mind. |
Hmm. Icons are the least problem, is seems. With XP Luna theme it mostly looks acceptable, but in Windows Classic theme it's completely broken. |
I've finally merged the slowly developed config-rewrite branch. The icon themes are there, and they'll work on Windows as well. I won't allow Windows platform by default on AMO for now, but the theme itself should work on non-classic themes. On windows classic, it will be a mess because moz-appearance is not supported there, see my previous comment. |
Thank you for so wonderful SM theme!
Would be great to see it working on win systems either!
Could you remove linux dependency in the theme?
...or include windows compatibility, please!
The text was updated successfully, but these errors were encountered: