skiff-windows-app
skiff-windows-app copied to clipboard
Minimize/Close to Tray then launch from taskbar creates duplicate processes
On the windows client, when you set it to "Minimize to Tray" or "Close to Tray", when you click the icon on taskbar again, it will open a new process. So basically, clicking on the taskbar should open the current one minimized to the tray.
Hello there. Nope, this is not so (in case you understand it, you you can simply look at the code and check that is only showing/hiding the window). You will see a new App process in the Task Manager, but is the same process moving from background to foreground, and back.
Even if it is opening the same process, it still does open new windows and create new icons in the tray. Closing one of the Skiff processes does crash many of the windows, which means it is using some shared processes but using new GUI windows. This might be solved by running a new process that simply caches the window and shows/hides the window itself, not just the background process.
|
This is what I mean V
Oh but it works like you describe, is just using standard window hide/show (again, look at the code if you want), so what you're experiencing is not an intentional result of the code itself, but a bug of some sorts. My bet is in the process crashing and so old icons remaining? You may need to offer more context, because I've never seen that, and of course is not how it works.
Are you running it by yourself only once?
I can reproduce this @Novack.
- Launch Skiff and configure it to minimize at startup, and close/minimize to tray
- Pin Skiff to the Taskbar
- Close the Skiff window
- Click the pinned Taskbar icon to launch another instance of Skiff
Ohh I get it now, thank you. Will jump into this later today.
With some delay on my part, but this got fixed on recent commits, and will be available on next release.
Can confirm