pop-os / libcosmic

WIP library for COSMIC applications
https://pop-os.github.io/libcosmic/cosmic/
Mozilla Public License 2.0
427 stars 41 forks source link

Text in terminal "cruncles" when embedded in VSCode #510

Open Kartonrealista opened 3 months ago

Kartonrealista commented 3 months ago

image Font used: fira mono

mmstick commented 3 months ago

VS Code uses its own custom terminal. Completely unrelated to cosmic-term. Either way, I don't see this issue in VS Code from my end. Make sure you've enabled Wayland support. https://github.com/pop-os/cosmic-comp/issues/397#issuecomment-2102693129

Kartonrealista commented 3 months ago

Actually this is a bug that occurs when you set primary_container in a theme to

primary_container_bg: Some((
        (rgb values)
        alpha: 0.75,
    )),

After changing alpha to 1.0 it works correctly. Maybe this could get moved somewhere else, or not if it's too much of an edge case.

jackpot51 commented 3 months ago

I am confused, what component of COSMIC is this about?

Kartonrealista commented 3 months ago

Apparently the themes you can load in cosmic-settings -> Desktop -> Appearance. If you edit the .ron file and change the opacity of the primary_container_bg this happens. I was mistaken about where this came from so I posted it here

jackpot51 commented 3 months ago

Ok, I see. @mmstick this probably relates to any theme export we are doing for VS Code.