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

Excluding apps using the compiled app and GUI versions #107

Closed
hasantahir opened this issue Aug 24, 2022 · 6 comments
Closed

Excluding apps using the compiled app and GUI versions #107

hasantahir opened this issue Aug 24, 2022 · 6 comments

Comments

@hasantahir
Copy link

Hi @sbmpost

I am trying to exclude a couple of apps and I notice that I can only do so by starting the app through the command line. I compile the app using the command:

make clean && make CXXFLAGS="-DOLD_ACTIVATION_METHOD -DEXPERIMENTAL_FOCUS_FIRST -DALTERNATIVE_TASK_SWITCHER" && make install

I tried both the GUI and non-GUI versions of the compiled app and they don't exclude the apps provided in the config file which is made according to instructions in #55. Below are the contents of my config file:

#AutoRaise config file
delay=0
focusDelay=2
warpX=0.5
warpY=0.5
scale=3.5
ignoreApps="TickTick,Zotero"
mouseDelta=11
verbose=true 

However, Zotero and TickTick are not ignored. Same when using the GUI version:

image

Yet when I call autoraise through the command line through the local copy:

./AutoRaise -delay 0 -focusDelay 2 -warpX 0.5 -warpY 0.5 -scale 2.5  -ignoreApps "TickTick,Zotero" -mouseDelta 5 -verbose true

both Zotero and TickTick are excluded. Any suggestions on what could be happening? Thanks

@hasantahir hasantahir changed the title Excluding apps Excluding apps using the compiled app and GUI versions Aug 24, 2022
@sbmpost
Copy link
Owner

sbmpost commented Aug 24, 2022

@hasantahir

The GUI version totally ignores what is in the configuration file I am afraid. The GUI version stores its settings in a different place under the Preferences folder.

It is strange however that when adding those apps in the GUI, it doesn’t work as expected. Have you tried “TickTick,Zotero" with quotes? Or you can also try with Zotero alone and see if that is being picked up correctly in the GUI. If so, you may have uncovered a bug when adding multiple apps.

@hasantahir
Copy link
Author

Thanks for the feedback. So tried inspecting the GUI version and there have been a few more abnormal behaviours.

  1. The ignored app list changes when I restart the GUI version
  2. Zotero alone works fine in the GUI version
  3. Zotero and TickTick don't work even with "Zotero,TickTick" or "TickTick,Zotero" options
  4. The warp feature permanently increases the cursor size which has to be changed back to normal from the preferences. In the video below, the cursor size was increased in one of the previous runs.
  5. TickTick alone behaves abnormally

Hope that the screencast below explains the above better:

Screen.Recording.2022-08-24.at.17.49.18.mp4

@hasantahir
Copy link
Author

Through the command line, things work fine:

Screen.Recording.2022-08-24.at.18.07.17.mp4

@sbmpost
Copy link
Owner

sbmpost commented Aug 24, 2022

@hasantahir
Thanks for the detailed screen recordings. It would seem the GUI version needs some polishing. I will have a look as soon as possible.

P.S: I think the mouse was upscaled but before it could scale down again, AutoRaise was killed (maybe with a killall). That would explain the upscaled mouse pointer.

@sbmpost
Copy link
Owner

sbmpost commented Aug 26, 2022

@hasantahir
I tested the ignoreApps field of the GUI with Notes and TextEdit. Both are correctly ignored.
Can you do the following:

  1. Start the GUI version
  2. Write Zotero,TickTick (without quotes)
  3. Hit the enter/return key

I think you may have missed step 3 (which probably should have been explained as it is a bit counterintuitive)

@hasantahir
Copy link
Author

Great. Yes, upon hitting Enter key both apps are now excluded. Thank you!

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

No branches or pull requests

2 participants