-
Notifications
You must be signed in to change notification settings - Fork 428
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
G Pro X Superlight 2 invalid LOD setting breaks all DPI settings #2785
Comments
The solution is to quit out of Solaar and remove the entry in ~/.config/solaar/config.yaml for the setting. Did you change the setting using the Solaar GUI? If so, what did you do to get an invalid entry there? |
Sorry, if my issue isn't as clear as I thought. It was late and I was tired, so the phrasing might not be the best.
Yeah, removing
By changing LOD to anything. Solaar will not let me set a valid value (e.g. the default value of 2) as it is claimed to be incomplete (anything below 100 is considered incomplete by Solaar in my case). If set to 100 and above, the value composed of X DPI, Y DPI and LOD becomes invalid as a whole (the r/w-error / the `ValueError' in the console out). So basically the DPI settings as a whole become bricked when the LOD is changed to anything, as any input of the LOD is either invalid or incomplete. As I said, I also see a |
So you were able to use the Solaar GUI to change the value to an invalid one? That looks like the bug that needs to be fixed. |
Exactly. Additionally, I was unable to set a valid one. Sorry if my issue was a bit confusing. |
PR #2806 might help with your problem. Please download the PR, quit out of Solaar, run Solaar, and try to change the LOD value for the DPI. See if you can change the LOD to an invalid number. Check ~/.config/solaar/config.yaml to see if the value you changed to is there. Quit out of Solaar and run it again. If there are problems, run Solaar as To clone and use Solar from its GitHub repository
Run Solaar as bin/solaar from this directory. To run PR #2806, first clone Solaar if you have not already done so and cd to the clone directory. The first time you download the pull request, fetch it into a new branch and checkout that branch, as in:
To download a new version of the pull request, fetch it and then set your pull branch to the new fetch, as in:
|
Information
uname -srmo
): Linux 6.1.119-1-MANJARO x86_64 GNU/Linuxsolaar show
:~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug
Hey guys, so tried to use Solaar with my brand new Logitech G Pro X Superlight 2. When playing around with the DPI settings, I accidentally set "LOD" to 100. As you can see from the log it says that the value
{0: 1400, 1: 1400, 2: 100}
is invalid (obviously, duh). So i tried to change it back to 2, but i can't as the triangle says it's incomplete (see first screenshot). Since this whole value is invalid now, I cannot change any other DPI setting either (see second screenshot). A workaround is to delete the current config.yaml and restart.Also, when changing the dropdown to "LOD", the console says
AttributeError: 'ChoiceControlBig' object has no attribute 'remove_all'
, I don't know if this is related or not.To Reproduce
Screenshots
![Image](https://private-user-images.githubusercontent.com/12013202/406586254-c7766e58-f0ad-4b13-bd29-d4cd1aef8000.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MzY3ODIsIm5iZiI6MTczOTkzNjQ4MiwicGF0aCI6Ii8xMjAxMzIwMi80MDY1ODYyNTQtYzc3NjZlNTgtZjBhZC00YjEzLWJkMjktZDRjZDFhZWY4MDAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE5VDAzNDEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2NTFjNmNlMGEyM2ZhY2QzNjU1MzgzN2JkM2Y5OTc1NDFkMjVhZWM0ZjYwYTE4NDllMzAyMjFmYjAyMTlmOTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.r1Io0_pSz2GDQyDYUAUgtc0N0Q4qrRid7_Y3aGNGggQ)
![Image](https://private-user-images.githubusercontent.com/12013202/406586285-62e42b59-176e-4d9e-9ac3-cd1e1dcebf49.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MzY3ODIsIm5iZiI6MTczOTkzNjQ4MiwicGF0aCI6Ii8xMjAxMzIwMi80MDY1ODYyODUtNjJlNDJiNTktMTc2ZS00ZDllLTlhYzMtY2QxZTFkY2ViZjQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE5VDAzNDEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFjNzllOTVlZjc5OTcxMTZiMmViMGQwYzM2MzVkOWEzNzg5ZGZjNzM4MzFkOWJkM2UwMjE1MTkyZTNiYzIxMDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.T0BkeAPIixDBnFp_X8543A2Ri0yFNoCNnzNabf-5pv8)
The text was updated successfully, but these errors were encountered: