Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

KiCad does not display correctly. #75

Open
wirano opened this issue Feb 4, 2023 · 5 comments
Open

KiCad does not display correctly. #75

wirano opened this issue Feb 4, 2023 · 5 comments
Labels
source:upstream Bug exists in upstream

Comments

@wirano
Copy link

wirano commented Feb 4, 2023

  • OS: Arch Linux
  • Kernel: 6.1.9-zen1-1-zen
  • DE: Plasma 5.26.5
  • WM: kwin
  • WM Theme: Lightly
  • Plasma Theme: Catppuccin Latte
  • GTK Theme: Catppuccin-Latte-Standard-Teal-Light
  • KiCad version: 7.0.0.rc2.r202.ge8397a33bb-1 (it also could reproduce on 6.0.11-1)

How to reproduce:

  1. Set GTK Theme to Catppuccin
  2. Open KiCad
  3. You will see:

Catppuccin-Latte-Standard-Teal-Light

  1. Change GNOME/GTK Style to Adwaita/Breeze
  2. Open KiCad
  3. It looks with no problem:

Breeze

@covertneko
Copy link

Same here on NixOS using Catppuccin-Mocha-Standard-Mauve-Dark:
image

@MathisP75
Copy link

Same for me. This is a problem from the Colloid theme it is based on, since it does the same when using Colloid.

@covertneko
Copy link

covertneko commented Mar 2, 2023

For anyone who comes across this and wants a quick fix, I've narrowed it down to the following rule at gtk-dark.css:645:

actionbar > revealer > box .linked > button:not(.suggested-action):not(.destructive-action), button {
  transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
  outline: none;
  box-shadow: inset 0 0 0 9999px transparent;
  background-color: rgba(255, 255, 255, 0.08);
  background-image: radial-gradient(circle, transparent 10%, transparent 0%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1000% 1000%;
  color: #FFFFFF;
}

Specifically background-color on the button selector. I've just commented that property out locally because I'm impatient.

As far as I can tell, this comes from here and here, with the color being set here. I'm not entirely sure why this is like this or how to fix it properly, but I'll create an issue upstream.

@electron271
Copy link

The workaround seemingly does not work anymore, I commented this out in gtk-3.0/gtk-dark.css

actionbar > revealer > box .linked > button:not(.suggested-action):not(.destructive-action), button {
  transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
  outline: none;
  box-shadow: inset 0 0 0 9999px transparent;
  /* background-color: rgba(255, 255, 255, 0.08); */
  background-image: radial-gradient(circle, transparent 10%, transparent 0%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1000% 1000%;
  color: #FFFFFF;
}

@nullishamy
Copy link
Contributor

image
Can repro, tested on v1.0.0-rc3. Doesn't seem as bad as the original report, but still broken nonetheless.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
source:upstream Bug exists in upstream
Projects
None yet
Development

No branches or pull requests

6 participants