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

Cannot set default auto profile for specific device #727

Closed
1 task done
github2023-blip opened this issue Feb 17, 2023 · 3 comments · Fixed by #729
Closed
1 task done

Cannot set default auto profile for specific device #727

github2023-blip opened this issue Feb 17, 2023 · 3 comments · Fixed by #729
Labels
bug Something isn't working

Comments

@github2023-blip
Copy link

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

First I want to say I am impressed how well AntiMicroX works already! Plugging the controller in, specifying custom shortcuts and auto switching profiles generally work as expected. Thank you very much!

There is one issue (or maybe I just miss something, if so, please excuse me), it seems I cannot set a default profile for a specific controller. If I understand the default checkbox correctly, it should only work, if no window property is selected (the option to select the profile as default is inactivated when setting a window property - see screenshot). Instead the programm fails to save the default profile due to a non matching window property.

Using the all device profile switching between the custom profile and the default works.
But I intend to use more than one device (not yet tested) and a default for each device would be wonderful.

I did not find any meaningful messages in the log file.

Thank you again and any help is appreciated!

Expected Behavior

Create a default auto profile for a specific device.

Steps To Reproduce

  • Go to Settings -> Auto Profile
  • Add auto profile
  • Select/browse profile
  • Select device (and acknowledge that this selection will be used instead of the all default profile option)
  • Select checkbox "Set as Default for Controller"
  • Click "Ok"
  • Warning/info message pops up (see screenshot)

Environment

Program Version 3.3.3
Program Compiled on Feb 16 2023 at 17:23:48
Built Against SDL 2.26.3
Running With SDL 2.26.3
Using Qt 5.15.8
Using Event Handler: XTest
Compositor type: x11
Host OS: arch Version: unknown Architecture: x86_64

Anything else?

2023-02-17_window_prop_excludes_default

2023-02-17_default_needs_window_prop

@github2023-blip github2023-blip added the bug Something isn't working label Feb 17, 2023
@pktiuk
Copy link
Member

pktiuk commented Feb 19, 2023

You are right.
Selecting option Set as default for Controller should disable this warning window.
I will look into this

@github2023-blip
Copy link
Author

Thank you for the very quick fix!

pktiuk added a commit that referenced this issue Feb 19, 2023
@pktiuk
Copy link
Member

pktiuk commented Mar 18, 2023

BTW @frealgagu
Could you start using flag -DANTIMICROX_PKG_VERSION (aur repo package or something similar) in arch builds? It would help me to check type and source of package.

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

Successfully merging a pull request may close this issue.

2 participants