Mullvad browser no minimize/maximize/restore button

Hi Manjaro,
my daily browser is mullvad browser, and I use it in manjaro both in my desktop and 2in1 laptop used as tablet. Browser is used, with tabs in the titlebar (i.e. the tile bar radio button is not checked in "customize toolbar).

On desktop all is fine, but on laptop as per subject I only have the close button.

Is that something you may help with? Many Thanks!
Below my inxi

Cheers

  Kernel: 6.18.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/vmlinuz-6.18-x86_64
    root=UUID=f9b1e170-4180-422d-9fde-3ed1dc55e2b1 rw
    cryptdevice=UUID=a621da8d-7e97-4684-a588-eeb873d7b749:luks-a621da8d-7e97-4684-a588-eeb873d7b749
    root=/dev/mapper/luks-a621da8d-7e97-4684-a588-eeb873d7b749 nosplash
  Desktop: KDE Plasma v: 6.5.4 tk: Qt v: N/A info: frameworks v: 6.21.0
    wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 20NQS0W600 v: ThinkPad X390 Yoga
    serial: <superuser required> Chassis: type: 31 serial: <superuser required>
  Mobo: LENOVO model: 20NQS0W600 v: SDK0J40697 WIN
    serial: <superuser required> part-nu: LENOVO_MT_20NQ_BU_Think_FM_ThinkPad
    X390 Yoga uuid: <superuser required> Firmware: UEFI vendor: LENOVO
    v: N2LET74W (1.74 ) date: 03/24/2020
Battery:
  ID-1: BAT0 charge: 30.7 Wh (59.6%) condition: 51.5/50.5 Wh (101.9%)
    power: 5.1 W volts: 11.36 min: 11.55 model: LGC 5B10W13927 type: Li-poly
    serial: <filter> charging: status: discharging control: start: 0%
    end: 100% cycles: 495
Memory:
  System RAM: total: 8 GiB available: 7.41 GiB used: 3.65 GiB (49.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous size: 4 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: curr: 1 width (bits): data: 64
    total: 64 manufacturer: Micron part-no: 4ATF51264HZ-2G6E1 serial: N/A
  Device-2: ChannelB-DIMM0 type: DDR4 detail: synchronous size: 4 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: curr: 1 width (bits): data: 64
    total: 64 manufacturer: Micron part-no: 4ATF51264HZ-2G6E1 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-8365U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0x100
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 400 min/max: 400/4100 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 bogomips: 30399
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb erms est f16c flush_l1d fma fpu fsgsbase fxsr ht hwp
    hwp_act_window hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
    nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
    pni popcnt pse pse36 pts rdrand rdseed rdtscp rep_good sdbg sep sgx smap
    smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tsc
    tsc_adjust tsc_deadline_timer vme x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection mitigation: Aligned branch/return thunks
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: old_microcode status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow 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 / Automatic IBRS; IBPB:
    conditional; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
  Type: srbds mitigation: Microcode
  Type: tsa status: Not affected
  Type: tsx_async_abort mitigation: TSX disabled
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:3 chip-ID: 04f2:b67c
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: intel dri: i965 gpu: i915
    display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1387 built: 2018 res:
    mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 166 gamma: 1.2 chroma: red:
    x: 0.639 y: 0.329 green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059 white:
    x: 0.314 y: 0.329 size: 293x165mm (11.54x6.5") diag: 336mm (13.2")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.3.1-arch1.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
    GT2) device-ID: 8086:3ea0 memory: 7.24 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.4.335 layers: 2 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 620 (WHL GT2) driver: mesa intel v: 25.3.1-arch1.2
    device-ID: 8086:3ea0 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  API: ALSA v: k6.18.2-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bd class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  IF-ID-1: wg0-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
  IP v4: <filter> scope: global broadcast: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:5
    chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-a621da8d-7e97-4684-a588-eeb873d7b749 maj-min: 253:0
    type: LUKS dm: dm-0 size: 62.5 GiB
  Components:
  p-1: nvme0n1p7 maj-min: 259:7 size: 62.5 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 238.47 GiB used: 17.97 GiB (7.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB256HBHQ-000L7 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 4M2QEXH7 temp: 31.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 62.5 GiB size: 61.22 GiB (97.95%) used: 17.86 GiB (29.2%)
    fs: ext4 dev: /dev/dm-0 maj-min: 253:0
    mapped: luks-a621da8d-7e97-4684-a588-eeb873d7b749 label: linux root
    uuid: f9b1e170-4180-422d-9fde-3ed1dc55e2b1
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
    used: 104.4 MiB (10.7%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
    label: linux boot uuid: 3396fedb-3bda-431a-a439-80438fb6d4bb
  ID-3: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 328 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5
    label: efi system uuid: 0164-1470
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 200 MiB fs: vfat label: ESP
    uuid: B618-C398
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 1.95 GiB fs: ntfs
    label: Recovery uuid: 7638193C3818FD35
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 31.25 GiB fs: ntfs label: SYSTEM
    uuid: 6EEA1B5BEA1B1F41
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-6:2 info: Wacom Pen and multitouch sensor type: HID
    driver: usbhid,wacom interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 400mA chip-ID: 056a:51b2 class-ID: 0300
  Device-2: 1-8:3 info: Chicony Integrated Camera type: video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04f2:b67c class-ID: 0e02
    serial: <filter>
  Device-3: 1-9:25 info: Synaptics Prometheus MIS Touch Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 06cb:00bd class-ID: ff00 serial: <filter>
  Device-4: 1-10:5 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
    type: bluetooth driver: btusb interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8087:0aaa class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 39.0 C pch: 38.0 C mobo: 30.0 C
  Fan Speeds (rpm): cpu: 1927
Repos:
  Packages: 1219 pm: pacman pkgs: 1212 libs: 329 tools: pamac pm: flatpak
    pkgs: 7
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
    2: https://manjaro.syxpi.fr/manjaro/stable/$repo/$arch
    3: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    4: https://mirrors.atlas.net.co/manjaro/stable/$repo/$arch
    5: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    6: https://mirrors.xtom.jp/manjaro/stable/$repo/$arch
    7: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    8: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
Processes:
  CPU top: 5 of 269
  1: cpu: 200% command: ps pid: 77291 mem: 4.00 MiB (0.0%)
  2: cpu: 9.0% command: mullvadbrowser.real pid: 76290 mem: 293.3 MiB (3.8%)
  3: cpu: 9.0% command: konsole pid: 77217 mem: 222.9 MiB (2.9%)
  4: cpu: 6.7% command: zsh pid: 77231 mem: 10.3 MiB (0.1%)
  5: cpu: 5.5% command: ./mullvadbrowser.real pid: 76038
    mem: 427.2 MiB (5.6%)
  Memory top: 5 of 269
  1: mem: 613.5 MiB (8.0%) command: plasmashell pid: 1065 cpu: 0.7%
  2: mem: 514.0 MiB (6.7%) command: thunderbird pid: 76399 cpu: 3.6%
  3: mem: 427.2 MiB (5.6%) command: ./mullvadbrowser.real pid: 76038
    cpu: 5.5%
  4: mem: 293.3 MiB (3.8%) command: mullvadbrowser.real pid: 76290 cpu: 9.0%
  5: mem: 280.2 MiB (3.6%) command: krunner pid: 8213 cpu: 0.0%
Info:
  Processes: 269 Power: uptime: 2d 17h 44m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 17 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 2.95 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 258 default: graphical
    tool: systemctl
  Compilers: gcc: 15.2.1 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.40

found the problem. I was setting an env MOZ_WAYLAND* something variable to 1. Deleted, now is fine

I assume that is a setting in about:config of the Mullvad browser?
In mine it is set to boolean. With that all buttons are always visible

… nope it was an environment variable. The correct name is MOZ_ENABLE_WAYLAND

OK. Where? In /etc/security/pam_env.conf ?

I believe that mullvad-browser is based on firefox.

firefox used to require the MOZ_ENABLE_WAYLAND=1 firefox environment setting to force it to use Wayland rather than Xwayland when opened in a Wayland-based desktop environement.

That environment setting has not been required for firefox since v121.0, which was released in December, 2023:

I assume that most, if not all, browsers which are derivatives of Firefox now also no longer require that environment setting to run on Wayland.

… well what I did was to use the menu edit of KDE. Right clck on the app icon, it opens a menu editor, with an “Environment variable” field. I put there the MOZ_ENABLE_WAYLAND=1

You should also be able to put it in your ~/.profile, like so… :backhand_index_pointing_down:

export MOZ_ENABLE_WAYLAND=1

You will however need to log out and back in for it to take effect, as ~/.profile is only read at login time.

I now have a new issue. As I mentioned above I use the 2in1 as a tablet. when I get a mullvad browser window, now running without the environment var mentioned before, the virtual keyboard that was automitically popping up when a text field got focus, now need to be manually “woke up” (I need to tap on the icon in the main panel). I’m using the KDE keyboard known as “plasma-keyboard”) Likewise to get it out of view: I need to tap on the keyboard dedicated button to have it disappear and not waste “viewing area” space