Skip to content

Native titlebar render issue (white box then fills) on Ubuntu 18.04 #80798

Closed as not planned

Description

  • VSCode Version:
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-1050-oem
  • OS Version: Ubuntu 18.04

Steps to Reproduce:

  1. Open VSCode and mouse hover over title bar, the box render will appear white then fill in
  2. This does NOT happen when I set window.titleBarStyle to custom (but I wish I could use native)
  3. I have also tried --disable-gpu and same issue.

GIF:
vscode-white

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. added
    bug
    electron
    upstream
    on Oct 10, 2019
  2. charbelnicolas commented on Mar 11, 2020

    @charbelnicolas

    This happens on Arch Linux and gnome 3.36 on nvidia's latest drivers 440.64 too. Is there a fix coming soon?

  3. kjeremy commented on Mar 16, 2020

    @kjeremy

    I am seeing this too on a vmware system.

    Version: 1.43.0
    Commit: 78a4c91
    Date: 2020-03-09T19:44:52.965Z
    Electron: 7.1.11
    Chrome: 78.0.3904.130
    Node.js: 12.8.1
    V8: 7.8.279.23-electron.0
    OS: Linux x64 5.3.0-42-generic

  4. deepak1556 commented on Mar 17, 2020

    @deepak1556
    Collaborator
  5. charbelnicolas commented on Mar 18, 2020

    @charbelnicolas

    Yes, this happens with the "disable-hardware-acceleration": true as well as with --disable-gpu.

  6. sarbikbetal commented on Mar 19, 2020

    @sarbikbetal

    Happens with me too on Ubuntu 19.10.

    Version: 1.44.0-insider
    Commit: 708b019
    Date: 2020-03-18T05:46:17.067Z
    Electron: 7.1.11
    Chrome: 78.0.3904.130
    Node.js: 12.8.1
    V8: 7.8.279.23-electron.0
    OS: Linux x64 5.3.0-42-generic

    vsc

  7. raul75sh commented on Mar 19, 2020

    @raul75sh

    Ubuntu 18.04.4 LTS
    Version: 1.43.1
    Commit: fe22a96
    Date: 2020-03-18T07:17:38.324Z
    Electron: 7.1.11
    Chrome: 78.0.3904.130
    Node.js: 12.8.1
    V8: 7.8.279.23-electron.0
    OS: Linux x64 5.3.0-40-generic
    issue-2020-03-19_18 07 13

  8. deepak1556 commented on Mar 31, 2020

    @deepak1556
    Collaborator
  9. added
    upstream-issue-linked
    linux
    titlebar
    menus
    on Mar 31, 2020
  10. 5 remaining items

  11. sergiocntr commented on May 31, 2020

    @sergiocntr

    [merging from #98837 ]
    Same here
    Debian 10 buster LXDE as windows manager
    Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux

    Last version without issue is
    1.42.1
    c47d83b
    x64

    Switching the Title Bar Style to custom does work for me. Thanks!

  12. superiums commented on Jun 14, 2020

    @superiums

    same in Arch , xfce4.

    code --version
    1.46.0
    a5d1cc28bb5da32ec67e86cc50f84c67cc690321
    x64
    

    not happen in my previous xubuntu 18.04.

    in Arch ,i also tried to use the bin installed in xubuntu, flash always appears in Arch, not in xubuntu.

  13. derekjhunt commented on Jun 24, 2020

    @derekjhunt

    The flash is still present in Ubuntu 20.04

    1.46.1
    cd9ea64
    x64

    Switching the Title Bar Style to custom does work for me. Thanks!

  14. dvdantunes commented on Jul 4, 2020

    @dvdantunes

    This flash is present also in Fedora 31

    Some details:

    - Fedora release 31 (Thirty One) x86_64
    - GNOME Shell 3.34.5 - Adwaita-dark (GKT2/3)
    
    - Visual Code:
      code-1.46.1-1592429042.el7.x86_64
      1.46.1
      cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
      x64
    

    I also switched Title bar style to custom and it worked for me. Thanks you all!

  15. seichodev commented on Jul 6, 2020

    @seichodev

    -Pop!_OS 20.04 @ ThinkPad W541 w/ NVIDIA K2100M

    Can confirm "window.titleBarStyle": "custom" fixed everything. Thank you!

  16. ThomasLobker commented on Sep 11, 2020

    @ThomasLobker

    For me the issue is completely fixed in the latest 1.49 version 🎉

  17. SkeLLLa commented on Sep 17, 2020

    @SkeLLLa

    After update to 1.49 version on ubuntu 20 this issue appeared. No flashing, just all menus are white.

  18. straycoders commented on Oct 21, 2020

    @straycoders

    In my case, I found a workaround. Simply create or modify existing launcher with below command. Use any dark-theme (Adwaita-dark, Greybird-dark, etc) as the vscode theme. I'm using Greybird-dark:

    env GTK_THEME=Greybird-dark /usr/share/code/code --unity-launch --disable-gpu %F

    For me, this solved issue #93869, and also works for "window.titleBarStyle": "native"

  19. drewm1980 commented on Nov 27, 2020

    @drewm1980

    Reproduced on 1.51.1 on Ubuntu 18.04.4

  20. 12gabriel3 commented on Mar 1, 2021

    @12gabriel3

    Reproduced on VSCode 1.53 on Ubuntu 20.04
    Setting window.titleBarStyle to custom fixed it

    bug

  21. deepak1556 commented on Dec 12, 2022

    @deepak1556
    Collaborator

    Closing since native titlebar is rendered by the runtime and upstream issue has been closed.

  22. locked and limited conversation to collaborators on Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugelectronlinuxmenustitlebarupstreamupstream-issue-linked

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions