[Bug 15749] Google Sketchup 6 initial units html dialog has empty selection box

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 3 13:16:31 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=15749

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://sketchup.com         |http://filehippo.com/downlo
                   |                            |ad_sketchup/3197/
                 CC|                            |focht at gmx.net
            Summary|Google Sketchup 6 initial   |Google Sketchup 6 initial
                   |units dialog, can't choose  |units html dialog has empty
                   |units                       |selection box

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present (selection box empty).

The embedded browser window loads 'units.html':

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Google/Google SketchUp
6/Resources/en-US

$ ll units/
total 8
drwxrwxr-x. 1 focht focht  106 Jul  3 19:47 images
-rw-rw-r--. 1 focht focht 1517 Sep  4  2007 units.css
-rw-rw-r--. 1 focht focht 3997 Sep  4  2007 units.html
--- snip ---

Relevant content of 'units.html':

--- snip ---
<head>
<meta http-equiv="Content-Type" content="text/html" />
<link href="units.css" rel="stylesheet" type="text/css" />
<title>Getting Started with SketchUp</title>
<script language="javascript">
<!--
...

function init_templates()
{
    sel = document.getElementById("TemplateSelect");
    for(var i=0; i<arguments.length; i++)
    {
        sel.options[i] = new Option(arguments[i], arguments[i]);
    };
}

function onOK()
{
    window.location='skp:on_ok';
}

var dim='3D'
function onTemplateChanged()
{
    window.location='skp:on_template_changed@' + 
        document.getElementById('TemplateSelect').value + ',' + 
        dim;
}
...

function doLoad()
{
    var os = navigator.appVersion.indexOf('Mac') != -1? 'Mac' : 'Win';
    if(os == 'Win')
    {
        window.location='skp:onload'
    }
}
-->
</script> 
</head>
<body onload="doLoad()"> 
<div align="center">
    <table width="680" border="0" cellspacing="0" cellpadding="10"> 
...
       <table width="100%" border="1" align="center" cellpadding="10" > 
             <tr>
               <td>
                <P><span class="body"><strong>Default Units</strong>: <br>
  SketchUp works in real world dimensions. Please choose the default units you
want used to display those dimensions</span>. </P>
                <P align="right">Units: 
                <SELECT id="TemplateSelect" onchange="onTemplateChanged()"
style="WIDTH: 200px" name="Templates">
                </SELECT>  </P>
               </td>
             </tr>
           </table> 
--- snip ---

It seems the application wires via 'skp:' protocol/object with the jscript/html
(should call 'init_templates' and hook event handlers).

$ sha1sum GoogleSketchUpWEN.exe 
bec5c393526a503cd99b38539d68ffd1ad75ecb7  GoogleSketchUpWEN.exe

$ du -sh GoogleSketchUpWEN.exe 
32M    GoogleSketchUpWEN.exe

$ wine --version
wine-1.7.21-41-g5af3b8c

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list