I installed standard-notes on focal (X11) and jammy beta (X11 and Wayland), and couldn’t reproduce the issue. In both systems I see dbus and application error messages in the terminal at start time related to migration of backup files, theme parsing and secret service, but menu content seems to appear as expected (see screenshot below).
I think it has something to do with my hardware. The problem already existed without any configuration. I have a Ubuntu VM on the same system without the problem.
filename: /lib/modules/5.13.0-39-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
license: GPL and additional rights
description: AMD GPU
author: AMD linux driver team
@facundobatista Could you try to reproduce this problem in your AMD-based Thinkpad? I don’t think it’s related to this specific platform, but I’ve seen strange things happen before.
11:43:56|facundo@camdeonita:~$ sudo snap install beekeeper-studio
[sudo] contraseña para facundo:
Se ha instalado beekeeper-studio 3.3.8 por Beekeeper Studio (matthew-rathbone)
11:44:55|facundo@camdeonita:~$ beekeeper-studio
11:45:51.819 › initializing background
Gtk-Message: 11:45:52.558: Failed to load module "colorreload-gtk-module"
Gtk-Message: 11:45:52.559: Failed to load module "window-decorations-gtk-module"
running migrations
/usr/share/libdrm/amdgpu.ids: No such file or directory
(beekeeper-studio-bin:2372823): dbind-WARNING **: 11:45:56.152: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-gMuXMZ61m0: No such file or directory
If I try the File, View or Help options, they are ok. But the Edit menu is totally blank:
System info
$ snap version
snap 2.54.4
snapd 2.54.4
series 16
ubuntu 21.10
kernel 5.13.0-39-generic
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
$ uname -a
Linux camdeonita 5.13.0-39-generic #44-Ubuntu SMP Thu Mar 24 15:35:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ env | grep DESKTOP
DESKTOP_SESSION=plasma
XDG_SESSION_DESKTOP=KDE
XDG_CURRENT_DESKTOP=KDE
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: Renoir
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:07:00.0
logical name: /dev/fb0
version: d1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
configuration: depth=32 driver=amdgpu latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:80-7f iomemory:80-7f irq:78 memory:860000000-86fffffff memory:870000000-8701fffff ioport:1000(size=256) memory:fd300000-fd37ffff
So, as strange as it might sound, this seems to happen only (or more frequently) on AMD machines. I tested it in a Ryzen 3 4350G system running impish with Gnome on X11 and some menus are indeed empty:
$ uname -a
Linux peashooter 5.13.0-39-generic #44-Ubuntu SMP Thu Mar 24 15:35:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# lshw -c video
*-display
description: VGA compatible controller
product: Renoir
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:07:00.0
version: da
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: driver=amdgpu latency=0
resources: irq:24 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcc00000-fcc7ffff memory:c0000-dffff
this was my suspicion (and why i asked about the graphics driver above) …
while i always thought the amdgpu.ids warning would be harmless, i wonder if it actually is not and we need to do something in the opengl interface handling to pull/bind that file into the snap namespace from the host.
Interesting, some dropdowns work perfectly fine now with changed scaling options in Ubuntu or the electron snap itself. But other dropdowns that have worked before, don’t work with these changed options.
I’m having the same issue on a HP Pavilion desktop with AMD Ryzen 7 5700G.
I first noticed the issue with Beekeeper Studio, mainly because it has so many of these menus. What I have found is that if I keep clicking on things and tell it to “wait” when the application is not responding, eventually, it will populate all of the menus and function normally.
I have also noticed the issue with slack (also electron,) mainly on the right-click menus, which I hardly ever use, so it’s not really a big deal.
$ snap version
snap 2.56.2
snapd 2.56.2
series 16
ubuntu 22.04
kernel 5.15.0-33-generic
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux compy386 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ env | grep DESKTOP
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
DESKTOP_SESSION=ubuntu
XDG_SESSION_DESKTOP=ubuntu
XDG_CURRENT_DESKTOP=ubuntu:GNOME
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: Cezanne
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:0c:00.0
logical name: /dev/fb0
version: c8
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1440
resources: irq:30 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fca00000-fca7ffff
Just tested it again with the newest Ubuntu version.
Looks like Canonical don’t care or they don’t know how to fix this. They are completely focused on the snaps they are publishing (Firefox and Steam). Meanwhile on a lot of systems third-party snaps (such as Bitwarden, Beekeeper Studio, Insomnia, Standard Notes, …) are broken.
why would a newer ubuntu version fix anything in the electron shipped in the snaps ?
it is obviously something that’s going wrong between electron and amdgpu and likely only a re-build of the snaps against a fixed/newer electron (if that exists yet) would fix the issue here …