AdGuardForSafari
AdGuardForSafari copied to clipboard
Remove the AdGuard for Safari logo in the dock
The adguard icon launches in my dock every time I boot my Mac. The app Is only "active" for a couple of seconds, and then stays "inactive" in the dock. It would be neat if there were a toggle to hide the icon as there is one for the icon in the menu bar.
@Mizzick is this a MAS build problem or do we have this issue on the standalone build as well?
It's the same with standalone builds. But I guess this is not an issue, it's a normal behaviour.
@Mizzick a normal behavior for an Electron app you mean?:)
Well as I know recently used app icons stays in dock for some time and there is no way to launch without an icon in the dock for electron apps.
@ameshkov wontfix ? most Mac app that don't need user interaction mostly just have a menubar icon (on top) and no Dock icon. Also, I'm not a Electron dev at all and I found how to do it in the official documentation here : https://electronjs.org/docs/api/dock#dockhide-macos
@Mizzick ping.
Btw, why is this issue in the AGH repo?:)
Well I think we can do something with this.
I'm amazed this is still an issue. Way back in august last year I've reported this on Reddit. It was confirmed and was supposed to be fixed "soon". The auto-hide function still doesn't work. And on top of that the app crashes almost every single time it starts up. The older versions never did this. They worked fine, didn't show any dock icons and started without crashing. It shouldn't take more than 6 months to fix startup crashes and hide the stupid dock icon.
I'm amazed this is still an issue
We mistakenly thought that there was no easy way to do this. Just two weeks ago we realized that this was not that difficult.
The auto-hide function still doesn't work
Could you please explain what do you mean by "auto-hide"?
And on top of that the app crashes almost every single time it starts up
Could you please export the crash report next time it happens?
It seems like this was aimed to be added in 1.7 but that didn't seem to happen, then this issue was just closed without comment. Is there any chance for this being added in the future? Thanks!
The dock icon still shows quickly when auto-start is enabled. It steals focus for that time too. Is there a way to start AdGuard in the background without anything show in the dock?
@ameshkov wontfix ? most Mac app that don't need user interaction mostly just have a menubar icon (on top) and no Dock icon. Also, I'm not a Electron dev at all and I found how to do it in the official documentation here : https://electronjs.org/docs/api/dock#dockhide-macos
Thanks for that! Appears not to too difficult to implement this. It is so annoying that every single time there's this quick icon appearing in the dock that steals focus and then disappears again. There is no need for it to show there.
I tried compiling my own version but it seems impossible to compile a version for local usage without creating accounts in several places and even needing a AdGuard membership... which is the weirdest requirement I've seen so far on Github.
I hope someone with more knowledge than me can compile a version of this add-on where the dock icon doesn't show.
It's been many months and this is still a problem with AdGuard for Mac. The icon still pops up in the dock after every single boot. How can no one at the company not find this sufficiently infuriating so as to fix it?
@BrynWithin
Hello there, what version do you use? How often does it happen?
@TheHasagi I installed AdGuard barely two days ago on my new M1 MacBook Air. As far as I'm aware all apps are up to date.
@Oleg-Chashko The icon doesn't disappear from the dock for me. It stays there forever unless I right-click and hide it.
@BrynWithin The icon doesn't disappear from the dock for me. It stays there forever unless I right-click and hide it.
Hello there, this behavior has never been with me with the AdGuard application.
@TheHasagi I installed AdGuard barely two days ago on my new M1 MacBook Air. As far as I'm aware all apps are up to date.
@Oleg-Chashko The icon doesn't disappear from the dock for me. It stays there forever unless I right-click and hide it.
same problem on Version 1.9.13
Tbh, we have no idea how to get rid of that icon. We're using the APIs provided by Electron to hide the dock icon, but they seem to be unreliable. Unfortunately, this is the best we can do at the moment.
If anyone has an idea or a reference to an open source electron app that solves this, please let us know.
Tbh, we have no idea how to get rid of that icon. We're using the APIs provided by Electron to hide the dock icon, but they seem to be unreliable. Unfortunately, this is the best we can do at the moment.
If anyone has an idea or a reference to an open source electron app that solves this, please let us know.
This dock issue is no longer a problem for me. Not sure what changed, but I noticed one day that AdGuard no longer appears in the dock at all. And it seems to be working just fine from the menu bar and starting at each boot.
Tbh, we have no idea how to get rid of that icon. We're using the APIs provided by Electron to hide the dock icon, but they seem to be unreliable. Unfortunately, this is the best we can do at the moment.
If anyone has an idea or a reference to an open source electron app that solves this, please let us know.
I found this thread, it hope this may help. https://stackoverflow.com/questions/620841/how-to-hide-the-dock-icon
I found this thread, it hope this may help. https://stackoverflow.com/questions/620841/how-to-hide-the-dock-icon
I guess experimenting with setActivationPolicy
is possible: https://github.com/AdguardTeam/AdGuardForSafari/issues/612
Are there any updates on this issue? The icon is still there for me. Apps like Noir, Honey and Wipr can launch and stay active without activating the app icon.
same, this is very annoying.
Just unchecklis
Show recent applications in Dock
, my problem solved
@Shiyinq that's not a solution in any way. I use this recent apps part in Dock often.
Hi all, I still have this issue on version 1.11.14 from AppStore.