Skip to content

Alpha value bug when set to 0 #79

Open

Description

@Lukoning

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

Activity

  1. Satanarious commented on Jul 1, 2024

    @Satanarious
    Owner

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

  2. Lukoning commented on Jul 1, 2024

    @Lukoning
    ContributorAuthor

    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

  3. Satanarious commented on Jul 1, 2024

    @Satanarious
    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 ?

  4. self-assigned this
    on Jul 1, 2024
  5. added this to the Next Release milestone on Jul 1, 2024
  6. Lukoning commented on Jul 1, 2024

    @Lukoning
    ContributorAuthor

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

    If needed:
    user_settings.json

  7. Satanarious commented on Jul 1, 2024

    @Satanarious
    Owner

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

  8. Satanarious commented on Jul 1, 2024

    @Satanarious
    Owner

    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.

  9. changed the title [-]Invalid literal for int() with base 16: "[/-] [+]Alpha value bug when set to 0[/+] on Jul 1, 2024
  10. Lukoning commented on Jul 1, 2024

    @Lukoning
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Labels

⚠causing crashCausing the application to crash🐛bugSomething isn't working

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions