benbuck / rbtray

A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
GNU General Public License v2.0
1.03k stars 86 forks source link

Make tray icon stay in tray even after opening the program. #28

Open JonatannossreP opened 5 years ago

JonatannossreP commented 5 years ago

It would be nice to have a option to turn on a static tray icon, so that the icon stays even after you have opened the application.

benbuck commented 5 years ago

Hi @JonatannossreP,

I wouldn't object to that being the default behavior. The only reason for the current behavior is historical, the original RBTray I forked this from worked that way. I think it would simplify the code to remove all that and let users manage the visibility of the tray icon with the standard Windows settings, but the downside would be that there would be no way to have it be invisible as it is currently. I would love to know how other users felt about this, does anyone else have an opinion?

Thanks, Benbuck

zalmanlew commented 4 years ago

@benbuck I think having a setting to be able to turn this feature on/off would be useful.

benbuck commented 4 years ago

@JonatannossreP and @WELZ-gh,

How would you feel about not having the option, but instead I just made RBTray always show a tray icon for itself?

Thanks, Benbuck

zalmanlew commented 4 years ago

@benbuck from what I understood, the OP was asking about programs in general, not specifically RBTray.

ie;

  1. Send Chrome to tray
  2. Open Chrome from tray Currently the icon goes away from tray, I think they are requesting to leave the icon in tray.
benbuck commented 4 years ago

Hi @WELZ-gh,

Re-reading the original request, I think you're correct.

Thanks, Benbuck

benbuck commented 4 years ago

Hi @JonatannossreP,

Assuming this new understanding is correct, are you asking to have a setting for all icons to behave this way, or for icons to be configured individually?

Thanks, Benbuck

JonatannossreP commented 4 years ago

WELZ-gh it right, I am talking about all programs. If it is possible to have each program configured individually that would be a plus, but if that is not possible I rather have all icons stay in tray rather than having them disapearing as soon as the program is re-open.

Another thing that would be nice would be if they tray icon could show a litte orange (or customizable colored) dot in the corner of the tray icon, to indicate what would normaly be a flashing background for a icon on the task bar. E.g. it would be nice if e.g. a message program with no tray feature could have a indication dot on the tray icon when you have gotten a message since you can not see any icon flashing in the taskbar when it is in the tray currently.

OndrejPetrzilka commented 4 years ago

I suggest this: Add menu item to tray icon menu named: Keep in tray When clicked tray icon for this app wouldn't disappear when window is restored Setting for each app could be saved into registry or other place

image

DrSapling commented 1 year ago

(I know it's been a long time but) In addition to this it would be awesome if RBtray cashed what programs are set to be kept in tray, and when they are opened after being closed to appear back in the tray, not on the task bar.