SketchUcation Plugin Store

 

 

last Lions Update

last Lions Update

Postby hermannausowl » Wed May 16, 2012 8:15 am

There is a problem wit the html-menues after the lions update.

What's the error?
Please, register (free) to access all the attachments on the forums.
Wir planen Ihre Büroeinrichtung mit SketchUp. http://www.momo-moebel.de
hermannausowl
 
Posts: 32
Joined: Tue Jun 02, 2009 7:45 pm
Name: Hermann Brünger

Re: last Lions Update

Postby thomthom » Wed May 16, 2012 9:00 am

What is the problem? What is expected result?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17603
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: last Lions Update

Postby hermannausowl » Wed May 16, 2012 9:12 am

In the past the right fields have white ground with black letters.
The first field is the result after double click.
Wir planen Ihre Büroeinrichtung mit SketchUp. http://www.momo-moebel.de
hermannausowl
 
Posts: 32
Joined: Tue Jun 02, 2009 7:45 pm
Name: Hermann Brünger

Re: last Lions Update

Postby thomthom » Wed May 16, 2012 9:19 am

HTML form styling has always been a difficult beast. Different browsers style each element differently - some allow more styling than others.
When I do HTML form now I use minimal if no styling - so that the form at least renders consistently for the user - as oppose to the mix you see in your screenshot.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17603
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: last Lions Update

Postby Aerilius » Wed May 16, 2012 10:04 am

Hi,
we've recently had such a case in the Help Forum (Components Options dialog, which – not obvious – uses some html). It seems some setting in webkit or Safari is broken that provides the so-called "system colors", to match websites to the native UI. But I can't tell for sure as I don't have/use OS X.

What exact update was that? Would OS X users be able to revert the update?
Aerilius
Top SketchUcator
 
Posts: 1127
Joined: Tue Dec 23, 2008 11:00 pm
Location: Kaiserslautern

Re: last Lions Update

Postby thomthom » Wed May 16, 2012 10:08 am

There has been previous updates to Safari/Webkit that's broken stuff. Very annoying these incompatibilities.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17603
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: last Lions Update

Postby jeroentheuns » Wed May 16, 2012 10:39 pm

hermannausowl wrote:There is a problem wit the html-menues after the lions update.



What's the error?


Same problem here. for me it started 2 days ago when I upgraded to osx Lion 10.7.4
jeroentheuns
 
Posts: 3
Joined: Fri Mar 06, 2009 5:49 pm
Name: jeroentheuns

Re: last Lions Update

Postby jeroentheuns » Thu May 17, 2012 8:21 am

Aerilius wrote:Hi,
we've recently had such a case in the Help Forum (Components Options dialog, which – not obvious – uses some html). It seems some setting in webkit or Safari is broken that provides the so-called "system colors", to match websites to the native UI. But I can't tell for sure as I don't have/use OS X.

What exact update was that? Would OS X users be able to revert the update?


Any chance this will be fixed in the near future?
jeroentheuns
 
Posts: 3
Joined: Fri Mar 06, 2009 5:49 pm
Name: jeroentheuns

Re: last Lions Update

Postby thomthom » Thu May 17, 2012 9:56 am

They didn't fix the last time they broke something. It was a "feature"... :roll:
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17603
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: last Lions Update

Postby Aerilius » Thu May 17, 2012 10:07 am

It isn't the WebKit system colors, someone showed me how they look now and that's what used to be.
The html and css of the momo Möbel plugin doesn't contain anything that could cause this.
So it is either something else in the 10.7.4 update or something in SketchUp that didn't emerge before the update.

Can someone with OS X and WebInspector check on the Elements tab in the right Styles sidebar, whether there is anything else causing an override for the <input> element?
Aerilius
Top SketchUcator
 
Posts: 1127
Joined: Tue Dec 23, 2008 11:00 pm
Location: Kaiserslautern

Re: last Lions Update

Postby AdamB » Thu May 17, 2012 11:17 am

I see this as well after latest Lion update.

Its just when invoked from SketchUp - but its not a SketchUp problem because I have the same wrong coloring if I run SketchUp 7 too.

Looks like Lion update broke applying CSS correctly. I have a input.text rule which is no longer applied - my hunch is its something to do with having 'placeholder' attributes.

Adam
Developer of LightUp http://www.light-up.co.uk
User avatar
AdamB
LightUp
 
Posts: 747
Joined: Wed Dec 12, 2007 10:49 am
Location: Brighton, UK
Name: AdamB

Re: last Lions Update

Postby AdamB » Fri May 18, 2012 1:52 pm

sooo, my problem with <input> loosing the CSS after the Lion upgrade turned out to be programmer-error. :oops:

I'm not sure why I got away with: <input type='text' ...> working before,

yet I actually meant to write: <input type='text' class='text' ...>

which now works fine under 10.7.4 - I'll roll into the next release of LightUp.

So perhaps the 10.7.4 release just tightened up the rules some.

Adam
Developer of LightUp http://www.light-up.co.uk
User avatar
AdamB
LightUp
 
Posts: 747
Joined: Wed Dec 12, 2007 10:49 am
Location: Brighton, UK
Name: AdamB

Re: last Lions Update

Postby Whaat » Thu May 24, 2012 3:51 pm

So is there a solution for this? I have had issues with the black input fields as well. Is it something that can be easily fixed?
Whaat
 
Posts: 966
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: last Lions Update

Postby Aerilius » Thu May 24, 2012 4:38 pm

Hi Whaat,
it's a compositing problem with text fields with default (=no) background color in a WebKit WebView (see Peter Saal's link to StackOverflow, and there the chances for a fix by Apple or SketchUp):
viewtopic.php?f=11&t=45382#p406422
It has been suggested there that you could work-around it by forcing a input[type=text]{background-color: white}, but many haven't succeded with this solution.
Aerilius
Top SketchUcator
 
Posts: 1127
Joined: Tue Dec 23, 2008 11:00 pm
Location: Kaiserslautern

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Developers' Forum

Who is online

Users browsing this forum: jam_plaza and 4 guests