Missing Top Window Bar in some applications

Problem Description

After the New Year’s Update I started running into the issue on Gnome that some applications stopped having top bar of the window. As far as I identified affected apps are:

  • Slack
  • VS Code
  • Mattermost
  • Discord
  • Gimp

most of them I rely on every day. I believe it may have to do something with electron, which as far as I know some of these apps are based of. However, reinstalling electron did not help.

To visualize the problem here is how top of VS Code looks like this:

Spotify (which has a desired behavior/top bar) looks like this:

The small area (~10-15 pixels) above each app is draggable and allows me to move windows across the screen.

I am not sure what can cause a problem, so please let me know what more information is needed in order to debug this issue.

System Information

inxi -Fazy

  Kernel: 5.10.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=/dev/mapper/mint--vg-root rw quiet udev.log_priority=3 
  Desktop: GNOME 3.38.2 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 
  Distro: Manjaro Linux 
  Type: Desktop System: Micro-Star product: MS-7C37 v: 1.0 serial: <filter> 
  Mobo: Micro-Star model: MPG X570 GAMING EDGE WIFI (MS-7C37) v: 1.0 
  serial: <filter> UEFI: American Megatrends v: 1.40 date: 09/10/2019 
  Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
  Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701013 
  L2 cache: 4 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 115232 
  Speed: 3976 MHz min/max: N/A Core speeds (MHz): 1: 3976 2: 3980 3: 3891 
  4: 3957 5: 3903 6: 3996 7: 3990 8: 3968 9: 3626 10: 3997 11: 3652 12: 3984 
  13: 3955 14: 4325 15: 3630 16: 3636 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  always-on, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] driver: nvidia v: 455.45.01 
  alternate: nouveau,nvidia_drm bus ID: 2d:00.0 chip ID: 10de:1e81 
  Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: nvidia 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: GeForce RTX 2080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
  Device-1: NVIDIA TU104 HD Audio driver: snd_hda_intel v: kernel 
  bus ID: 2d:00.1 chip ID: 10de:10f8 
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 2f:00.4 chip ID: 1022:1487 
  Device-3: Logitech OrbiCam type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 7-1.4:8 chip ID: 046d:0892 serial: <filter> 
  Sound Server: ALSA v: k5.10.2-2-MANJARO 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI X570-A PRO driver: r8168 v: 8.048.03-NAPI 
  modules: r8169 port: d000 bus ID: 27:00.0 chip ID: 10ec:8168 
  IF: enp39s0 state: down mac: <filter> 
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi 
  v: kernel port: d000 bus ID: 29:00.0 chip ID: 8086:24fb 
  IF: wlp41s0 state: up mac: <filter> 
  Device-3: Microsoft XBOX ACC type: USB driver: mt76x2u bus ID: 1-6:3 
  chip ID: 045e:02fe serial: <filter> 
  IF: wlp42s0f1u6 state: down mac: <filter> 
  Local Storage: total: 2.98 TiB used: 150.04 GiB (4.9%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8 
  size: 953.87 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: 002C temp: 32.9 C 
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM024 HN-M101MBB 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 0001 
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10SPZX-21Z10T0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 1A02 
  ID-4: /dev/sdc maj-min: 8:32 vendor: SK Hynix model: HFS256G39TND-N210A 
  size: 238.47 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 1P10 
  ID-5: /dev/sde maj-min: 8:64 type: USB vendor: MSI model: MSI Prestige Dri 
  size: 22 KiB block size: physical: 512 B logical: 512 B serial: <filter> 
  rev: ver 
  ID-1: / raw size: 915.12 GiB size: 899.76 GiB (98.32%) 
  used: 60.07 GiB (6.7%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0 
  mapped: mint--vg-root 
  ID-2: /boot/efi raw size: 512 MiB size: 511 MiB (99.80%) 
  used: 25.6 MiB (5.0%) fs: vfat dev: /dev/sda1 maj-min: 8:1 
  ID-3: /home raw size: 953.37 GiB size: 937.4 GiB (98.33%) 
  used: 89.94 GiB (9.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  Kernel: swappiness: 10 (default 60) cache pressure: 50 (default 100) 
  ID-1: swap-1 type: file size: 20 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
  System Temperatures: cpu: 51.2 C mobo: N/A gpu: nvidia temp: 34 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 41% 
  Processes: 400 Uptime: 19m wakeups: 4 Memory: 62.82 GiB 
  used: 4.83 GiB (7.7%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
  Packages: 1353 pacman: 1344 lib: 369 flatpak: 0 snap: 9 Shell: Zsh v: 5.8 
  running in: tilix inxi: 3.2.01