Windows development snapshot request

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Windows development snapshot request

korpx
Would it be possible for someone to build a Windows binary of the current Master and make it available on openscad.org

I'd love to try out the dockable/breakaway windows!

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
korpx wrote
Would it be possible for someone to build a Windows binary of the current
Master and make it available on openscad.org?
New Windows snapshot versions are uploading right now to http://files.openscad.org/snapshots/ .

As I could not test much, I'll not link those on the download page yet, so please just download from the snapshot folder.
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

MichaelAtOz
Administrator
Thanks.

Initial feedback.

First use, dragging the console bar caused a weird 1/2 detached look, had another tab in the window bar, console was slightly offset form background console with a X close icon. Couldn't reproduce later, suspect a preference was not initialised, and was set properly until when I did view/preferences. (I used the .zip, not the install).

After that both undock/not settings worked well moving windows around/resizing, though as mentioned elsewhere some keyboard means of switching between windows would be needed, Alt+Tab does not switch to/from undocked windows.

Went thru examples, f5/f6 generally OK. At one stage had MDI enabled, an f6 was taking forever (with another F6 also), closed window. Later another window crashed, Exception code: 0xc0000005 Access Violation. Are there likely to be MDI conflicts? Registry?

For some things the F5 preview window was noticeably lagging when moving/rotating object with mouse, almost felt like google earth drag acceleration. Most noticeable with example/extrusion/text.scad. F6 snappy. Noticed a little lag in 2014.03, but not as noticeable.

Suggestion re new examples names/categories:
basic/surface perhaps should be advanced/surface
shapes/fence -> advanced/lookup
advanced/intersecting -> advanced/intersect_for
advanced/iteration -> shapes/dice (yes I know it is a die, but that has other meanings)
advanced/translation -> advanced/children

Just managed to reproduce the 1/2 docked look, drag console bar just a small distance, you can get something like the following:

Not easy to reproduce.


Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
MichaelAtOz wrote
First use, dragging the console bar caused a weird 1/2 detached look, had another tab in the window bar, console was slightly offset form background console with a X close icon. Couldn't reproduce later, suspect a preference was not initialised, and was set properly until when I did view/preferences. (I used the .zip, not the install).
I think that's a Qt drawing problem. I'm getting that from time to time on Linux too. There it goes away by just resizing the window or something similar. MXE (http://mxe.cc/ - the project used for cross-building the Windows version) seems to have Qt 5.1.0, but on Linux it happens with latest Qt 5.2 release. Hopefully this (and some other bugs) get fixed until OpenSCAD is released. I did not see any of those errors with Qt 4.8.

MichaelAtOz wrote
After that both undock/not settings worked well moving windows around/resizing, though as mentioned elsewhere some keyboard means of switching between windows would be needed, Alt+Tab does not switch to/from undocked windows.
I don't think that can be changed with the Qt-DockingWindow used currently (like palette or tool windows in other applications). I guess we need to decide before the release if that is acceptable. There's a way (at least there's code for Qt4) to make the windows proper top-level windows as far as the OS is concerned. I don't know if that's easy to combine with the actual docking/rearrangement part as that most likely requires the Qt-DockingWindow logic.
Right now it seems the undocked view is not really nice to work with (and even broken in Qt 5.2 on MacOS).

MichaelAtOz wrote
Went thru examples, f5/f6 generally OK. At one stage had MDI enabled, an f6 was taking forever (with another F6 also), closed window. Later another window crashed, Exception code: 0xc0000005 Access Violation. Are there likely to be MDI conflicts? Registry?
Hmm, maybe switching the window while the F6 is still running? I'll try some wild window clicking :)...

MichaelAtOz wrote
Suggestion re new examples names/categories:
I've added the suggestions to the wiki page. I guess it makes sense to collect some more ideas as changing the names/folders does create some additional effort to move the test-suite along.
(https://github.com/openscad/openscad/wiki/Examples)
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

jon_bondy
I downloaded

http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64-Installer.exe

and installed it.  When I ran the software, none of the menus worked,
and the UI did not look different at all.  Also, there were no signs of
the installation in the Start menu or on the Desktop.

What am I missing?  Perhaps this conversation and the above link are not
related.  There is a lot of traffic on the OpenSCAD list at the moment...

Jon

On 5/19/2014 9:11 AM, tp3 wrote:

> MichaelAtOz wrote
>> First use, dragging the console bar caused a weird 1/2 detached look, had
>> another tab in the window bar, console was slightly offset form background
>> console with a X close icon. Couldn't reproduce later, suspect a
>> preference was not initialised, and was set properly until when I did
>> view/preferences. (I used the .zip, not the install).
> I think that's a Qt drawing problem. I'm getting that from time to time on
> Linux too. There it goes away by just resizing the window or something
> similar. MXE (http://mxe.cc/ - the project used for cross-building the
> Windows version) seems to have Qt 5.1.0, but on Linux it happens with latest
> Qt 5.2 release. Hopefully this (and some other bugs) get fixed until
> OpenSCAD is released. I did not see any of those errors with Qt 4.8.
>
>
> MichaelAtOz wrote
>> After that both undock/not settings worked well moving windows
>> around/resizing, though as mentioned elsewhere some keyboard means of
>> switching between windows would be needed, Alt+Tab does not switch to/from
>> undocked windows.
> I don't think that can be changed with the Qt-DockingWindow used currently
> (like palette or tool windows in other applications). I guess we need to
> decide before the release if that is acceptable. There's a way (at least
> there's code for Qt4) to make the windows proper top-level windows as far as
> the OS is concerned. I don't know if that's easy to combine with the actual
> docking/rearrangement part as that most likely requires the Qt-DockingWindow
> logic.
> Right now it seems the undocked view is not really nice to work with (and
> even broken in Qt 5.2 on MacOS).
>
>
> MichaelAtOz wrote
>> Went thru examples, f5/f6 generally OK. At one stage had MDI enabled, an
>> f6 was taking forever (with another F6 also), closed window. Later another
>> window crashed, Exception code: 0xc0000005 Access Violation. Are there
>> likely to be MDI conflicts? Registry?
> Hmm, maybe switching the window while the F6 is still running? I'll try some
> wild window clicking :)...
>
>
> MichaelAtOz wrote
>> Suggestion re new examples names/categories:
> I've added the suggestions to the wiki page. I guess it makes sense to
> collect some more ideas as changing the names/folders does create some
> additional effort to move the test-suite along.
> (https://github.com/openscad/openscad/wiki/Examples)
>
>
>
>
> -----
> -- Torsten
> --
> View this message in context: http://forum.openscad.org/Windows-development-snapshot-request-tp7882p7963.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4577 / Virus Database: 3950/7517 - Release Date: 05/18/14
>
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

Oskar
In reply to this post by tp3
tp3 wrote
MichaelAtOz wrote
...some keyboard means of switching between windows would be needed, Alt+Tab does not switch to/from undocked windows.
I don't think that can be changed with the Qt-DockingWindow used currently (like palette or tool windows in other applications). I guess we need to decide before the release if that is acceptable. There's a way (at least there's code for Qt4) to make the windows proper top-level windows as far as the OS is concerned. I don't know if that's easy to combine with the actual docking/rearrangement part as that most likely requires the Qt-DockingWindow logic.
Right now it seems the undocked view is not really nice to work with (and even broken in Qt 5.2 on MacOS).
As you noted, undocked windows seem to mainly be designed to handle palettes, tools, etc, i.e. primarily mouse input driven things. To better follow that use-case, one solution would be to make the preview window instead of the editor window undockable. The keyboard focus would then be on the editor window, which would be switchable with alt-tab etc, and corresponding undocked preview and console windows would be brought to front as expected.

/Oskar
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
In reply to this post by jon_bondy
That's the correct file. I did test install exactly this version (on Windows 7) and it created an entry in the Start menu and seemed to work ok (I'm running in a VM which has no real OpenGL, but I did get some of the examples to render).

Could you please provide some more information about your System? Which Windows version? Maybe it's an access right problem, the installer should ask to elevate privileges when installing "for all users".

What do you mean with "none of the menus worked"?

Maybe try with the ZIP version (http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64.zip). This obviously will not create any shortcuts but it should start when just extracting and running the OpenSCAD.exe.


ciao,
  Torsten.
-- Torsten
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
In reply to this post by Oskar
Oskar wrote
To better follow that use-case, one solution would be to make the preview window instead of the editor window undockable.
The reason for making the view the "main window" is that it's the only window that is not closeable. Both editor and console are optional. With the editor as main window, we would not be able to close it as that would take away the menus too.

I guess I'll have a look at the link Giles posted (http://fleshandmachines.wordpress.com/2011/07/30/pop-out-widget-into-a-separate-window-with-qt/). Unfortunately that is not compatible with Qt5 at all. But maybe it's not too complicated to make it handle both Qt4 and Qt5.
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

kintel
Administrator
In reply to this post by MichaelAtOz
On May 19, 2014, at 01:00 AM, MichaelAtOz <[hidden email]> wrote:

> Suggestion re new examples names/categories:

See https://github.com/openscad/openscad/issues/503

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

Oskar
In reply to this post by tp3
tp3 wrote
Oskar wrote
To better follow that use-case, one solution would be to make the preview window instead of the editor window undockable.
The reason for making the view the "main window" is that it's the only window that is not closeable. Both editor and console are optional. With the editor as main window, we would not be able to close it as that would take away the menus too.
Yes, I realize that, but it doesn't have to be that way. For my own workflow, it makes more sense to have the editor window as the main document window, and see the preview window as a utility window (to for example be hidden or moved to a separate monitor etc.), but people using external editors probably see it a bit differently.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
Oskar wrote
...but people using external editors probably see it a bit differently.
Yup, I guess https://xkcd.com/1172/ applies here :-).

I'll play with the code that would make the editor a "real" window when undocked. Maybe that way we could catch more workflows without breaking others.
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

Oskar
tp3 wrote
Oskar wrote
...but people using external editors probably see it a bit differently.
Yup, I guess https://xkcd.com/1172/ applies here :-).
Are you implying that using the built in editor is a fringe case? :-)
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

jon_bondy
In reply to this post by tp3
Windows 8.0.  When I click on a menu (like File) nothing happens at
all.  In fact, there is nothing novel about the OpenSCAD presentation at
all: it looks just like every other OpenSCAD I have used.

Jon

On 5/19/2014 10:21 AM, tp3 wrote:

> jon_bondy wrote
>> http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64-Installer.exe
> That's the correct file. I did test install exactly this version (on Windows
> 7) and it created an entry in the Start menu and seemed to work ok (I'm
> running in a VM which has no real OpenGL, but I did get some of the examples
> to render).
>
> Could you please provide some more information about your System? Which
> Windows version? Maybe it's an access right problem, the installer should
> ask to elevate privileges when installing "for all users".
>
> What do you mean with "none of the menus worked"?
>
> Maybe try with the ZIP version
> (http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64.zip). This
> obviously will not create any shortcuts but it should start when just
> extracting and running the OpenSCAD.exe.
>
>
> ciao,
>    Torsten.
>
>
>
>
> -----
> -- Torsten
> --
> View this message in context: http://forum.openscad.org/Windows-development-snapshot-request-tp7882p7966.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4577 / Virus Database: 3950/7517 - Release Date: 05/18/14
>
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

jon_bondy
In reply to this post by tp3
The left mouse button does not seem to work at all - I cannot fly around
the 3D object nor can I click on the File menu. But I can open the File
menu with Alt-F.  And I can see nothing about this version of OpenSCAD
that is different than before (other than the EXE is now 40 MB)

Jon

On 5/19/2014 10:21 AM, tp3 wrote:

> jon_bondy wrote
>> http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64-Installer.exe
> That's the correct file. I did test install exactly this version (on Windows
> 7) and it created an entry in the Start menu and seemed to work ok (I'm
> running in a VM which has no real OpenGL, but I did get some of the examples
> to render).
>
> Could you please provide some more information about your System? Which
> Windows version? Maybe it's an access right problem, the installer should
> ask to elevate privileges when installing "for all users".
>
> What do you mean with "none of the menus worked"?
>
> Maybe try with the ZIP version
> (http://files.openscad.org/snapshots/OpenSCAD-2014.05.18-x86-64.zip). This
> obviously will not create any shortcuts but it should start when just
> extracting and running the OpenSCAD.exe.
>
>
> ciao,
>    Torsten.
>
>
>
>
> -----
> -- Torsten
> --
> View this message in context: http://forum.openscad.org/Windows-development-snapshot-request-tp7882p7966.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4577 / Virus Database: 3950/7517 - Release Date: 05/18/14
>
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
jon_bondy wrote
The left mouse button does not seem to work at all - I cannot fly around
the 3D object nor can I click on the File menu. But I can open the File
menu with Alt-F.  And I can see nothing about this version of OpenSCAD
that is different than before (other than the EXE is now 40 MB)
Hmm, that could be yet another Qt5 issue. I think the previous versions were still compiled
with Qt4. Could you please check that by running the following command in the version
that works for you:

C:\Program Files\OpenSCAD>openscad.com --info
OpenSCAD Version: 2014.05.18
Compiler, build date: GCC "4.8.1", May 18 2014
...
Qt version: 5.1.0       <============

-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

MichaelAtOz
Administrator
In reply to this post by jon_bondy
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

MichaelAtOz
Administrator
In reply to this post by jon_bondy
jon_bondy wrote
And I can see nothing about this version of OpenSCAD
that is different than before (other than the EXE is now 40 MB)
Here is a side by side. Are you sure it is the new one running, enter 'echo(version());' & F5.


Yes, EXE growth from 18MB to 40MB is curious...
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

jon_bondy
In reply to this post by tp3
Am I supposed to be running the COM or the EXE?  Does not make a
difference: mouse still does not work, and UI still is vanilla.


OpenSCAD Version: 2014.05.18
Compiler, build date: GCC "4.8.1", May 18 2014
Boost version: 1_53
Eigen version: 3.1.3
CGAL version, kernels: 4.0.2, Cartesian<Gmpq>, Extended_cartesian<Gmpq>,
Epeck
OpenCSG version: OpenCSG 1.3.2
Qt version: 5.1.0
MingW build: MingW64
GLib version: 2.36.3
OPENSCADPATH: <not set>
OpenSCAD library path:


GLEW version: 1.9.0
OpenGL Version: 3.3.11672 Compatibility Profile Context
GL Renderer: ATI Radeon 3000 Graphics
GL Vendor: ATI Technologies Inc.
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: yes
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes
GL context creator: WGL
PNG generator: lodepng
OS info: Microsoft(TM) Windows(TM) 6 2 9200 0x340ea74 amd64
Machine: 8664
OpenGL Program Link OK:
Vertex shader(s) linked, fragment shader(s) linked.
OpenGL Program Validation results:
Validation successful.

On 5/19/2014 5:41 PM, tp3 wrote:

> jon_bondy wrote
>> The left mouse button does not seem to work at all - I cannot fly around
>> the 3D object nor can I click on the File menu. But I can open the File
>> menu with Alt-F.  And I can see nothing about this version of OpenSCAD
>> that is different than before (other than the EXE is now 40 MB)
> Hmm, that could be yet another Qt5 issue. I think the previous versions were
> still compiled
> with Qt4. Could you please check that by running the following command in
> the version
> that works for you:
>
> C:\Program Files\OpenSCAD>openscad.com --info
> OpenSCAD Version: 2014.05.18
> Compiler, build date: GCC "4.8.1", May 18 2014
> ...
> Qt version: 5.1.0       <============
>
>
>
>
>
> -----
> -- Torsten
> --
> View this message in context: http://forum.openscad.org/Windows-development-snapshot-request-tp7882p7986.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4592 / Virus Database: 3950/7520 - Release Date: 05/19/14
>
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

jon_bondy
In reply to this post by MichaelAtOz
Thanks for the screen shots.  Yes, I can see the Editor and Console.  
But I cannot see any functional differences.  Perhaps I do not know what
to look for.

Jon

On 5/19/2014 5:53 PM, MichaelAtOz wrote:

> jon_bondy wrote
>> And I can see nothing about this version of OpenSCAD
>> that is different than before (other than the EXE is now 40 MB)
> Here is a side by side. Are you sure it is the new one running, enter
> 'echo(version());' & F5.
> <http://forum.openscad.org/file/n7988/20140300_vs_20140518.jpg>
>
> Yes, EXE growth from 18MB to 40MB is curious...
>
>
>
>
> --
> View this message in context: http://forum.openscad.org/Windows-development-snapshot-request-tp7882p7988.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4592 / Virus Database: 3950/7520 - Release Date: 05/19/14
>
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Windows development snapshot request

tp3
In reply to this post by jon_bondy
jon_bondy wrote
Am I supposed to be running the COM or the EXE?  Does not make a
difference: mouse still does not work, and UI still is vanilla.
Yes the COM file. I meant the output of the working version. That could help
to validate if that is indeed using an older Qt version. The point is finding the
root cause that is triggering the problem.
-- Torsten
12