Windows go under "Always Visible" latte-dock panel in Wayland

In Wayland, windows seem to go underneath my latte-dock panel, which is set to “Always Visible”.
Take a look:

I have an Intel integrated GPU, and only one monitor.
Here is my inxi output…

System:
  Kernel: 6.0.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=dae9727b-8cef-4e55-b5e1-9f5533258a08 rw quiet splash
    vt.global_cursor_default=0 udev.log_priority=3 zswap.enabled=1
    zswap.compressor=lz4 zswap.max_pool_percent=50 zswap.zpool=z3fold
  Desktop: KDE Plasma v: 5.26.2 tk: Qt v: 5.15.6 info: latte-dock
    wm: kwin_wayland vt: 2 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Laptop 15-dw3xxx v: Type1ProductConfigId
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 881D v: 50.29 serial: <superuser required> UEFI: Insyde
    v: F.54 date: 05/11/2022
Battery:
  ID-1: BAT1 charge: 26.2 Wh (67.7%) condition: 38.7/41.0 Wh (94.3%)
    volts: 12.6 min: 11.3 model: Hewlett-Packard PABAS0241231 type: Li-ion
    serial: <filter> status: charging
Memory:
  RAM: total: 7.51 GiB used: 3.92 GiB (52.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 11th Gen Intel Core i3-1125G4 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xA4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 1111 high: 1241 min/max: 400/3700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1241 2: 1129 3: 1147
    4: 1055 5: 1205 6: 1007 7: 1187 8: 919 bogomips: 31960
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
    avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
    cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
    cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
    hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b
    movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
    rdt_a rdtscp rep_good sdbg sep sha_ni smap smep split_lock_detect ss ssbd
    sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi
    vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Tiger Lake-LP GT2 [UHD Graphics G4] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1
    bus-ID: 0000:00:02.0 chip-ID: 8086:9a78 class-ID: 0300
  Device-2: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 1-5:2 chip-ID: 0408:5365 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.4
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev
    alternate: vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 22.2.1 renderer: Mesa Intel UHD Graphics (TGL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  Sound API: ALSA v: k6.0.6-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8168 v: 8.050.03-NAPI modules: r8169
    port: 3000 bus-ID: 0000:01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
  IP v4: <filter> scope: global
  Message: Output throttled. IPs: 3; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
    chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 238.47 GiB used: 47.4 GiB (19.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530
    SDBPNPZ-256G-1006 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS2 temp: 50.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 64 GiB size: 62.44 GiB (97.57%) used: 47.32 GiB (75.8%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: dae9727b-8cef-4e55-b5e1-9f5533258a08
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 81.4 MiB (31.8%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: 60E2-68A1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 945 MiB (30.8%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 173.68 GiB fs: bitlocker
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 529 MiB fs: ntfs
    label: Windows RE tools uuid: 762C89132C88D013
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Quanta HP TrueVision HD Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0408:5365 class-ID: 0e02
  Device-2: 1-6:3 info: Elan Micro ELAN:ARM-M4 type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 04f3:0c00 class-ID: 0000
  Device-3: 1-10:4 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
    class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 274 Uptime: 9h 34m wakeups: 31699 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: 2096 pm: pacman pkgs: 2089 libs: 405 tools: pamac,yay pm: flatpak
  pkgs: 0 pm: snap pkgs: 7 Shell: Zsh v: 5.9 running-in: figterm inxi: 3.3.23

…and here is my xrandr output.

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.05*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      60.03  
   1280x800      59.99  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77  
1 Like

Looks more like Latte Dock doesn’t go under your windows, not the other 'round. Should be a setting somewhere in Latte Dock.

But anyway:

1 Like

“Always Visible” seems to mean that windows are supposed to go below the panel, and plus my current configuration works in X.Org.

I’m using latte-dock-git

That doesn’t change the end-of-life fact.

X != Wayland to start with.

It depends on what you said sho0uld always be visible. If you set it on Latte, well, that’s what it’s doing…Latte seems always visible. Remove it and test the results.

1 Like

I think the problem seems to be latte doesn’t seem to support Wayland that much. Probably, latte is unable to tell Wayland how much space is available for the window.

I might be misunderstanding you here and I have never used Latte Dock before, and now that it’s discontinued I’d not recommend it.

But in your title, description and picture Latte Dock is visible, on top of the window. And apparently that is what you set it to. So your title seems that you’re upset that Latte Dock respects the settings.

However, I doubt that is what you mean. After your last message, I think you expect Latte Dock to be lower than the window, at the bottom of the screen, with the window open above it. In which case I think you are correct since I’ve read on here, at some stage, that Wayland doesn’t know Window dimensions and that would rely heavily on it.

1 Like

For what you want, you can use a Panel instead, but on the other hand, looking closer, the Window Title Bar is under the Latte-Dock set as Panel, but is higher than it, hence looks like there is a gap.

1 Like

It is an on-going bug unfortunately:

5.26 Wayland windows go below Latte when “always visible” is chosen

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