Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Bug when minimizing MUSHClient and using the System Tray feature

Bug when minimizing MUSHClient and using the System Tray feature

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Aleron   (2 posts)  Bio
Date Wed 08 Dec 2004 01:12 PM (UTC)
Message
I turned the options on so that MUSHClient will display an icon in the system tray, and also so that it will remove its button from the taskbar when minimized. When I have these options toggled this way, and I minimize MUSHClient, I should expect MUSHClient to be fully hidden from my desktop, save for the tray icon. However, MUSHClient appears minimized in the lower left of the desktop, in the same way a MDI child would be minimized in an MDI application. I'm not sure if you meant to do this, if you did, I definitly can't see why. This minimize behavior does not crop up when MUSHClient is set to appear in the task and the tray.

Looking at MUSHClient through Spy++ while it is minimized like this, you can see that it has been minimized (i.e., ShowWindow(hWnd, SW_MINIMIZE)). If however, you are wanting to completely hide the window (which I would think you are, but I may be wrong), you will want to do ShowWindow(hWnd, SW_HIDE).

Just want to also say that I think MUSHClient is a great piece of software, and I definitely don't regret spending the money to register it. Great software, and keep up the good work! :)

-Brad Crosby
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 08 Dec 2004 01:21 PM (UTC)
Message
I believe the way it is minimized is different for each OS, which is why I believe Nick knows about this. See this topic on what I'm explaining:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4596

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Aleron   (2 posts)  Bio
Date Reply #2 on Wed 08 Dec 2004 01:30 PM (UTC)
Message
Well, I'm a developer, and I'm saying that if, when the user clicks the minimize button in the system menu for the app, if you ShowWindow(hWnd, SW_HIDE), it will completely hide the application. The reason it is showing up minimized is because it isn't being "hidden", it is only being minimized, which does in fact "hide" it on some OSs. This should cause it to function correctly for all OSs.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Wed 08 Dec 2004 07:07 PM (UTC)
Message
There was this discussion on another thread, and that's what I suggested (although I didn't provide the actual system call). MC should be hidden when someone minimizes it and reshown when they restore it. It's really just one line of code.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 08 Dec 2004 08:25 PM (UTC)
Message
I'll take a look, but I think at present I don't handle the minimize option at all but let the defaults to it, which may be doing it wrongly.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #5 on Wed 08 Dec 2004 09:32 PM (UTC)
Message
By the way, if you want to keep the minimizing effect in XP (where the window title bar gradually moves downwards) you could first minimize the window and then hide it, and do the opposite to restore it.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #6 on Thu 13 Jan 2005 03:46 PM (UTC)
Message
Any progress on this? It's really quite annoying :/

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #7 on Sat 15 Jan 2005 09:49 PM (UTC)
Message
Ah no, no progress at present. I'll look into it for the next version.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #8 on Tue 25 Jan 2005 11:09 AM (UTC)
Message
You can do this by doing a
ShowWindow(hWnd, SW_HIDE)
on minimize, and a
ShowWindow(hWnd, SW_SHOW)
when the user clicks on the tray icon.
I'm pushing this because it's quite annoying, and I have to use a 3rd party utility to hide it every time I minimize it :( Renders the tray option quite useless...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #9 on Tue 25 Jan 2005 05:13 PM (UTC)
Message
Could this be a priority, pretty pretty please? :( It is "I must release a new version this instant" annoying.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #10 on Wed 26 Jan 2005 01:26 AM (UTC)
Message
Look, this is what annoys me about these cosmetic improvements to the client. Under the original Windows (like 95, NT 4) there wasn't this concept of minimize to system tray.

Now there is, and there was clamouring for MUSHclient to support it, and it isn't done absolutely perfectly, now it is a "a new version is required today to fix it" issue.

Just don't use it if it annoys you.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #11 on Wed 26 Jan 2005 04:10 AM (UTC)
Message
Yes. Poromenos is going to far with that. Though, I do agree that 'works perfectly' is a relative term when considering it doesn't work like 99% of the programs that use it. But People need to have patience...
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #12 on Wed 26 Jan 2005 09:56 AM (UTC)
Message
First of all, I didn't force you to implement it, I was just making a request. Secondly, as far as I know, it's only two lines of code that would fix it (I don't know if you tried it and it doesn't work, you never said so).
Quote:

Just don't use it if it annoys you.

The alternative is more annoying.
Quote:

It doesn't work like 99% of the programs that use it.

I haven't seen a program whose minimize to tray feature doesn't work right, who's in that 99%?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #13 on Wed 26 Jan 2005 04:53 PM (UTC)
Message
Quote:
I haven't seen a program whose minimize to tray feature doesn't work right, who's in that 99%?


I think you are getting delusional now.. I said that Mushclient's behaviour was 'not' like the 99% that use it the way we want Mushclient to actually work. I have however seen ones where the tray icon is there, even when not minimized to the tray and where minimizing the windows doesn't minimize to tray, but closing the window does. Azureus for example. But that is only used in programs where the application is intended to be run as an 'always on, until I kill it' type service, like a P2P server (which Azureus also works as), Instant Messagers, etc. Thus 100% of all programs don't all minimize to tray. They behave differently for very specific reasons though, which Mushclient doesn't have a valid one for.

Now, if you meant your prior comment as a joke, not as literally "I must have it now!", then OK. Otherwise chill out..
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


39,935 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.