Allow Open to Foreground/Background Configuration
This ticket should be considered an enhancement/feature request, not a bug.
My Setup
-
Operating System: Windows 7 Professional, x64
-
App Version: 2.15.5
-
Installation type: Windows Executable via rocket.chat/install
-
[x] I have tested with the latest version
-
[x] I can simulate the issue easily
Description
Upon first installation and running of the Rocket.Chat Electron Application in Windows, the application launches without issue--however, it is automatically placed in the background, directly into the system tray. This is likely requested/desired behavior for most users (myself included); however, our company is...less enthralled by this behavior. I have noticed in my testing, that the application or Windows "learns" over time whether or not to open directly to the system tray, or to the foreground...however, it would be much easier to provide a toggle/configuration option, such that our users would be able to easily modify this behavior going forward.
I will admit, a lot of this comes from the common users' lack of knowledge of the "system tray"...so, while its great for those of use who know what and how the system tray works; it tends to be very confusing for users without such experience. Offering a toggle almost anywhere that's relatively accessible, either by the end user or by their IT team, would all much of this headache and confusion to be mitigated.
Current Behavior
When launching Rocket.Chat.Electron, either at start or by selecting the taskbar/startmenu/desktop shortcut, the application opens to tray. After bringing that to the foreground a few times post-installation, the application will "learn" to open directly to the foreground. However, there is no clearly define option in the GUI to modify this behavior directly.
Expected Behavior
Even with our old-and-deprecated software, we're still used to the option to manually enable or disable opening directly to the foreground or background, depending on our preferences. For example, I run CoreTemp on my Windows machines, as a basic means of monitoring the performance and state of my machine(s). Within the settings for the application, I'm able to manually define whether or not the application opens directly to the system tray or not.
Since posting this enhancement request, I've since found the window-state-main.json file, which contains (and controls) the window state. I've found that while there could be a workaround with some scripting to force isHidden = true; this often produces other unexpected behavior in regards to window state. This does allow me to rationalize with our users how to use Rocket.Chat.Electron as "seamlessly" as possible compared to our previous application; however, a menu/tray item, allowing a "never hidden" or similar option would still be quite handy...and, to me, more user friendly overall.
Closing this, as the majority of this issue was fixed in an earlier release of the electron application (allowing the taskbar/start-menu shortcut to bring the application to the foreground).
Maybe this can be addressed at a later date when more...pressing matters are attended to.