Comments (4)
I presume Sergey isn't talking about a bug in the odinary minimize to the
taskbar, but a request to have SuperPutty minimze to the system tray /
notification area.
It's simple to implement if there is just one instance of SuperPutty running,
but what it there are are more? If there are multiple instances should they
minimize to multiple icons in the system tray, that would be messy.
Perhaps minimizing to the system tray should only be allowed in the 'Only allow
single instance' flag is set.
Rob
Original comment by [email protected]
on 7 May 2012 at 8:24
- Added labels: ****
- Removed labels: ****
from superputty.
For myself I have implemented mimimze to tray and have created a patch for
frmSuperPutty.cs which I will upload. Of course there should be an option
whether it should mimimize to tray or to task bar which I have not implemented.
I will not upload a patch for frmSuperPutty.Designer.cs because Visual C#
always re-arranges everything when I edit a form in the Designer.
I used a NotifyIcon called mynotifyicon and a ContextMenuStrip called
mynotifyicon_contextMenuStrip1. mynotifyicon_contextMenuStrip1 only has a
single ToolStripMenuItem called mynotifyicon_toolStripExit for exiting
SuperPutty w/o confirmation. The properties of the objects are as follows:
// mynotifyicon
//
this.mynotifyicon.ContextMenuStrip = this.mynotifyicon_contextMenuStrip1;
this.mynotifyicon.Icon = ((System.Drawing.Icon)(resources.GetObject("mynotifyicon.Icon")));
this.mynotifyicon.Text = "SuperPutty";
// I used single click for restoring the window
this.mynotifyicon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.mynotifyicon_MouseClick);
//
// mynotifyicon_contextMenuStrip1
//
this.mynotifyicon_contextMenuStrip1.AutoSize = false;
this.mynotifyicon_contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(0, 0);
this.mynotifyicon_contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mynotifyicon_toolStripExit});
this.mynotifyicon_contextMenuStrip1.Name = "mynotifyicon_contextMenuStrip1";
this.mynotifyicon_contextMenuStrip1.ShowImageMargin = false;
this.mynotifyicon_contextMenuStrip1.ShowItemToolTips = false;
this.mynotifyicon_contextMenuStrip1.Size = new System.Drawing.Size(100, 26);
//
// mynotifyicon_toolStripExit
//
this.mynotifyicon_toolStripExit.AutoSize = false;
this.mynotifyicon_toolStripExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.mynotifyicon_toolStripExit.Name = "mynotifyicon_toolStripExit";
this.mynotifyicon_toolStripExit.Size = new System.Drawing.Size(100, 22);
this.mynotifyicon_toolStripExit.Text = "Exit SuperPutty";
this.mynotifyicon_toolStripExit.Click += new System.EventHandler(this.mynotifyicon_toolStripExit_Click);
frmSuperPutty.Designer.cs also needs:
this.Resize += new System.EventHandler(this.frmSuperPutty_Resize);
Perhaps this could be integrated in some future release.
Original comment by [email protected]
on 11 May 2012 at 11:29
- Added labels: ****
- Removed labels: ****
from superputty.
Patch file
Original comment by [email protected]
on 11 May 2012 at 11:31
- Added labels: ****
- Removed labels: ****
Attachments:
from superputty.
Thanks for the patch.
added in along with a user pref (default off)
Original comment by [email protected]
on 3 Jun 2012 at 1:28
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from superputty.
Related Issues (20)
- AboutBox: Urls are detected but nothing happens on mouse click HOT 2
- Possibility to have SuperPutty sessions w/o associated PuTTY Session Profile HOT 1
- Cannot open superputty HOT 5
- Setting to have the hostname not clear after opening a new session HOT 1
- Layout crashes out if Session dock is autohidden HOT 1
- Profiles HOT 2
- After using context menu of tray icon to exit SuperPutty it can't be started again HOT 5
- Change of option "Restore Window Size and Location" is only recognized after restart HOT 2
- Edit Session: "Default Settings" appears twice in combo box "PuTTY Session Profile" HOT 3
- Clear Window bar on closing session HOT 2
- TreeView: Wrong behavior of double click on +/- icon HOT 3
- Can't drag folders around the sessions tree HOT 6
- New Option: "Always start maximized" HOT 5
- Putty windows doesn't' attach HOT 5
- Error in folder name validation HOT 3
- SCP - Show double columns like FileZilla does HOT 4
- Post-login commands HOT 1
- Honor xterm escape sequences for tab titles HOT 6
- Show existing PuTTY registry sessions without needing to import them HOT 1
- Creating new session is possible even is no hostname/ip is enterd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superputty.