[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Bug when minimizing MUSHClient and using the System Tray feature
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Bug when minimizing MUSHClient and using the System Tray feature

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Aleron   (2 posts)  [Biography] bio
Date Wed 08 Dec 2004 01:12 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #1 on Wed 08 Dec 2004 01:21 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Aleron   (2 posts)  [Biography] bio
Date Reply #2 on Wed 08 Dec 2004 01:30 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #3 on Wed 08 Dec 2004 07:07 PM (UTC)  quote  ]
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!
[Go to top] top

Posted by Nick Gammon   Australia  (19,363 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Wed 08 Dec 2004 08:25 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #5 on Wed 08 Dec 2004 09:32 PM (UTC)  quote  ]
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!
[Go to top] top

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

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (19,363 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Sat 15 Jan 2005 09:49 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #8 on Tue 25 Jan 2005 11:09 AM (UTC)  quote  ]
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!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #9 on Tue 25 Jan 2005 05:13 PM (UTC)  quote  ]
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!
[Go to top] top

Posted by Nick Gammon   Australia  (19,363 posts)  [Biography] bio   Forum Administrator
Date Reply #10 on Wed 26 Jan 2005 01:26 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Shadowfyr   USA  (1,775 posts)  [Biography] bio
Date Reply #11 on Wed 26 Jan 2005 04:10 AM (UTC)  quote  ]
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...

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #12 on Wed 26 Jan 2005 09:56 AM (UTC)  quote  ]
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!
[Go to top] top

Posted by Shadowfyr   USA  (1,775 posts)  [Biography] bio
Date Reply #13 on Wed 26 Jan 2005 04:53 PM (UTC)  quote  ]
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..

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] 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.


3,905 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]