Loading Themes without Restart.

Discuss application theming and theme development.
Locked
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

patrickjdempsey wrote:ShareBird, just wanted to let you know that Bug 546941 appears to be in the current security and stability update:

https://bugzilla.mozilla.org/buglist.cg ... 1:.9-fixed

Yes. I know. :-)
Unfortunately not on 1.9.1:.8 :-( (Thunderbird 3.0.x)
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
StyleThing
Posts: 157
Joined: August 2nd, 2010, 5:28 am

Re: Loading Themes without Restart.

Post by StyleThing »

So now Firefox 4 is coming and that pref is not working, your extension too, can you update it for Firefox 4 for ultimate theme-changeability :)
Firefox Release | Win8.1 x64 | AMD 6300 4Ghz x6 | AMD R9 270 2 GB for 1080p IPS | 4 GB RAM
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

I'm working now on my themes, so I don't have really much time to work on this extension now...

Anyway, here is a working version. There are a couple bugs that I have to fix and you have to close Firefox twice after installation to make it work properly.

http://www.silvermel.de/dev/xpi/switcht ... _r4168.xpi
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
StyleThing
Posts: 157
Joined: August 2nd, 2010, 5:28 am

Re: Loading Themes without Restart.

Post by StyleThing »

ShareBird wrote:I'm working now on my themes, so I don't have really much time to work on this extension now...

Anyway, here is a working version. There are a couple bugs that I have to fix and you have to close Firefox twice after installation to make it work properly.

http://www.silvermel.de/dev/xpi/switcht ... _r4168.xpi

Thanks! Works like a charm :wink:
Firefox Release | Win8.1 x64 | AMD 6300 4Ghz x6 | AMD R9 270 2 GB for 1080p IPS | 4 GB RAM
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: Loading Themes without Restart.

Post by rob64rock »

ShareBird wrote:I'm working now on my themes, so I don't have really much time to work on this extension now...

Anyway, here is a working version. There are a couple bugs that I have to fix and you have to close Firefox twice after installation to make it work properly.

http://www.silvermel.de/dev/xpi/switcht ... _r4168.xpi

WFM,

Sharbird,

Just to inform you that the AOM listing for "[Ext] Switch Themes 0.1.1" is no longer available for Firefox 3.x users here: https://addons.mozilla.org/firefox/addon/61769

Probably due to Mozilla's Add-on Blog post here: http://blog.mozilla.com/addons/2011/02/ ... next-week/
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

Hi rob64rock,
thank you for pointing this!

Actually I know about this, but, although the extension is working now, I'm still needing to find solutions for some problems involving installation from themes and extensions (SwitchThemes self has a problem because it needs two restarts to work properly after first installation). ASAP I will start to work on this, but I already know it will be not so easy...
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Loading Themes without Restart.

Post by patrickjdempsey »

Good luck ShareBird... it will be nice for the general public to be able to use those later versions you posted here that never made it to AMO. ;)
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

patrickjdempsey wrote:Good luck ShareBird... it will be nice for the general public to be able to use those later versions you posted here that never made it to AMO. ;)

Thank you Patrick!
I hope I will finish the work on the themes soon... I'm still needing to borrow a Win 7 PC for testing them on it.
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Loading Themes without Restart.

Post by patrickjdempsey »

Hmmm... testing the last version of Switch Themes you posted here with Stratini Padded I've noticed something odd... I'm seeing the default theme toolbar icons. Which is mostly a scrambled mess because I have different size icons. I'll look into how I'm building my theme and see if I can fix it.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

patrickjdempsey wrote:Hmmm... testing the last version of Switch Themes you posted here with Stratini Padded I've noticed something odd... I'm seeing the default theme toolbar icons. Which is mostly a scrambled mess because I have different size icons. I'll look into how I'm building my theme and see if I can fix it.

I don't think it's a bug on Stratini Padded. This is a bug on Switch Themes that I'm trying a long time to fix. Because of the way that the Add-ons Manager handles themes now, the extension needs two restarts to work properly... :evil:
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Loading Themes without Restart.

Post by patrickjdempsey »

Hmmm... that's not good. :(
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

patrickjdempsey wrote:Hmmm... that's not good. :(

This is horrible, I swear, I'm trying really for a long time now to fix this. Without success. Unfortunately.
Can you confirm that everything is working properly after two restarts?
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Loading Themes without Restart.

Post by patrickjdempsey »

I miss this ShareBird! It's too bad Mozilla doesn't see the value in this.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: Loading Themes without Restart.

Post by ShareBird »

patrickjdempsey wrote:I miss this ShareBird! It's too bad Mozilla doesn't see the value in this.

I also think so... The only difficulty I'm having to update a new version to AMO concerns the first installation of it. Due to the modifications on the way Addons Manager treats themes at restart it needs now two restarts to work properly...

Anyway, although this little "problem" this version is working for me:

http://www.silvermel.net/dev/xpi/switch ... _r4985.xpi
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Loading Themes without Restart.

Post by patrickjdempsey »

Ahh cool! This works much better than the previous version which was appearing to Switch but only showing the default theme for me. I did have one problem which was that if you have any "override" aspects of a theme, it will break other themes. For instance some themes use "override" to style the about:home page and this causes themes without the override to not show any styling for about:home. Why isn't there a local theme file for about:home anyway? Especially considering in it's next iteration it will be a full-on In-Content-UI with widgets it seems like it should be style-able.

Thanks!
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Locked