hidden icon indicating copy to clipboard operation
hidden copied to clipboard

Icon moves from shown to hidden by itself

Open mlcampbe opened this issue 4 years ago • 10 comments
trafficstars

Describe the bug

I've got a couple swiftBar (xbar) plugins that create icons in the system bar. I have moved 1 of these icons to the shown section. However, after some period of time I notice that the icon has moved back into the hidden section by itself. Note that this only occurs with my swiftBar plugins. Other icons for "real" apps either say hidden or shown as I set them.

Expected behaviour

If I hide an icon it should stay hidden

Environment

You may write here the specifications like the version of the project, operating system, or hardware if applicable.

Desktop (please complete the following information):

  • OS: Cataling 10.15.7
  • SwiftBar version 1.3.0
  • hiddenBar version 1.8 (12)

mlcampbe avatar Aug 03 '21 21:08 mlcampbe

I may have figured out my issue and it was because of a misunderstanding of how the app works. When you look at the preferences pane there is the image that shows a divider between the hidden and shown icons. In my case I was dragging the icons to the right side of the < sign (next to the date). This worked for a period of time then they moved back to hidden. But, in looking closer the actual shown area is between the divider and the < sign. For example:

hidden icons | shown icons < date

It seems when I place the icons in the "shown icons" location that they are sticking there, at least for now they are.

mlcampbe avatar Aug 04 '21 19:08 mlcampbe

I spoke too soon. The icons still move themselves back to the hidden state after some time no matter where I place them. But it only seems to affect the icons associated with my swiftBar shell scripts for some reason.

mlcampbe avatar Aug 04 '21 19:08 mlcampbe

Many apps create a new icon when trigger related functions. They look the same but actually add a new icon to the menu bar. That is the reason why they move to the most right-hand side.

viettrungphan avatar Aug 05 '21 03:08 viettrungphan

@viettrungphan How about add an option to choose where to show the new icon?

nico-zck avatar Aug 17 '21 02:08 nico-zck

@nico-zck we can't. menu bar positions controlled by OS.

viettrungphan avatar Aug 23 '21 04:08 viettrungphan

@nico-zck we can't. menu bar positions controlled by OS.

I think it can be achieved by setting the whitelist mode. At present, the newly added icon will be automatically hidden, that is, we need to manually pull it out of the hidden list. Can you give an option to let the user choose whether the new icon is hidden or not?

zhengyongtao avatar Apr 12 '22 03:04 zhengyongtao

Any updates on this? I am seeing this behaviour with Dropbox and Docker; they are moved to the hidden area on every reboot.

SantiagoSchez avatar May 02 '22 08:05 SantiagoSchez

Have that problem with Mailmate as well. It shows icons just conditionally. Would it be possible to give the option that new items are not hidden automatically?

SaschaKrug avatar May 02 '22 09:05 SaschaKrug

I am facing this issue with Dato upcoming events in the menubar. It creates a new icon for each upcoming event but all goes directly to the hidden section and I fail to join the events as they are hidden. Would we great to change where the new icon gets added like Bartender.

amitsingh-007 avatar Sep 15 '22 05:09 amitsingh-007