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

Alpha value bug when set to 0 #79

Open
Lukoning opened this issue Jul 1, 2024 · 7 comments
Open

Alpha value bug when set to 0 #79

Lukoning opened this issue Jul 1, 2024 · 7 comments
Assignees
Labels
🐛bug Something isn't working ⚠causing crash Causing the application to crash
Milestone

Comments

@Lukoning
Copy link
Contributor

Lukoning commented Jul 1, 2024

I had frequently changed config in TranslucentFlyoutsConfig before the error
Trigger process: simply double-click TranslucentFlyoutsConfig.exe
屏幕截图 2024-07-01 151248

I tried the following:
Restart TranslucentFlyoutsConfig
Restart TranslucentFlyouts V2
Sign out & sign in Windows
Restart Windows
Replace TranslucentFlyoutsConfig with V1.4.2 Release from GitHub
Replace TranslucentFlyoutsConfig with V1.4.0 Release from GitHub

Unfortunately, although TranslucentFlyouts V2 is working correctly, TranslucentFlyoutsConfig is still... :(
屏幕截图 2024-07-01 151248

@Satanarious
Copy link
Owner

Did you, by any chance, edit the registry or the JSON files containing the user data manually?

@Lukoning
Copy link
Contributor Author

Lukoning commented Jul 1, 2024

Did you, by any chance, edit the registry or the JSON files containing the user data manually?

I haven't touched any registry or JSON except zh-cn.json and hi-in.json

@Satanarious
Copy link
Owner

Okay, I will look into this. It's probably something that I overlooked while fixing the colours.
Can you share your Assets/db/user_settings.json ?

@Satanarious Satanarious self-assigned this Jul 1, 2024
@Satanarious Satanarious added the 🐛bug Something isn't working label Jul 1, 2024
@Satanarious Satanarious added this to the Next Release milestone Jul 1, 2024
@Lukoning
Copy link
Contributor Author

Lukoning commented Jul 1, 2024

This JSON file was probably replaced when I tried to replace files from GitHub.

If needed:
user_settings.json

@Satanarious
Copy link
Owner

Thank you for providing the file. I have identified the problem; It will be fixed soon.

@Satanarious
Copy link
Owner

Satanarious commented Jul 1, 2024

For the time being, you can get it fixed by following the below-mentioned steps:

  • Open the 'Registry Editor' by searching for it in the start menu.
  • In the address bar, type HKEY_CURRENT_USER\SOFTWARE\TranslucentFlyouts and press enter.
  • Delete the values DarkModeBorderColor and LightModeBorderColor
  • Run 'TranslucentFlyoutsConfig.exe' again.

You probably set the alpha value for those to 0, which caused this bug and, hence, the error.
Let me know if this fixes it.

@Satanarious Satanarious added the ⚠causing crash Causing the application to crash label Jul 1, 2024
@Satanarious Satanarious changed the title Invalid literal for int() with base 16: " Alpha value bug when set to 0 Jul 1, 2024
@Lukoning
Copy link
Contributor Author

Lukoning commented Jul 1, 2024

For the time being, you can get it fixed by following the below-mentioned steps:

  • Open the 'Registry Editor' by searching for it in the start menu.
  • In the address bar, type HKEY_CURRENT_USER\SOFTWARE\TranslucentFlyouts and press enter.
  • Delete the values DarkModeBorderColor and LightModeBorderColor
  • Run 'TranslucentFlyoutsConfig.exe' again.

You probably set the alpha value for those to 0, which caused this bug and, hence, the error. Let me know if this fixes it.

It's OK:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working ⚠causing crash Causing the application to crash
Projects
Development

No branches or pull requests

2 participants