Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Flickering sidebar makes it unusable #7766

OpenXyz3R(GitHub profile, opens in a new tab) opened this issue 10 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Currently experiencing this issue on Linux (fedora) with both the latest stable + nightly available.

"Restore defaults" in settings did not fix it.

Let me know which information I can provide to further debug this issue. In the meantime I'm letting codex investigate but I have little hope here that it figures that out tbh

Expected behavior

Seeing the sidebar

Actual behavior

Sidebar flickering in an unpredictable manner. See video.

https://github.com/user-attachments/assets/aa7007dd-df9d-4edf-b2c0-f2f2744df91c

Impact

Major degradation or frequent failure

Version or commit

latest stable & nightly

Environment

Fedora linux, desktop app

Logs or stack traces

Screenshots, recordings, or supporting files

issue_muted.mp4

Workaround

Changing font sizes / zoom levels / theme / resetting settings doesnt seem to do the trick

  1. Xyz3R(GitHub profile, opens in a new tab) added labelsbug

  2. Xyz3R(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. Xyz3R(GitHub profile, opens in a new tab)commented

    Additional information: I figured out that running it with --disable-gpu --disable-gpu-compositing will fix the flicker issue, so this seems to be somewhat Electron + GPU related.

    it did work on previous versions on my machine.

  4. I found the root cause: the compound mask-image on [data-slot="scroll-area-viewport"] triggers the GPU/compositor flicker. Disabling only that mask fixes it.

    [data-slot="scroll-area-viewport"] {
      mask-image: none !important;
      -webkit-mask-image: none !important;
    }
  5. KyleDerZweite(GitHub profile, opens in a new tab)commented

    Same on Linux/Wayland, T3 0.0.42, mainly in the “Open Folder” and “New Thread” UIs, but also the sidebar. Items become invisible but remain clickable. Disabling the scroll-area mask fixes it with GPU acceleration enabled.

    *Also reproducible on the current nightly under Linux/Wayland.

    const style = document.createElement("style");
    
    style.textContent = ` [data-slot="scroll-area-viewport"] {   mask-image: none !important;   -webkit-mask-image: none !important; }`;
    
    document.head.appendChild(style);
  6. I worked around it by launching it without gpu i guess.

    Am Sa., 19. Sept. 2026 um 18:21 Uhr schrieb Kyle @.***>:

    KyleDerZweite left a comment (pingdotgg/t3code#7766) <https://github.com/pingdotgg/t3code/issues/7766#issuecomment-5743437594>

    Same on Linux/Wayland, T3 0.0.42, mainly in the “Open Folder” and “New Thread” UIs, but also the sidebar. Items become invisible but remain clickable. Disabling the scroll-area mask fixes it with GPU acceleration enabled.

    — Reply to this email directly, view it on GitHub <https://github.com/pingdotgg/t3code/issues/7766?email_source=notifications&email_token=ACNHKSJI6LLOGTOTVUUM57D5P2XAVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNZUGM2DGNZVHE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5743437594>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNHKSK3LQENQBFYXOIFFKL5P2XAVAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNJTGEZTAMZUHE5US43TOVSTWNJSGEZDAMBRGM2TTILWAI> . You are receiving this because you authored the thread.Message ID: <pingdotgg/t3code/issues/7766/5743437594 @.***>

  7. Additional reproduction evidence from Linux/Wayland with NVIDIA: a separate GPU-based TTS workload appears to trigger or aggravate this issue.

    Environment

    • Omarchy/Arch Linux, Hyprland/Wayland; kernel 6.19.6-arch1-1.
    • NVIDIA RTX 2080 SUPER, 8 GiB VRAM; driver 590.48.01.
    • T3 Code desktop nightly. The exact running nightly build was not independently verified for this observation.
    • T3's new sidebar, repository grouping, 80% glass opacity; compositor zoom 1.0. The T3 display uses 1.25 scale.
    • GPU acceleration remained enabled throughout.

    Observed sequence, without restarting or reloading T3

    1. During a VoxCPM2 audiobook render, most sidebar rows disappeared against a black background. Hovering restored content; moving the pointer away made it disappear again. Some rows remained visible.
    2. Total GPU memory usage was approximately 7.3 GiB of 8 GiB; the TTS process alone held approximately 6 GiB. GPU utilization was bursty, with short samples from 6% to 84%.
    3. The render finished naturally. Its process exited and total GPU memory dropped to approximately 1.6 GiB. The user confirmed the sidebar was fully visible again without a reload.
    4. A subsequent Chatterbox TTS render started. Total GPU memory rose to approximately 5.6 GiB, with about 4 GiB held by the new TTS process. The user confirmed the sidebar flicker returned.

    This is an observed on/off/on correlation, not proof that VRAM exhaustion is the root cause. GPU contention, memory pressure, and the masked-scroll-area compositor path have not been isolated from each other. The second recurrence happened below full VRAM occupancy. CPU load also varied, so these observations are not a controlled performance benchmark.

    This may be a useful stress condition for validating the mask workaround already reported here: retain GPU acceleration, run an independent GPU workload, repeatedly hover/unhover and scroll the sidebar, then repeat after that workload releases its GPU resources. We have not yet verified the mask workaround on this particular installation.

    No session data was lost in these observations. The screenshot contains private conversation content, so it is omitted from this public report.

  8. I can reproduce what appears to be the same masked scroll-area rendering failure in the browser version of T3 Code.

    Environment

    • T3 Code: v0.0.44
    • T3 server: running inside WSL
    • Client OS: Windows 11, build 22631
    • Browser: Opera One 115.0.5322.119
    • Chromium engine: 130.0.6723.170
    • Page: http://localhost:3773/settings/providers
    • Theme: dark

    Steps to reproduce

    1. Start T3 Code inside WSL.
    2. Open the local T3 Code interface in Opera on Windows.
    3. Navigate to Settings → Providers.
    4. Select a provider with enough configuration to make both panes scrollable.

    Actual result

    Large black rectangles cover most of the provider list and provider configuration pane. The content remains present and interactive underneath. Small strips near the top and bottom remain visible.

    Expected result

    All provider rows and configuration fields should remain visible.

    Hardware acceleration test

    I disabled Opera’s Use graphics acceleration when available setting and relaunched the browser. The problem still occurs.

    opera://gpu confirms that the screenshot was captured using software rendering:

    Canvas: Software only, hardware acceleration unavailable
    Compositing: Software only, hardware acceleration disabled
    OpenGL: Disabled
    Rasterization: Software only, hardware acceleration disabled
    WebGL: Software only, hardware acceleration unavailable
    Display type: ANGLE_SWIFTSHADER
    GPU process crash count: 0

    This means the issue is not limited to hardware GPU compositing on this system.

    Confirmed workaround

    Running the following in DevTools immediately restores all hidden content:

    document.querySelectorAll('[data-slot="scroll-area-viewport"]').forEach((el) => {
      el.style.setProperty("-webkit-mask-image", "none", "important");
      el.style.setProperty("mask-image", "none", "important");
    });

    The workaround lasts until the page is reloaded. This strongly suggests that the compound mask-image applied to the scroll-area viewport is responsible.

    Screenshot

    Image
  9. I'm experiencing this on Windows 11 with the latest Nightly T3 Code Desktop version, but it's not restricted to menus, the whole window flashes/disappears and makes working impossible.

  10. juliusmarminge added labelsneeds more info

  11. juliusmarminge added labelsneeds-julius

  12. Answering for the Linux/NVIDIA report above (my comment from 2026-09-25).

    Build: T3 Code (Nightly) desktop 0.1.2-nightly.20261021.3457, AppImage, Electron 44.4.5, Chrome 152.0.7977.130.

    GPU and driver: NVIDIA GeForce RTX 2080 SUPER, 8 GiB, proprietary driver 590.48.01. It is the only GPU (the GPU process runs with --render-node-override=/dev/dri/renderD128). Hardware acceleration is on, with no --disable-gpu flags.

    Display backend: native Wayland, not XWayland (ELECTRON_OZONE_PLATFORM_HINT=wayland, and the GPU process has --ozone-platform=wayland). Hyprland 0.54.1 on Arch Linux, kernel 6.19.6. There are three monitors. The T3 window is on a 3840×2160 60 Hz HDMI display at fractional scale 1.25; the other two run at 1.0.

    Does it still occur on a current build: not retested yet. The 2026-09-25 observation was on a nightly whose exact build I did not record. It only showed up while a separate CUDA TTS job held 4 to 6 GiB of the 8 GiB VRAM, and it went away when that job exited, without a reload. An idle-GPU or SwiftShader run may therefore not show it on a setup like this one.

    Does disabling only the scroll-area mask restore content: not tested here yet.

    I can run both checks on 3457 (the same TTS load, then the mask override from the comments above) and report back if that would help.


    Written by Claude Opus 5.5 (Claude Code) for @B-EtterDigital.

  13. juliusmarminge removed labelsneeds more info

  14. Another report, this time on AMD and Fedora.

    Environment

    • T3 Code desktop nightly 0.1.6-nightly.20261030.3940 (AppImage), commit ae521d1d
    • Fedora 43, kernel 6.19.11, Hyprland 0.51.1, native Wayland (--ozone-platform=wayland)
    • AMD HawkPoint iGPU (Radeon 780M class), GPU acceleration on

    What happens

    • Sidebar rows go invisible and flicker as the pointer moves over them. They stay clickable.
    • The same thing sometimes happens in the thread details popover (the menu with "Open in VS Code", "Initialize Git" and the Session/Weekly usage bars). So it isn't only the sidebar.

    Notes

    • Hyprland 0.51.1 isn't in the desktop app's color-manager workaround list (AFFECTED_HYPRLAND_RELEASE_COMMITS), so that path isn't involved.
    • No commit on main since this build touches the scroll-area mask (index.css mask-image on [data-slot="scroll-area-viewport"]).

    Screenshots will follow in a separate comment.

    Comment drafted by Claude Opus 5.5 (Claude Code) through T3 Code triage.

  15. I have a candidate fix but can't reproduce the flicker here (Linux, niri on native Wayland, AMD + NVIDIA), so I'd like someone who sees it to try it first.

    Every ScrollArea with scrollFade builds its edge fade from Tailwind's mask-t/b/l/r-from utilities. In the computed style that's six gradient layers composited with intersect, applied even when the list doesn't scroll. The fix replaces it with one gradient per overflowing axis (two at most) and no mask at all when nothing overflows. The fade itself looks the same; screenshots match main pixel for pixel in the faded regions.

    To test without a new build, open DevTools in the affected window (sidebar, Settings, or wherever you see it) and run:

    const s=document.createElement("style");s.textContent='[data-slot="scroll-area-viewport"]{mask-image:none!important;-webkit-mask-image:none!important}[data-slot="scroll-area-viewport"][data-has-overflow-y]{--g:linear-gradient(to bottom,transparent,black min(1.5rem,var(--scroll-area-overflow-y-start,0px)),black calc(100% - min(1.5rem,var(--scroll-area-overflow-y-end,0px))),transparent);mask-image:var(--g)!important;-webkit-mask-image:var(--g)!important}';document.head.appendChild(s);

    Then hover and scroll a list long enough to scroll, since that's the case that keeps a mask. It lasts until reload. Two outcomes would help:

    • Flicker gone: the simpler mask is enough, and I'll open the PR.
    • Still flickers on a scrolling list: any mask on that layer triggers it, and the fix needs a different approach.

    @Xyz3R @KyleDerZweite @B-EtterDigital @shouryadixitisverycool, you've all reproduced this. If you have a minute, a result from any of you would settle it.

    Drafted by Claude Opus 5.5 (Claude Code) for @Serendeep.

Sign in to join this conversation.