notes on testing Firefox themes

Discuss application theming and theme development.
Locked
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Web Notifications.... is that like "legalized" popups?? Because that's not going to be immediately abused.
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

patrickjdempsey wrote:Web Notifications.... is that like "legalized" popups?? Because that's not going to be immediately abused.


Haha yeah, I'm sure spammers are drooling at the prospect.

At least you do get a chance to tell the site and its notifications to buzz off, permanently ("Always Block").
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Hopefully, there will be a switch to Always ALWAYS Block so we won't have to even be bothered with the option.
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

patrickjdempsey wrote:Hopefully, there will be a switch to Always ALWAYS Block so we won't have to even be bothered with the option.


"There's a pref for that." (dom.webnotifications.enabled)
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

mcdavis wrote:Here's a summary of results of desktop theme detection with :-moz-system-metric on Windows with the Minefield 20110216 nightly. It's kinda wide, so I put it into a text file for Easy Reading(tm).

http://home.comcast.net/~username54321/ ... 110216.txt


Old ancient stuff here... but I just wanted to note that the following combination detects Windows 7 Basic theme:

Code: Select all

@media (@media not all and (-moz-windows-compositor) {
  @media (-moz-windows-theme:aero) {
    .dostuff: here;
  }
}
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

patrickjdempsey wrote:Old ancient stuff here... but I just wanted to note that the following combination detects Windows 7 Basic theme:


Nice!

(That file didn't used to word-wrap in the browser, back when I posted it ...)
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Yeah I noticed that.... I had to make it very very tiny to see the "chart" layout. ;)
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

OK, so I had to look it up.

Bug 253564 - Plain text (text/plain, text/javascript, text/css, etc) documents should word-wrap

Menubar > View > Page Style > Basic Page Style
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

The menu apparently toggles: plain_text.wrap_long_lines
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

New subject: anyone know how you test the devtools manifest editor in the app manager for Fx27? I have some installed apps but it doesn't seem to want that. Is there some test app I can download (which I'm guessing needs to be in some not-yet-packaged source form)?
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

I'm not even sure I really get what all this "web app" business is about. It's never really made any sense to me.
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
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: notes on testing themes

Post by Philip Chee »

patrickjdempsey wrote:

Code: Select all

@media (@media not all and (-moz-windows-compositor) {
  @media (-moz-windows-theme:aero) {
    .dostuff: here;
  }
}

Hmm. I thought you couldn't nest @media rules? [google google google]
Ah CSS3 relaxes the restrictions in CSS2.1. This should come in useful!

Phil
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Yes, not sure when this change happened but we discussed nesting not working in this thread a few years back. The ability to have 'all' and 'not all' nested together makes for interesting logic and opens up some possibilities that the architects probably didn't intend.
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
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Here's a nested media query that allows you to detect non-Windows:

Code: Select all

@media not all and (-moz-windows-theme: zune) {
@media not all and (-moz-windows-theme: royale) {
@media not all and (-moz-windows-theme: generic) {
@media not all and (-moz-windows-default-theme) {
@media not all and (-moz-windows-classic) {
     #selector {dostuff: here;}
}}}}}
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
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

Here's what I'm using for a test checklist, covering up through Firefox 34.

http://mcdavis.dreamhosters.com/comms/t ... 141123.txt
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
Locked