Closed addisg closed 10 years ago
Good to know. Was this Windows 8 or 8.1? I've never seen the pinned programs also serve as the notifyicon. Was this a feature in Windows 8 or was it in 7?
I can look to see if I can duplicate that functionality.
Running on Windows 8.1 I just duplicated it on 8.0 also
See attached Image, Even if everything is minimized you can see that Citrix, Lync og PowerShell ISE is running, PowerShell is not running so that icon is "flat" -- In that screenshot i also have your FrameWork running but it doesn't show that it's running because the application is in the notify area.
Yeah, that is standard "minimized" behavior. The current status is mimized and remove from status bar which wouldn't highlight that pinned icon. I can add an option to show minimized in status bar or not. That will cause the icon to show "running".
For me this isn't such a problem, But if the mission is to try to have more and more people use the FrameWork to more easily use PowerShell, This might be a thing to change.
I just gave it to a Ops guy to try out some script... When I looked at his screen a day later.. He hadn't noticed that it was running in the notification area and was running 6-7 instances of the FrameWork :) :)
I have added a ShowInTaskbar setting. This is in the development branch, not the master. When you set ShowInTaskbar to Yes it will show it in the taskbar normally when minimized. If it is set to No it will hide from the taskbar and show the icon in the notify icon area.
Would you please test and let me know if this is what you were looking for?
If you need me to recompile the binary for development, let me know.
Will try it out later today
Going to close this as it's been open for almost 3 months. If this is still an issue, please reopen and comment.
Thank you!
When you minimize a running PoshSec FrameWork window it doesn't go to the startbar but instead it goes to the Notification Area of Windows (that's fine)
But running Windows 8, If you pin PoshSec FrameWork to the startbar and then you minimize the window it should show on the pinned Icon that's it's running but it keeps the same behaviour and goes to the Notification Area and the Pinned Icon doesn't show a running program.
Just a small idea but it would be great that it behaved like other programs when running from a pinned icon.