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

Is there a way that single clicking the application icon will still open the application? #11

Closed
mal0121 opened this issue Dec 2, 2022 · 17 comments
Labels
bug Something isn't working

Comments

@mal0121
Copy link

mal0121 commented Dec 2, 2022

Love the application. My biggest problem is I'm very used to using one tap on icons to open them. It seems now that if you have the preview one tap will just close the preview and I have to tap again to open the window. If there is only one window on the application running it doesn't seem as necessary to select preview.

Another problem I have found is that with modify click behaviour toggled one tap opens the window for a second but then closes again, unsure why it is doing that. I think this is a one tap setting issue as there is no problem with a click.

Apologies if this has already been discussed / mentioned!

@sdburrows
Copy link

sdburrows commented Dec 3, 2022

I think what you are describing is what I am reporting under Issues #8. I agree this is a wonderful app in terms of productivity but the behaviour for click to toggle hiding and showing can sometimes be unpredictable.

@ssuess
Copy link

ssuess commented Dec 15, 2022

Same issue here, just switched from HyperDock. Mostly loving it, but would love the same behaviour I had before where a simple tap on the icon in the dock would activate the app. For now I have to click on the app icon in the dock, or hover to the window (even if there is only one) and tap there.

@steventheworker
Copy link
Owner

Will have an update for this within the week.

@githubuser88442
Copy link

Hi, any update on this?
And as an extra question - is there anything that can be done about the ~0.333s delay when clicking on an app to minimize it mentioned here, or is that some inherit limitation?

Other than that, thanks for all the work!

@steventheworker
Copy link
Owner

steventheworker commented Feb 25, 2023

@githubuser88442 v2.7 removed the 0.333s delay to hide the app, there is still one more delay that happens when you click dock icons while AltTab previews are showing, but that one is 0.167sec so it's less noticeable.

Really hoping to get single taps working and issue #8 fixed in v2.8. Currently it's inconsistent, but v2.7 made some progress on this front, however it's still very inconsistent (it only consistently works, if you give the trackpad the softest possible tap and w/o moving a pixel, for some reason)

@Moolynx
Copy link

Moolynx commented Mar 2, 2023

@steventheworker, I don't know if its me or the app. But click to minimise stopped working in the latest release. I have tried restarting my laptop but it is still broken.

@steventheworker
Copy link
Owner

steventheworker commented Mar 2, 2023

@Moolynx the yellow button on the previews? That should still work. No idea why it would persist between restarts... Was it working before?

You can try redownloading and replacing the .app. If that doesn't work still, try it with an older version before swapping back to the latest.

@briandpetersonOG
Copy link

@Moolynx same here on a M1 Mac Book Pro. I reverted to 2.5.

@Moolynx
Copy link

Moolynx commented Mar 3, 2023

@Moolynx the yellow button on the previews? That should still work. No idea why it would persist between restarts... Was it working before?

You can try redownloading and replacing the .app. If that doesn't work still, try it with an older version before swapping back to the latest.

@steventheworker I don't mean the yellow button but the app icon on the dock. In the previous version, I was able to minimise an app by clicking on the dock icon but it doesn't work anymore since this release. Seems @briandpetersonOG also has this problem too.

@briandpetersonOG
Copy link

Yes that's the functionality I lost. For example I have Google Calendar as a PWA on my dock. I might be working in another app. Instead of issuing a key command to "alt tab" I click the calendar open (from the dock). Then when I see I am not missing a meeting, I re-click the calendar icon, and it goes away leaving where I left off. This is one of the biggest misses on Apple's Dock vs Windows in my opinion.

@steventheworker
Copy link
Owner

steventheworker commented Mar 4, 2023

@Moolynx, @briandpetersonOG I just reinstalled it on a virtual machine and it is working.

Pretty sure it's Input Monitoring permissions that are being ignored. Also the recent version asks for Screen Recording, maybe having that permission unchecked prevents the app from recognizing the other permissions.

  1. Update to v2.7 again
  2. Try re-checking "Input Monitoring" in Settings, restart DockAltTab
  3. If it still doesn't work, try checking the Screen Recording permission, restart DockAltTab
  4. If it still doesn't work, quit the app and run tccutil reset All com.steventheworker.DockAltTab
  5. Quit the Settings app, run DockAltTab and re-add all permissions (Accessibility, Input Monitoring, Screen Recording)

@Moolynx
Copy link

Moolynx commented Mar 4, 2023

@steventheworker The permission for Input Monitoring for DockAltTab was already set to allow. I actually removed it from the list and it worked again. I don't know why. DockAltTab didn't ask for permission again too.

@ssuess
Copy link

ssuess commented Mar 7, 2023

It is hard to tell from the conversation above, is single clicking on the app icon now supposed to activate the app or not?

@briandpetersonOG
Copy link

@steventheworker One of those things worked! Thank you!

@briandpetersonOG
Copy link

@ssuess Yes it does work

@steventheworker
Copy link
Owner

@ssuess sadly no, single clicking is mostly not working, sorry for the confusion.

I need to experiment more with trackpad / "tap" specific event listeners, since it's not working with regular mouseup / mousedown events... I have a hunch it's one of the variables recommended on Xcode, prefixed with "KCGEvent" or "NSEventMask".

@steventheworker steventheworker added the bug Something isn't working label Apr 15, 2023
@steventheworker
Copy link
Owner

Completely fixed in v2.91.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants