Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-hide menu bar icons. #22

Open
Mortennn opened this issue Oct 25, 2018 · 36 comments
Open

Auto-hide menu bar icons. #22

Mortennn opened this issue Oct 25, 2018 · 36 comments
Labels
enhancement New feature or request

Comments

@Mortennn
Copy link
Owner

No description provided.

@LinusGeffarth
Copy link

Even with #23 implemented, I feel like this should also be a feature

@Najtram
Copy link

Najtram commented Oct 29, 2018

I love this app. Would be nice to have an autohide after 5 seconds?

@Mortennn
Copy link
Owner Author

I am working on it😀

@Najtram
Copy link

Najtram commented Oct 29, 2018

GREAT, can't wait.

@gingerbeardman
Copy link
Contributor

+1

@twiceyuan
Copy link

Can it listen menu bar focus event? I hope it can auto hide when menu bar lost focus.

@flypenguin
Copy link

that would be super awesome! since @Mortennn said he's working on it ... any progress? ;)

@liyuxi
Copy link

liyuxi commented May 28, 2019

have any progess now?

我正在做😀

@peppy
Copy link

peppy commented Jun 28, 2019

Would love to see rehide-after-delay functionality. Also, is there any reason this is not open source? I'd happily contribute this change if it was.

@gingerbeardman
Copy link
Contributor

Same @peppy. I've found an old version in a fork but it feels like this could/should be easier?

@Tydox
Copy link

Tydox commented Jul 9, 2019

I would also love this, auto hide after 15\30 seconds, or X amount of time.

@gingerbeardman
Copy link
Contributor

Here is the fork of 2.2.0
https://github.com/gingerbeardman/Dozer

@Tydox
Copy link

Tydox commented Jul 9, 2019

I mean I am using 3.0.5 already, not sure what I am suppose to do with what you sent, I am missing the cue here or what?
Thanks nonetheless.

@gingerbeardman
Copy link
Contributor

Given that v3 source code has been removed, possibly abandoned, perhaps the only option is if we add the features ourselves to v2 and go from there? Just a thought.

@Tydox
Copy link

Tydox commented Jul 9, 2019

Makes sense.
I don’t have much time on my hands but I might check with some friends maybe we can make a new app since this is not updated anymore :(

It is fairly simple in terms of what’s needed.
Animation in/out
Auto hide
Button to hide/show
Region parameters
Menu interactive functions
Icon

I could be missing some but this is what I was thinking to build...

Did the dev abandon this project?
How different is v2 from v3 in terms of stability and features?

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 3, 2019

You can test this in master9390ba7.

Checkout CONTRIBUTING.md on how to build Dozer.

@gingerbeardman
Copy link
Contributor

Thanks Morten!

@gingerbeardman
Copy link
Contributor

I built it, and this feature seems a bit buggy.

  • the delay is inconsistent - not always 10 seconds
  • the app has crashed with the dozer bar being half closed (one dot) and unresponsive.

I'm not sure why. Maybe a timers not being reset?

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 6, 2019

  1. The 10 seconds delay resets if you drag one of the status bar icons or if you interact with a status bar icon. Though, I did find the auto-hide not working when the preferences window were open. It will get fixed before release.
  2. Can you reproduce this?

@gingerbeardman
Copy link
Contributor

  1. OK
  2. It's happened multiple times, but I have not yet tried to reproduce it on demand.

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 6, 2019

If you got time, it would be great if you could try to reproduce it.

@gingerbeardman
Copy link
Contributor

gingerbeardman commented Aug 6, 2019

I will try.

Meanwhile, I have found that the timeout still hides them even if I am interacting with them.

In the video below I click to open the Dozer bar, then wait 5 or so seconds and click Alfred menu item to open and close it. Then I wait and Dozer auto closes in only a few seconds, whereas I would expect 10 seconds. Dozer Preferences is not open.

Video: https://imgur.com/a/Fx1R9E2

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 7, 2019

The issue should be resolved now.

I have moved the code detecting if the user is dragging some icons to another branch because there were too many issues involved. IMO 10 seconds should be enough to rearrange the status bar icons.

In my testing, auto-hide works pretty well now.

@gingerbeardman
Copy link
Contributor

Something has gone wrong and there are missing files in the repo as it stands (eg. no Xcode project file)

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 7, 2019

use make build. The Xcode project file is generated.

@gingerbeardman
Copy link
Contributor

Ah, yes! I had figured that out once before. 😬

@gingerbeardman
Copy link
Contributor

gingerbeardman commented Aug 8, 2019

OK, I have built debug version.

I upgraded to Mojave only recently, last weekend, I am not sure if the Dozer beta freezing was on High Sierra. Will keep watching.

I usually build Archive for release version but this fails (have tried restarting my Mac) if I change the signing in any way. Have to keep it as None/None/None for it to build release version.

Screen shot 2019-08-08 at 13 42 30

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 9, 2019

Could you click on the error to see which script is failing?

You can safely delete the script and then archive because it is probably just one of the scripts required to sign the application properly for distribution.

@Mortennn
Copy link
Owner Author

Mortennn commented Aug 11, 2019

@gingerbeardman The new features are available in beta.1.

@gingerbeardman
Copy link
Contributor

Thanks! I've been using a build from a couple of days ago so will switch over.

@SaddemAmine
Copy link

Did we eventually get this feature ?

@gingerbeardman
Copy link
Contributor

gingerbeardman commented Sep 14, 2023

@SaddemAmine yes

  • left click: everything left of the second dot will auto-hide
  • alt + left click: everything left of the third dot will auto-hide

Let us know how you get on.

@SaddemAmine
Copy link

@gingerbeardman That part works great, unfortunately I can't choose how long it takes before hiding the icons.
10 seconds feels too short and being able to change that value would be great.

@gingerbeardman
Copy link
Contributor

I'll look into it, it does annoy me sometimes. Also I think there's one place where the timer is not being reset.

@SaddemAmine
Copy link

I never used Swift but I'll see what I can do as well.

@gingerbeardman
Copy link
Contributor

I just checked my build and it has the timeout modifiable.

I'm using aonez (author of Keka app) custom Apple Silicon build.
https://github.com/aonez/Dozer/releases/tag/v4.2.1-silicon

Screen shot 2023-09-15 at 16 52 56

Screen shot 2023-09-15 at 16 52 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants