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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Switching beetween apps and (almost) instantly triggering loop lags #340

Open
2 tasks done
hxeo opened this issue Apr 25, 2024 · 5 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@hxeo
Copy link

hxeo commented Apr 25, 2024

Bug Description

When switching between apps really quickly by tabbing between them & then triggering loop to move the windows via keybinds I sometimes experience how I have to trigger it once again. So my feeling is that it does not register the loop trigger, when quickly switching between tabs.

Steps To Reproduce

  1. Open two apps or windows
  2. Select one app and trigger loop to + move it to the left side of the screen
  3. Tab to the other app and repeat 2. but move it to the right side of the screen

Expected Behavior

I should not have to trigger it multiple times until it actually allows me to move the app / window.

Actual Behavior

Step 3. requires sometimes (I think depending on the speed of the trigger after tabbing to the application) a second trigger.

Screenshots

No response

MacOS Version

14.3.1 (23D60)

Loop Version

Version 1.0.0-beta.15 (817)

Additional Context

No response

Final Checks

  • My issue title is descriptive
  • This is a single bug (multiple bugs should be reported individually)
@hxeo hxeo added the bug Something isn't working label Apr 25, 2024
@MrKai77
Copy link
Owner

MrKai77 commented Apr 25, 2024

Thanks for the bug report! Unfortunately, I am unable to reproduce this on my side. Would you be able to send a screen recording?

So my feeling is that it does not register the loop trigger, when quickly switching between tabs.

Actually, Loop only adds the event monitor at app launch, and is kept active until Loop is quit. So, it is possible that the cause of this issue comes from the system as well.

@hxeo
Copy link
Author

hxeo commented Apr 26, 2024

Before I start recording, could it be caused by my configuration. I am not using the "globe" or the "fn" button is the trigger but a combination of "control" + "option" since I dont have the "fn" button there on my external keyboard and also because of habit from magnet (which is not open so it should not be interfering).

@MrKai77
Copy link
Owner

MrKai77 commented Apr 26, 2024

Yes, I also don't use the globe key. I use the right control key, so maybe that will work for you?

But either way, all trigger key combinations are captured using the same event monitor, so I don't think that the trigger key is the problem here.

@hxeo
Copy link
Author

hxeo commented Apr 26, 2024

I changed it to the left control key - same outcome. I restarted my machine as well. No improvements. Sometimes even the app crashed for me now, at least the menu icon of Loop disappeared suddenly. Anyways, here is the rec:

In the bottom left corner you can see what keys I am pressing.

loop_bug_demo.mov

@MrKai77
Copy link
Owner

MrKai77 commented Apr 26, 2024

Hmm.. As for the app crashing, I am confident that #166 is the cause.

But I am still unable to reproduce this bug, which is really odd, so this may take a while to be fixed :(

@MrKai77 MrKai77 self-assigned this Apr 26, 2024
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

2 participants