Menu

#28 Minimized Programs have tray icon hidden

v1.0 (example)
open
nobody
None
5
2017-05-11
2015-10-11
David Lind
No

I have Windows 7 64-bit. Sometimes when I use RBTray to minimize Google Chrome or Excel 2003 to the tray, the icon is hidden. I unhide it but the problem happens again at some point in the future.

Discussion

  • mmortal03

    mmortal03 - 2016-07-18

    Yeah, I'm seeing this a lot more now that I'm trying to use RBTray in Windows 10. I hide the window and no icon shows in the tray. How have you been able to unhide these windows if the icon in the tray is hidden? I ask because I've personally had to use an old utility called winexp (by Nirsoft) to unhide them, but it's not always easy to find the process listed there.

     
  • David Lind

    David Lind - 2016-07-18

    The icon can be unhidden by clicking on the tray arrow and unhiding it as normal.

     
  • mmortal03

    mmortal03 - 2016-07-18

    Ah, we're talking about two different things then. The way to solve your issue might be to go into "Customize Tray Icons" and set RBTray to "Show icon and notifications".

    The problem I'm running into is that the tray icon sometimes doesn't appear in the system tray at all. :)

     
  • David Lind

    David Lind - 2016-07-18

    I already know how to have icons shown all the time. The problem is that sometimes when you minimize a program to the tray that the icon doesn't appear in the tray even when you've set the tray to always show it. Instead it appears in the hidden tray icons section that you can see when you click on the arrow.

     
  • mmortal03

    mmortal03 - 2016-07-18

    Interesting. Well, then, two issues to solve. When's the last time the original developers, Nikolay Redko or J.D. Purcell, even worked on this? Maybe someone else could take on the code to do some quality testing?

     
  • CoderB

    CoderB - 2017-05-11

    i'm having the same issue.

    i'm a programmer and looked at the code. i think i have a fix, but i don't have c/c++ dev tools installed and i don't want to be a maintainer.

    i would recommend checking the return values of the calls to Shell_NotifyIcon(NIM_ADD, &nid) (and all api/function calls) and NOT calling ShowWindows(SW_HIDE) if it fails.

    in general there is minimal return code / error checking. the code is very short so someone should go through it an be diligent about checking ALL return codes and altering the code paths appropriately (propagate failures and act accordingly).

     

    Last edit: CoderB 2017-05-11
  • CoderB

    CoderB - 2017-05-11

    found a guy on github that could be up for the task. fingers crossed
    https://github.com/benbuck/rbtray/issues/2

     

Log in to post a comment.

MongoDB Logo MongoDB