presenter icon indicating copy to clipboard operation
presenter copied to clipboard

Double taskbar icon in Mac

Open Harjot1Singh opened this issue 5 years ago • 9 comments

image

Harjot1Singh avatar Nov 08 '19 16:11 Harjot1Singh

It's "the Dock"

sarabveer avatar Nov 08 '19 16:11 sarabveer

i think this comes from the OS notifications lib

Harjot1Singh avatar Nov 15 '19 00:11 Harjot1Singh

@AkalUstat reported that this is still an issue

Harjot1Singh avatar Jan 15 '20 02:01 Harjot1Singh

Yes it opens two instances. image

If you quit the one on the left, then it closes both ShabadOS windows but one still remains in dock. image

But, if you close the window first for the right side one and then you quit it from dock then one instance keeps running (the window for one is not closed).

saihaj avatar Mar 31 '20 22:03 saihaj

So each new presenter window is a new instance of electron... so basically it adds it to the dock. We can find a way to group those together and that might solve this issue.

saihaj avatar Apr 12 '20 03:04 saihaj

I currently have a single display for Mac, and therefore a single presenter window - are you sure it’s multiple instances? I suppose there is at least 3 processes running: main, renderer, and server

Harjot1Singh avatar Apr 12 '20 07:04 Harjot1Singh

I have an external monitor connected. It opens up two presenter windows and shows me two icons in dock.

saihaj avatar Apr 12 '20 12:04 saihaj

We can try using requestSingleInstanceLock()

saihaj avatar Jul 17 '20 18:07 saihaj

Using requestSingleInstanceLock will prevent more than one instance being opened, and also won’t be allowed for MAS (although we’re not necessarily going down that route at the moment)

On 17 Jul 2020, at 19:15, ਸਹਜਪ੍ਰੀਤ ਸਿੰਘ [email protected] wrote:

 We can try using requestSingleInstanceLock()

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

Harjot1Singh avatar Jul 17 '20 18:07 Harjot1Singh