Control Over Window Lost After Screen Waking Up

Hi,
I have this strange behavior whenever I get to wake my laptop up,
If there is a previously open window,
Clicking on it does not give me back the control on it.
I have to first click on the XFCE menu button for instance, then this window again to regain control over it.
Could someone help me to solve this.
It can be really bothering when for instance I am on a full screen app, at waking up, I’ll have to find a way to exit the full screen or make the desktop appear again to have a access to the menu before being able to get back to my fullscreen app.
Thanks in advance

Post your system info’s please (as code):

inxi --admin --verbosity=5 --filter --no-host --width

System:
  Kernel: 6.11.2-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: root=/dev/mapper/vg--manjaro-rootfs rw quiet
    udev.log_priority=3 resume=UUID=eb991c94-cb3e-4c4f-9f32-33dbb3a28faf
  Console: pty pts/2 DM: LightDM v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire S5-371 v: V1.15 serial: <filter>
  Mobo: Acer model: Minicooper_SK v: V1.15 serial: <filter>
    part-nu: Aspire S5-371_1080_V1.15 uuid: 7c9f7a10-5cc6-e611-9bd2-fc459660b1fd    UEFI: Insyde v: 1.15 date: 03/16/2018
Battery:
  ID-1: BAT1 charge: 56.4 Wh (100.0%) condition: 56.4/54.2 Wh (104.0%)
    volts: 12.9 min: 11.6 model: PANASONIC 004C354F35315041 type: Li-ion
    serial: <filter> status: full
Memory:
  System RAM: total: 8 GiB available: 7.63 GiB used: 1.18 GiB (15.5%)
    igpu: 64 MiB
  Array-1: capacity: 16 GiB slots: 2 modules: 2 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: LPDDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: curr: 1.2 min: 1.5 max: 1.5 width (bits): data: 64
    total: 64 manufacturer: SK Hynix part-no: H9CCNNNBLTBLAR-NTD serial: N/A
  Device-2: ChannelA-DIMM1 type: no module installed
  Device-3: ChannelB-DIMM0 type: LPDDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: curr: 1.2 min: 1.5 max: 1.5 width (bits): data: 64
    total: 64 manufacturer: SK Hynix part-no: H9CCNNNBLTBLAR-NTD serial: N/A
  Device-4: ChannelB-DIMM1 type: no module installed
CPU:
  Info: model: Intel Core i7-6500U socket: U3E1 bits: 64 type: MT MCP
    arch: Skylake gen: core 6 level: v3 note: check built: 2015
    process: Intel 14nm family: 6 model-id: 0x4E (78) stepping: 3
    microcode: 0xBA
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 threads: 4 tpc: 2
    smt: enabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB
    desc: 2x256 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 400 min/max: 400/3100 base/boost: 3000/8300 scaling:
    driver: intel_pstate governor: powersave volts: 1.0 V ext-clock: 100 MHz
    cores: 1: 400 2: 400 3: 400 4: 400 bogomips: 20810
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Vulnerable: No microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
    SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Vulnerable: Clear CPU buffers attempted, no
    microcode; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Vulnerable
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Acer Incorporated ALI
    driver: i915 v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1916
    class-ID: 0300
  Device-2: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4 chip-ID: 04f2:b580
    class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.13 compositor: xfwm4 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915 tty: 80x31
  Monitor-1: eDP-1 model: AU Optronics 0x412d built: 2015 res: 1920x1080
    dpi: 166 gamma: 1.2 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
    inactive: wayland,x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.2.4-arch1.0.1
    note: console (EGL sourced) renderer: Mesa Intel HD Graphics 520 (SKL GT2),
    llvmpipe (LLVM 18.1.8 256 bits)
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
    bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
  API: ALSA v: k6.11.2-4-MANJARO status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.5 status: n/a (root, process) tools: pw-cli
  Server-3: PulseAudio v: 17.0 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Foxconn driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 44.0 C
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, sshd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 0489:e09f
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 1.86 TiB lvm-free: 1.17 TiB used: 231.55 GiB (12.1%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Ediloca model: EN206 2TB size: 1.86 TiB
    block-size: physical: 512 B logical: 512 B sata: 3.2 speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 9A0 temp: 29 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 286d 8h cycles: 180
    read: 11.8 MiB written: 17.1 MiB
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 500 GiB size: 491.08 GiB (98.22%) used: 231.35 GiB (47.1%)
    fs: ext4 block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
    mapped: vg--manjaro-rootfs label: N/A uuid: N/A
  ID-2: /boot raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 198.6 MiB (38.9%) fs: vfat block-size: 512 B dev: /dev/sda1
    maj-min: 8:1 label: N/A uuid: 02EA-81F6
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
    zswap: yes compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: eb991c94-cb3e-4c4f-9f32-33dbb3a28faf
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 211 Power: uptime: 6h 9m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3.04 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1216 libs: 347 tools: pamac,yay Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: Sudo (sudo) v: 1.9.16 default: Bash
    v: 5.2.37 running-in: pty pts/2 (SSH) inxi: 3.3.36

Is this a older bug or is this bug just showing up after the latest update?

I don’t use XFCE, but what comes in my mind after hearing this.
As work around that you may just want to look at your hotkeys for your desktop.

For my Taskbar under KDE i can press my Windows-Button on my Keyboard, that opens the Taskbar (you mean this for XFCE menu, right?),
this also works for fullscreen applications.

When this work around is not a good solution for you and since no other XFCE user steps in here and if you have no problem with random tinkering…

  1. You may want to restore this swap values to default. Maybe this lead to your issue?

  2. You can also probably play around with compositor settings on/off.
    In via XFCE Menu—>Settings—>Window Manager Tweaks—> Compositor tab—>Check mark for “Enable display compositing”.

Hi
Yep sure I am OK with workaround and I do that already when needed.
As per the swap values, I am not sure I’ve set that up myself, or if I did that was following a procedure to setup hibernation.
How should I try to set that back to the default ?
I’ll google that.
OK for the compositor tweaks I’ll check this.
Also, nope it’s rather something that’s been occurring for a long time.

You can additional see this with:
cat /proc/sys/vm/swappiness

If you see the value 10 then edit:

sudo nano /etc/sysctl.d/100-manjaro.conf

vm.swappiness=10

And change back to 60

btw i had manually switched to swappiness 10 as i was new to Manjaro and i had edited this file for myself (recommended from Techhut youtube channel 4 years ago). So im pretty sure, value 10 isn’t default or at least it wasn’t… maybe with a new install this default settings changed silently? But i don’t think so :wink: