Blender Underground

Away from the watchful eye of The Man
It is currently Tue May 21, 2013 5:28 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Mon Dec 28, 2009 1:50 pm 
Offline
Specialist
User avatar

Joined: Mon Apr 14, 2008 11:00 pm
Posts: 2315
Location: Secret Basement HQ in Salt-Lake City
This does not effect many of the Linux users, and i'm not sure if it's an issue with Mac users but windows users are forced to deal with the ugly step-brother of blender that is the lame console window that opens up with blender.

Both of these separate windows must be running at all times for blender to run and while it has it uses, especially with python scripting related tasks, It's annoying as hell that if you accidentally close the console window, blender goes with it.

2.5 i see has a console with in it's possible view windows that can be opened up.

Image

as always, click the smaller image for a much larger version...

why not combine the two consoles into one and clean up our task bar making it's less likely to lose anything form an accidental closure of the Annoying pop under?

that's just me, but I'm sure I'm not the only one that feels this way...

_________________
When all else fails... Keep shooting at it!...


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Mon Dec 28, 2009 5:21 pm 
Offline
Director
User avatar

Joined: Wed Sep 10, 2008 7:27 am
Posts: 5390
this interactive console is already in blender 2.49 ... and 2.4(less) I think.


but yea, why not including the output console inside blender.
that would be nice.

_________________
Some days you’re the pigeon, some days you’re the statue.


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Mon Dec 28, 2009 8:15 pm 
Offline
Specialist
User avatar

Joined: Mon Apr 14, 2008 11:00 pm
Posts: 2315
Location: Secret Basement HQ in Salt-Lake City
it would cut down on my accidental closures of blender for sure...

_________________
When all else fails... Keep shooting at it!...


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Mon Dec 28, 2009 9:58 pm 
Offline
Specialist
User avatar

Joined: Wed Dec 24, 2008 8:01 am
Posts: 3498
Although I have found it useful in the past, to close blender with this after I've jammed it by asking it to do something ludicrous. It was nice not to have to pull up the task manager just to end a program that's "not responding".

_________________
"Why do we cry at a funeral and rejoice at a birth? Because we are not the person involved!" - Mark Twain


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Tue Dec 29, 2009 12:00 am 
Offline
Specialist
User avatar

Joined: Mon Apr 14, 2008 11:00 pm
Posts: 2315
Location: Secret Basement HQ in Salt-Lake City
I've crashed blender to a not responding state before and did try and close it by killing the Console window, it still took me going into the task manager to close down blender and start from my last auto save point.

_________________
When all else fails... Keep shooting at it!...


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Tue Dec 29, 2009 12:04 am 
Offline
Specialist
User avatar

Joined: Mon Apr 14, 2008 11:00 pm
Posts: 2315
Location: Secret Basement HQ in Salt-Lake City
further more... I ask you this, other then the outputs of Python Scripts and some import/export messages and what not, what real good is there to having a separate window for the console? If blender crashes due to an error, that window is killed out before you can read it, and if blender stop responding nothing I've noticed gets outputted to that console most of the time.

_________________
When all else fails... Keep shooting at it!...


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Wed Dec 30, 2009 10:08 pm 
Offline
Specialist
User avatar

Joined: Wed Dec 24, 2008 8:01 am
Posts: 3498
I guess.

And it is sort of annoying to have it take up space on my menubar down there. As long as they incorporate an error log or something, yeah, the ought to get rid of it.

_________________
"Why do we cry at a funeral and rejoice at a birth? Because we are not the person involved!" - Mark Twain


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Fri Jan 01, 2010 4:57 am 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
You know, I got used to it fairly quickly. I usually have a console open in Linux so having one open in Windows isn't a big deal. I guess it is a matter of taste...

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Wed Mar 03, 2010 4:24 pm 
Offline
Operative

Joined: Mon Nov 24, 2008 7:08 am
Posts: 159
i use it to close out of blender if it freezes up, closes instantly for me and blender is not liking my new laptop for some reason so its been useful for that

aside from that, i don't really see the purpose of it being a separate window


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Wed Mar 03, 2010 5:51 pm 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
Thing is, I don't think it's really Blender that needs that window open. It's all Python's doing. At least that is the only thing that uses it.

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Thu Mar 04, 2010 5:52 am 
Offline
Agent
User avatar

Joined: Sun Apr 12, 2009 3:51 pm
Posts: 522
Location: Michigan
Well there might be a work around in windows itself for this. I might could offer a small program you could run that would hide the window. But I get this console window on windows machines without python so it is definately Blender and the way it is compiled. In fact, C++ will do the same thing unless you run this code:

Code:
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <iostream>
int main()
{
HWND hWnd = GetConsoleWindow();
ShowWindow( hWnd, SW_HIDE );

return 0;
}


So if I can find the window handle in the API, it could be set to hidden by running a 3rd party program. Of course I agree the console is used for debug info and I know it can installed to the blender as a script window. I just have to remember the script and where I saw it.

JAB

Ok now I found it, in the script window you go to System and Interactive Python Console. Also I could write you up a small program to hide/unhide the secondary console but there is one like this already: http://www.elongsoft.com/hidewindow/hidewindow.htm
However it has some drawbacks, begger window on start up and it must remain running.

This one is better: http://www.window-hide.com/

I know I could make one to hide and exit or unhide and exit unless you like the hotkey feature.

_________________
Image

WARNING: I am armed with an apocalypse gun, but I am out of ammo.


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Thu Mar 04, 2010 6:23 pm 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
I know it is Blender creating it but it is Python using it. It is started when looking for Python and everything Python related. In short, if Blender didn't use Python, I don't think it would have that console.

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject: Re: Get rid of the secondary "Console Window" with 2.5?
PostPosted: Thu Mar 04, 2010 7:21 pm 
Offline
Operative
User avatar

Joined: Sat Sep 05, 2009 4:23 am
Posts: 291
I actually remember reading somewhere that they can get rid of that extra window. It was a matter of actually redoing the code so it hides that window.

_________________
* Unless otherwise stated at the time of post via direct comment or logo overlay on content anything I create and or post on Blender Underground is released under the following licence.
* Attribution-Noncommercial-Share Alike 2.5 Australia


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr