Window AppMenu widget doesn't work for some apps

Kernel: 6.6.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=12b79167-c7d8-4895-a8fb-622ae1619576 rw rootflags=subvol=@
quiet resume=UUID=921fdf18-2a15-43ea-8235-95723b71c485 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Desktop Mobo: Gigabyte model: B550M DS3H serial: <superuser required>
UEFI: American Megatrends LLC. v: F17d date: 03/23/2023
Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 0 microcode: 0xA201025
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 3657 high: 3700 min/max: 2200/4650 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3700 2: 3592
3: 3700 4: 3621 5: 3593 6: 3700 7: 3700 8: 3593 9: 3700 10: 3593 11: 3700
12: 3700 bogomips: 88633
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Device-1: AMD Navi 23 [Radeon RX 6650 XT / 6700S 6800S] vendor: Gigabyte
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: DP-1,HDMI-A-2 empty: DP-2,HDMI-A-1 bus-ID: 08:00.0
chip-ID: 1002:73ef class-ID: 0300
Display: wayland server: v: with: Xwayland v: 23.2.3
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu d-rect: 3840x1080 display-ID: 0
Monitor-1: DP-1 pos: primary,left res: 1920x1080 size: N/A modes: N/A
Monitor-2: HDMI-A-2 pos: right res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
drv: radeonsi inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6650 XT (navi23 LLVM
16.0.6 DRM 3.54 6.6.6-zen1-1-zen) device-ID: 1002:73ef memory: 7.81 GiB
unified: no display-ID: :1.0
API: Vulkan v: 1.3.269 layers: 14 device: 0 type: discrete-gpu name: AMD
Radeon RX 6650 XT (RADV NAVI23) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:73ef surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: FiiO BTR5 driver: snd-usb-audio type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:5 chip-ID: 2972:0047
class-ID: fe01
Device-4: Medeli heyday Microphone 01
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-4:4 chip-ID: 0a67:0002 class-ID: 0300
serial: <filter>
API: ALSA v: k6.6.6-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2725
class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: down mac: <filter>
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:8 chip-ID: 8087:0032
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c0104
Local Storage: total: 4.57 TiB used: 490.91 GiB (10.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: TeamGroup model: TM8FP6001T
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: VC0S036B temp: 49.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD1003FZEX-00MK2A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD20EZAZ-00GGJB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 0A80 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD10EADS-65M2B1 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 0A01
scheme: MBR
ID-1: / raw-size: 936.5 GiB size: 936.5 GiB (100.00%)
used: 243.27 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 936.5 GiB size: 936.5 GiB (100.00%)
used: 243.27 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 936.5 GiB size: 936.5 GiB (100.00%)
used: 243.27 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 936.5 GiB size: 936.5 GiB (100.00%)
used: 243.27 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.52 GiB used: 1.2 MiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.07 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
System Temperatures: cpu: 41.2 C mobo: 30.0 C gpu: amdgpu temp: 47.0 C
mem: 46.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Processes: 368 Uptime: 5h 24m wakeups: 0 Memory: total: 16 GiB
available: 15.52 GiB used: 4.38 GiB (28.2%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1811 libs: 530 tools: octopi,pamac,paru Shell: Bash
v: 5.2.21 running-in: konsole inxi: 3.3.31
Garuda (2.6.19-2):
System install date:     2023-12-05
Last full system update: 2023-12-14 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

Pretty self explanatory, the widget shows the app menu for some apps but not for others, making those apps hard to use. Apps I’ve observed it in so far are Strawberry and OBS.

What Strawberry is supposed to look like:

Notice the Music, Playlist, Tools, Help options.

What mine looks like:

Notice how the app menu is not displayed on either the app window itself or the panel widget. I can’t access the options menu in Strawberry which is kind of a problem.

I have found many other topics on this forum trying to restore the normal app menu bar, which would probably fix my problem, but all of the solutions seem to be outdated since they date back to when Latte Dock was still a thing, and nothing i tried from them seemed to have an effect. I also tried adding the application menu hamburger button to windows in the Application Style > Window Decorations setting, but that also only seems to work for the same apps the panel widget does for.

Update: Going into Startup and Shutdown > Background Services and disabling “Application menus daemon” actually does bring back the menu bar in Strawberry in OBS, but also causes all of the other ones that were working before to disappear. So not really a solution.

Update: After some more research outside of this forum, it would seem this issue is a general bug with qt6 apps. I installed the qt5 version of strawberry from the AUR instead and lo and behold, its menu bar works now. Still no way to fix OBS without temporarily disabling the app menu daemon though.

Edit: the OBS menu bar works in an X11 session. not really sure what to make of that.

Edit 2: appears to be this bug specifically

For qt6 apps at least, you can make the menu bar come back on wayland by launching it with QT_QPA_PLATFORM=xcb for example the full command for OBS would be QT_QPA_PLATFORM=xcb obs

1 Like

Nice one, glad to hear you got it working.

If you’d like, you can set these environment variables in a local copy of the desktop file by copying it from /usr/share/applications to ~/.local/share/applications, then modify the Exec= line to add env QT_QPA_PLATFORM=xcb before the binary call.

Like this:

That way, you can start the application with your launcher if you want to and it will still use the needed environment variables when starting the program.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.