DC++ should not minimize to tray when i click on "Show Desktop" button

Bug #307665 reported by Jota.Ce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DC++
Confirmed
Low
Unassigned

Bug Description

That's it.

When i click on "Show Desktop" quick launch button, then DC++ section in task bar disappear and gets "minimized to tray".

Afaik "Show Desktop" button effect is *not* sending a message to all windows to make them minimize by themselves (and that would cause DC to go to tray). I think the message it sends to windows is like: set your status to "not visible".

Tags: dwt win32-ui
Revision history for this message
poy (poy) wrote :

yes, and when clicking "Show desktop" again, all other minimized windows are restored back but DC++ isn't...

Changed in dcplusplus:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
poy (poy) wrote :

this has been bothering me as well so i decided to see what messages Windows sends on "Show desktop" and it only sends normal "minimize" / "maximize" messages; no way to tell whether the message was generated by "Show desktop" or not.

looks like the only solution for us is to disable the "Minimize to tray" option in Settings > Appearance.

Changed in dcplusplus:
status: Confirmed → Won't Fix
Revision history for this message
Jota.Ce (psidtg) wrote :

I'll only say... this is working correctly in eMule, why not in DC++ ??

I know eMule minimizes as normal, and goes to tray when you click on "." button, so the problem is different.

And uTorrent has the same behaviour as DC++.

You might consider adding that "." button and disable that "Minimize to tray" checkbox by default.

Revision history for this message
poy (poy) wrote :

the dot button is an interesting idea but it strays away from normal Windows behavior; also, i wonder how well it plays with theming applications like WindowBlinds which also add their share of buttons?
in any case this doesn't seem like an easy addition...

Changed in dcplusplus:
status: Won't Fix → Confirmed
Revision history for this message
Jota.Ce (psidtg) wrote :

But you could add a "Minimize to tray" button just below close button, for example.

In that case, that would be outside title bar, and inside menu bar, located in far right.

A "Minimize to tray" hotkey would be great also.

With those 2 things, i'd uncheck that checkbox in settings for sure.

Revision history for this message
UrsusStar (sweet0220) wrote :

u can go to Settings/Apperance and untick the 3rd box = [Minimize to tray]
dc will stop disapearing from task bar and window will be restored to full size same as other apps minimaized if you eg click show desktop/ restore desktop

Revision history for this message
poy (poy) wrote :

the grey area on the top left is called the "non-client area" and as far as i know, painting in there is very hard...

i am all for a shortcut key to reduce as icon, what do you propose?

Revision history for this message
Jota.Ce (psidtg) wrote :

You could add a "Minimize to tray" button to the toolbar itself... (top right) but if there's an ESC hotkey i won't use that button anymore xD

If no button is added, settings should have 2 radio buttons with these 2 options:
 - Minimize to tray
 - Minimize to taskbar (and <ESC> minimizes to tray)

Fredrik Ullner (ullner)
tags: added: dwt win32-ui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.