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

Opacity gets stuck and menu becomes unusable #447

Closed
5 tasks done
MrAmii opened this issue Jan 27, 2025 · 3 comments
Closed
5 tasks done

Opacity gets stuck and menu becomes unusable #447

MrAmii opened this issue Jan 27, 2025 · 3 comments
Labels

Comments

@MrAmii
Copy link

MrAmii commented Jan 27, 2025

Checks

  • I have checked existing issues.
  • I have checked the help page.
  • This is actually a bug and not a feature.
  • I am using the latest extension version.

Operating System

Windows 11

VSCode Version

1.96.0

Extension Version

3.1.0

Settings

    "background.windowBackgrounds": [
        "c:/Users/{USER}/Git/matrix-crt-vscode-theme/images/matrix_crt_1.png"
    ],
    "background.backgroundAlignment": [
        "Center Center",
        "Center Center",
        "Center Center",
        "Center Center"
    ],
    "background.backgroundOpacity": [
        0.075,
        0.1,
        0.1,
        0.1
    ],
    "background.backgroundRepeat": [
        "Repeat",
        "No Repeat",
        "No Repeat",
        "No Repeat"
    ],
    "background.backgroundSize": [
        "Auto",
        "Cover",
        "Cover",
        "Cover"

Settings Verification

  • I have made sure to remove any sensitive or personal information from the above input.

Issue

It's as the description says. I lowered opacity to 0.075 and after which it refused to update back to .1 or any other value because when setting and hitting enter it would simply close the menu out, not allowing me to save the changes. Tried to change the value in the settings.json, still no luck, uninstalled the app yet it persisted. uninstalled VSCode and reinstalling solved the problem, so I decided to reinstall the app and continue using it because it's a great way to add a CRT pixel texture to the foreground, not really a background app perse.

How to replicate

I believe it happens when you lower your opacity value to very low levels and perhaps outside of a normal range like .05 or .15, I had changed it from .05 to .075 and that's when the issue arised.

@MrAmii MrAmii added the bug label Jan 27, 2025
@Katsute
Copy link
Member

Katsute commented Jan 28, 2025

I was not able to replicate the issue, opacities using edge values were still saving correctly. Please attach a video showing the issue if possible. A popup will usually appear when using values outside the normal range, please also let me know if this appeared when changing the value.

Also note: modifying the settings json or uninstalling the extension does not trigger a background update, for any changes you need to use the Background: Uninstall or Background: Install command in the command palette. If the background is hiding everything you can do ctrl + shift + p to open the palette then type Background: Uninstall then press enter to clear the current installed background. Alternatively you can manually fix the issue by following the directions here.

@MrAmii
Copy link
Author

MrAmii commented Jan 28, 2025

That actually fixed the issue entirely. I background uninstalled, uninstalled from the extensions tab, reinstalled and I was able to change my value again, seeing is how when I set it back to 0.8 it was stuck again and wouldn't take me back to the menu when I set it. Now I can't reproduce the problem either, I've tried several ways, I could reproduce easily before but after that Background: Uninstall it's impossible. Thank you for the amazing extension.

@Katsute
Copy link
Member

Katsute commented Jan 30, 2025

Closing this since it can't be replicated, if it occurs in the future you can open a new issue.

@Katsute Katsute closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2025
@kdevbot kdevbot bot locked and limited conversation to collaborators Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants