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

Bug in APC Customize UI++ Extension Causing Gray and Non-Functional New Windows in VS Code 1.93.0 // Erro na Extensão APC Customize UI++ Causa Janelas Novas Cinzas e Não Funcionais no VS Code 1.93.0 #223

Open
Nashiizu opened this issue Sep 8, 2024 · 1 comment

Comments

@Nashiizu
Copy link

Nashiizu commented Sep 8, 2024

ENGLISH
I’m experiencing an issue with the APC Customize UI++ extension and the apc.electron package in VS Code. When I open a new window, it becomes bugged and gray, displaying no content, while the original window works fine. To temporarily fix this, I had to comment out the following lines in the settings.json:

// "apc.electron": {
// "titleBarStyle": "hiddenInset",
// },
// "apc.header": {
// "height": 36
// },
// "apc.listRow": {
// "height": 24
// },
// "apc.font.family": "Inter",
// "apc.stylesheet": {
// ".title-label > h2": "display: none",
// ".editor-actions": "display: none",
// ".nosider .inline-tabs-placeholder": "width: 75px",
// ".pane-header": "padding: 0 8px",
// ".pane-body": "padding: 8px",
// ".split-view-view:first-child .pane-header": "display: none !important;",
// ".monaco-list-row": "border-radius: 4px;",
// ".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;"
// },

I would like to use this custom style again, but I’m unable to due to conflicts that cause VS Code to malfunction. My VS Code version is 1.93.0.

PORTUGUÊS
Estou enfrentando um problema com a extensão APC Customize UI++ e o pacote apc.electron no VS Code. Quando abro uma nova janela, ela fica bugada e cinza, sem exibir o conteúdo, enquanto a janela original funciona normalmente. Para corrigir temporariamente, precisei comentar as seguintes linhas no settings.json:

// "apc.electron": {
// "titleBarStyle": "hiddenInset",
// },
// "apc.header": {
// "height": 36
// },
// "apc.listRow": {
// "height": 24
// },
// "apc.font.family": "Inter",
// "apc.stylesheet": {
// ".title-label > h2": "display: none",
// ".editor-actions": "display: none",
// ".nosider .inline-tabs-placeholder": "width: 75px",
// ".pane-header": "padding: 0 8px",
// ".pane-body": "padding: 8px",
// ".split-view-view:first-child .pane-header": "display: none !important;",
// ".monaco-list-row": "border-radius: 4px;",
// ".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;"
// },

Gostaria de usar novamente esse estilo personalizado, mas não consigo devido a conflitos que fazem o VS Code funcionar mal. Minha versão do VS Code é 1.93.0.

@mikebronner
Copy link

mikebronner commented Sep 16, 2024

I'm seeing this or something similar as well, on macOS: SHIFT-CMD-N opens a new window, but APC is not loaded, or does not load custom imports. The original window also looses formatting. To get it to work again I have to completely quit, then reopen VSCode. The same thing happens when opening existing projects, even in the same window.

  • Not sure if it has something to do with my projects all having a .vscode/settings.json file as well, but they shouldn't be conflicting.
  • I seem to have more issues when trying to reference external URLs from gist.
  • APC seems to only load the customizations if I open VSCode to a blank window, but not if I open a previous workspace or project.
    "apc.imports": [
        "file:///User/mike/.vscode-customizations/ui.css",
        "file:///User/mike/.vscode-customizations/ui.js",
        // "https://gist.githubusercontent.com/mikebronner/38c17b4875ba017e99c962fcf544377a/raw/4d4f6eb3c7538564053f79903e6f28e2afb9293d/custom.css",
        // "https://gist.githubusercontent.com/mikebronner/38c17b4875ba017e99c962fcf544377a/raw/4d4f6eb3c7538564053f79903e6f28e2afb9293d/custom.js"
    ],
Version: 1.93.1
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants