Last update break clipboard for electron/chromium based app

Hi :wave:, I’ve used Garuda hyprland without any issue from the first release. But recently, after an update I have issue with electron/chromium based app (Google Chrome, discord, obsidian, vscode, …).

The clipboard is not shared anymore with the system. The clipboard work between electron app but not with other app (like terminal, firefox, …). The only way to make clipboard work it’s to add the flag --ozone-platform-hint=auto, but visual issue and instability came with this flag. :confused: I don’t know where to search more clue to fix it.

I’m confused, I see on the net that this issue is not new, but why I haven’t encountered this issue before ? One of my friends (is on G. Hyprland too) made the last update yesterday and had sames issue. We try to make a update -a to update AUR packages, but nothing new.

Thanks for your help and hello from Belgium :smile:

pacman -Q | grep -E 'electron|google|obsidian|visual-studio|clipboard|copy|way|hypr'
copyq 8.0.0-1
electron28 28.3.3-1
electron30 30.0.8-1
garuda-hyprland-settings 0.4.127-2
google-chrome 125.0.6422.112-1
google-chrome-beta 126.0.6478.17-1
highway 1.1.0-1
hyprcursor 0.1.9-1
hyprland-git 0.40.0.r132.2ff95bba-1
hyprlang 0.5.2-1
hyprpicker-git 0.2.0.r10.bff005a-1
hyprshot 1.2.3-1
hyprwayland-scanner-git 0.3.8.r1.g3afed436-1
kwayland5 5.116.0-1
lib32-wayland 1.22.0-1
obsidian 1.5.12-1
qt5-wayland 5.15.13+kde+r60-1
qt6-wayland 6.7.0-1
swayidle 1.8.0-1
swayimg 2.2-1
swaylock 1.7.2-1
visual-studio-code-bin 1.89.1-2
waybar 0.10.3-1
wayland 1.22.0-1
wayland-protocols-git 1.36.r4.ge71ed40-1
wl-clipboard 1:2.2.1-1
xdg-desktop-portal-hyprland-git 1.3.1.r22.g91e48d6a-1
xorg-xwayland 24.1.0-1

System:
  Kernel: 6.9.1-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=cd1cdb37-5e66-4569-83c0-aa8f4c3ba1f4 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: Hyprland v: N/A with: waybar tools: swayidle avail: swaylock
    dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: HUAWEI product: HVY-WXX9 v: M1060 serial: <filter>
  Mobo: HUAWEI model: HVY-WXX9-PCB v: M1060 serial: <filter> part-nu: C100
    uuid: 20210618-1826-492b-78f7-1826492b78fb UEFI: HUAWEI v: 1.15
    date: 12/10/2021
Battery:
  ID-1: BAT0 charge: 46.4 Wh (99.6%) condition: 46.6/55.3 Wh (84.3%)
    volts: 16.9 min: 15.3 model: Sunwoda- HB6081V1ECW-41 type: Li-ion
    serial: <filter> status: discharging cycles: 175
CPU:
  Info: model: AMD Ryzen 5 4600H with Radeon Graphics socket: FP6 bits: 64
    type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  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: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1933 high: 3000 min/max: 1400/3000 boost: enabled
    base/boost: 3000/4000 scaling: driver: acpi-cpufreq governor: schedutil
    ext-clock: 100 MHz cores: 1: 3000 2: 1400 3: 3000 4: 1400 5: 1400 6: 1400
    7: 1400 8: 1400 9: 1400 10: 3000 11: 1400 12: 3000 bogomips: 71860
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Renoir [Radeon RX Vega 6 ] vendor: Huaqin driver: amdgpu
    v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:1636
    class-ID: 0300 temp: 32.0 C
  Device-2: Cheng Uei Precision Industry (Foxlink) HD Camera
    driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0
    bus-ID: 3-4:3 chip-ID: 05c8:03f2 class-ID: 0e02
  Display: server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: Hyprland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :1
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1604 built: 2019 res: 1920x1080
    dpi: 137 gamma: 1.2 size: 355x199mm (13.98x7.83") diag: 407mm (16")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi inactive: gbm,wayland,x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.0.8-arch1.1
    note: incomplete (EGL sourced) renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 17.0.6 DRM 3.57 6.9.1-zen1-2-zen), llvmpipe (LLVM 17.0.6 256
    bits)
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Huaqin
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Huaqin driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Huaqin driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.9.1-zen1-2-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.7 status: n/a (root, process) 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
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-3:2 chip-ID: 8087:0029
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 1.38 TiB used: 123.28 GiB (8.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN730 SDBPNTY-512G size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 11120000 temp: 28.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Crucial model: CT1000P2SSD8
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: P2CR048 temp: 25.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 588 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.2 C mobo: N/A gpu: amdgpu temp: 31.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15 GiB used: 3.23 GiB (21.5%)
  Processes: 340 Power: uptime: 2m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.99 GiB services: upowerd Init: systemd
    v: 255 default: graphical tool: systemctl
  Packages: 1867 pm: nix-default pkgs: 52 pm: nix-sys pkgs: 0 pm: nix-usr
    pkgs: 52 libs: 10 pm: pacman pkgs: 1763 libs: 475 tools: octopi,pacseek,paru
    Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi (sudo)
    default: Bash v: 5.2.26 running-in: xfce4-terminal inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-01-17
  Last full system update: 2024-05-25
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Yes
  Failed units:  

I am experiencing the same issue.

I have not updated my system for a few weeks, and I just did it two days ago, then my clipboard started malfunctioning…

It looks like the clipboard only works between apps of the same category:
Category 1: firefox, firedragon, kitty terminal, etc.
Category 2: beeper, brave, google chrome, discord, etc.

The clipboard works between apps of the same category, but not between the categories
(i.e.: I can copy in firedragon then paste in firefox, but I can’t copy in brave then paste in firedragon)

1 Like

The last update fixed the issue for me, @BeBel42 can you confirm on your side ?

4c4
< garuda-hyprland-settings 0.4.127-2
---
> garuda-hyprland-settings 0.4.128-2
9c9
< hyprland-git 0.40.0.r132.2ff95bba-1
---
> hyprland-git 0.40.0.r138.db5d39a6-1
18c18
< qt6-wayland 6.7.0-1
---
> qt6-wayland 6.7.1-1
29d28
< 
2,3c2,3
<   Kernel: 6.9.1-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
<     clocksource: tsc avail: hpet,acpi_pm
---
>   Kernel: 6.9.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
>     clocksource: hpet avail: acpi_pm
15,16c15,16
<   ID-1: BAT0 charge: 46.4 Wh (99.6%) condition: 46.6/55.3 Wh (84.3%)
<     volts: 16.9 min: 15.3 model: Sunwoda- HB6081V1ECW-41 type: Li-ion
---
>   ID-1: BAT0 charge: 34.3 Wh (70.1%) condition: 48.9/55.3 Wh (88.5%)
>     volts: 15.7 min: 15.3 model: Sunwoda- HB6081V1ECW-41 type: Li-ion
26c26
<   Speed (MHz): avg: 1933 high: 3000 min/max: 1400/3000 boost: enabled
---
>   Speed (MHz): avg: 1666 high: 3000 min/max: 1400/3000 boost: enabled
28,29c28,29
<     ext-clock: 100 MHz cores: 1: 3000 2: 1400 3: 3000 4: 1400 5: 1400 6: 1400
<     7: 1400 8: 1400 9: 1400 10: 3000 11: 1400 12: 3000 bogomips: 71860
---
>     ext-clock: 100 MHz cores: 1: 1400 2: 1400 3: 3000 4: 1400 5: 1400 6: 1400
>     7: 1400 8: 1400 9: 1400 10: 3000 11: 1400 12: 1400 bogomips: 71862
37c37
<     class-ID: 0300 temp: 32.0 C
---
>     class-ID: 0300 temp: 40.0 C
51c51
<     renoir LLVM 17.0.6 DRM 3.57 6.9.1-zen1-2-zen), llvmpipe (LLVM 17.0.6 256
---
>     renoir LLVM 17.0.6 DRM 3.57 6.9.2-zen1-1-zen), llvmpipe (LLVM 17.0.6 256
68c68
<   API: ALSA v: k6.9.1-zen1-2-zen status: kernel-api tools: N/A
---
>   API: ALSA v: k6.9.2-zen1-1-zen status: kernel-api tools: N/A
83c83
<   Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
---
>   Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
87c87
<   Local Storage: total: 1.38 TiB used: 123.28 GiB (8.8%)
---
>   Local Storage: total: 1.38 TiB used: 125.21 GiB (8.9%)
92c92
<     fw-rev: 11120000 temp: 28.9 C scheme: GPT
---
>     fw-rev: 11120000 temp: 36.9 C scheme: GPT
95c95
<     lanes: 4 tech: SSD serial: <filter> fw-rev: P2CR048 temp: 25.9 C
---
>     lanes: 4 tech: SSD serial: <filter> fw-rev: P2CR048 temp: 36.9 C
99c99
<     used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
---
>     used: 125.21 GiB (26.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
105c105
<     used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
---
>     used: 125.21 GiB (26.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
108c108
<     used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
---
>     used: 125.21 GiB (26.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
111c111
<     used: 123.28 GiB (25.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
---
>     used: 125.21 GiB (26.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
118c118
<   System Temperatures: cpu: 32.2 C mobo: N/A gpu: amdgpu temp: 31.0 C
---
>   System Temperatures: cpu: 41.6 C mobo: N/A gpu: amdgpu temp: 40.0 C
121,122c121,122
<   Memory: total: 16 GiB note: est. available: 15 GiB used: 3.23 GiB (21.5%)
<   Processes: 340 Power: uptime: 2m states: freeze,mem,disk suspend: deep
---
>   Memory: total: 16 GiB note: est. available: 15 GiB used: 4.27 GiB (28.5%)
>   Processes: 334 Power: uptime: 10m states: freeze,mem,disk suspend: deep
132c132
<   Last full system update: 2024-05-25
---
>   Last full system update: 2024-05-27
136c136
<   Failed units:
---
>   Failed units:            

Yep!

update -a --noconfirm
Fixed it all today.

The issue can be closed, at leat if it can :joy:

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