lzh0379 / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

"Sessions" and "Layouts" are always shown - command-line mode #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I use SuperPutty with GNS3 (Network Simulator) and there SuperPutty is started 
from command line, which works great (check last comment from 
http://code.google.com/p/superputty/wiki/Documentation)
It also has to be a portable application, having all config files in 
application folder, which also works by setting the "Settings Folder" value to 
"." (+ moving the file SuperPutty.settings in the same folder with 
SuperPutty.exe) and setting "putty.exe Location" to "putty.exe" (+ placing 
PuTTY.exe in the same folder with SuperPutty.exe).
Anyway this will be complicated because it requires to have .NET Framework 
installed.

I need to have a clean nice window without any toolbar, statusbar, "Sessions" 
or "Layouts" all the time.
This works ok by normal SuperPutty opening, but from command line it is always 
showing "Sessions" and "Layouts"! (Of course those two can be manually close 
after the application is started, but...)

Can you add a option in "SuperPutty.settings" similar to 
"ShowStatusBar/ShowToolBarConnections" for "Sessions" and "Layouts" ?

[What steps will reproduce the problem?]
1. Configure SuperPutty according to the attached config file. (copy that file 
in the same folder with SuperPutty.exe)
2. Start SuperPutty normally. (all are good, "Sessions" and "Layouts" are NOT 
shown)
3. Close SuperPutty
4. Start SuperPutty from command line: "SuperPutty.exe -telnet 127.0.0.1:2500"
5. SuperPutty is starting a PuTTY session in a tab (all ok, but "Sessions" and 
"Layouts" are shown now. I think that is not loading the layout when command 
line is used)

PS: If "Restrict Content to Document Tabs" is "False" this is happening all the 
time, not only from command line.

[What version of the product are you using? On what operating system?]
v1.3.0.3 - beta, Windows Vista/7, 64Bit, .NET Framework 4

Feature request:
In "View->Toolbars" add the option to hide the Menubar.
To show back the Menubar add a option in main window title menu (right click on 
title bar + Show the Menubar)

Thanks.

Original issue reported on code.google.com by nini...@gmail.com on 8 Aug 2012 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
ok, sounds like the default layout is kicking in on the command line mode.

i'll look into it.

Original comment by btatey...@gmail.com on 13 Aug 2012 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by btatey...@gmail.com on 13 Aug 2012 at 1:52

GoogleCodeExporter commented 9 years ago
not loading the default session when opened from command line

Original comment by btatey...@gmail.com on 13 Aug 2012 at 2:33

GoogleCodeExporter commented 9 years ago
Thanks, it works now ;)

Original comment by nini...@gmail.com on 13 Aug 2012 at 7:12