Feature request: Break-away console and editor #233

Closed
korpx opened this Issue Dec 29, 2012 · 9 comments

Comments

Projects
None yet
6 participants
@korpx

korpx commented Dec 29, 2012

It would be useful with an option to undock/break away the console and editor from the main window to allow for a dynamic layout. Nice in multi monitor setups for example, or on small screens where you want the console available but not to take space away from the render view.

@korpx korpx closed this Dec 29, 2012

@korpx korpx reopened this Dec 29, 2012

@donbright

This comment has been minimized.

Show comment Hide comment
@donbright

donbright Dec 29, 2012

Member

As a workaround for dual monitors.... there is a way to use a separate editing program (like emacs, gedit, bbedit, whatever-you-like) with OpenSCAD, many people on the mailing list use this feature. It involves using the "automatic reload" setting on OpenSCAD - then, every time you save the file in your 'chosen editor' it will change within OpenSCAD's preview pane. Additionally, you can hide the editor pane and the log pane within OpenSCAD so you could have one monitor with just the 'preview' and the other monitor with your chosen editor.

Member

donbright commented Dec 29, 2012

As a workaround for dual monitors.... there is a way to use a separate editing program (like emacs, gedit, bbedit, whatever-you-like) with OpenSCAD, many people on the mailing list use this feature. It involves using the "automatic reload" setting on OpenSCAD - then, every time you save the file in your 'chosen editor' it will change within OpenSCAD's preview pane. Additionally, you can hide the editor pane and the log pane within OpenSCAD so you could have one monitor with just the 'preview' and the other monitor with your chosen editor.

@korpx

This comment has been minimized.

Show comment Hide comment
@korpx

korpx Dec 30, 2012

Yes, that works fine for the editor but not the console.

korpx commented Dec 30, 2012

Yes, that works fine for the editor but not the console.

@GilesBathgate

This comment has been minimized.

Show comment Hide comment
@GilesBathgate

GilesBathgate Dec 30, 2012

Contributor
@t-paul

This comment has been minimized.

Show comment Hide comment
@t-paul

t-paul Jan 27, 2014

Member

Looks easy enough to change but conflicts a bit with #451. I've actually tried the way described here (with editor and console converted to dockable windows, so they can be moved to any side of the view pane and could also be made detachable).
This means the output view is the master having the menus (well, on systems <> MacOS) which probably makes sense as this is the only window that is never hidden.

What are the opinions on that?

Member

t-paul commented Jan 27, 2014

Looks easy enough to change but conflicts a bit with #451. I've actually tried the way described here (with editor and console converted to dockable windows, so they can be moved to any side of the view pane and could also be made detachable).
This means the output view is the master having the menus (well, on systems <> MacOS) which probably makes sense as this is the only window that is never hidden.

What are the opinions on that?

@MichaelAtOz

This comment has been minimized.

Show comment Hide comment
@MichaelAtOz

MichaelAtOz Jan 27, 2014

Member

I normally run with editor hidden & notepad++.
Great to be able to dock on different sides (console on the side, as normally monitors are widescreen, so then the render window can be bigger, taking the full height).

When testing, I commonly have multiple OpenSCAD instances running, often different versions.
For detachable windows, there would need to be a means of identifying which panes are related, or something in the window menu (top left corner) etc. to re-dock.

Member

MichaelAtOz commented Jan 27, 2014

I normally run with editor hidden & notepad++.
Great to be able to dock on different sides (console on the side, as normally monitors are widescreen, so then the render window can be bigger, taking the full height).

When testing, I commonly have multiple OpenSCAD instances running, often different versions.
For detachable windows, there would need to be a means of identifying which panes are related, or something in the window menu (top left corner) etc. to re-dock.

@t-paul

This comment has been minimized.

Show comment Hide comment
@t-paul

t-paul Jan 27, 2014

Member

The dockable windows automatically get a small title bar (http://www.flickr.com/photos/96851846@N05/12178985664/). Maybe it's possible to catch the undock event and add the file name while it's undocked?

Member

t-paul commented Jan 27, 2014

The dockable windows automatically get a small title bar (http://www.flickr.com/photos/96851846@N05/12178985664/). Maybe it's possible to catch the undock event and add the file name while it's undocked?

@t-paul

This comment has been minimized.

Show comment Hide comment
@t-paul

t-paul Mar 17, 2014

Member

Yes, it's possible to track undock events and give the undocked windows a title like "Editor - <filename.scad>".

NOTE: Check behavior when exiting the application with the windows closed, start OpenSCAD again and enable the windows. The windows should not come back with zero width or size.

Member

t-paul commented Mar 17, 2014

Yes, it's possible to track undock events and give the undocked windows a title like "Editor - <filename.scad>".

NOTE: Check behavior when exiting the application with the windows closed, start OpenSCAD again and enable the windows. The windows should not come back with zero width or size.

@t-paul t-paul self-assigned this Mar 17, 2014

@laird

This comment has been minimized.

Show comment Hide comment
@laird

laird Mar 18, 2014

I also use an external editor and close the text editor, but it's necessary
to open the text editor to see where errors occur. It would be convenient
if you could hide the text editor, but have it pop open to display errors.

On Mon, Jan 27, 2014 at 4:33 PM, Torsten Paul notifications@github.comwrote:

The dockable windows automatically get a small title bar (
http://www.flickr.com/photos/96851846@N05/12178985664/). Maybe it's
possible to catch the undock event and add the file name while it's
undocked?

Reply to this email directly or view it on GitHubhttps://github.com/openscad/openscad/issues/233#issuecomment-33425399
.

Laird Popkin | Executive Director, Architecture
KAPLAN TECHNOLOGY
Kaplan, Inc. | 6301 Kaplan University Avenue, Fort Lauderdale, FL 33309
tel +1 954 515 4509 | email laird.popkin@kaplan.com

laird commented Mar 18, 2014

I also use an external editor and close the text editor, but it's necessary
to open the text editor to see where errors occur. It would be convenient
if you could hide the text editor, but have it pop open to display errors.

On Mon, Jan 27, 2014 at 4:33 PM, Torsten Paul notifications@github.comwrote:

The dockable windows automatically get a small title bar (
http://www.flickr.com/photos/96851846@N05/12178985664/). Maybe it's
possible to catch the undock event and add the file name while it's
undocked?

Reply to this email directly or view it on GitHubhttps://github.com/openscad/openscad/issues/233#issuecomment-33425399
.

Laird Popkin | Executive Director, Architecture
KAPLAN TECHNOLOGY
Kaplan, Inc. | 6301 Kaplan University Avenue, Fort Lauderdale, FL 33309
tel +1 954 515 4509 | email laird.popkin@kaplan.com

@t-paul

This comment has been minimized.

Show comment Hide comment
@t-paul

t-paul May 13, 2014

Member

Implemented in #787.

Member

t-paul commented May 13, 2014

Implemented in #787.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment