Package: xfwm4
Version: 4.20.0-1
Severity: important

Dear Maintainer,

I've been using xfce4 for decades, and I'm loving it. thanks for
packaging the eco-system.

having said that, I'm experiencing a problem with xfwm4 (on multiple
machines) that makes it rather hard to use: whenever the screensaver
kicks in (e.g. after a suspend/resume cycle on my laptop; or just leaving
the desktop on for a prolonged time), and i then cancel the screen-saver (by
logging in again), no window has keyboard focus, and I cannot type.

i have to move the mouse first to another window, after which the
keyboard works again.

on my dual-screen desktop computer, this is not a big problem, as I
usually have multiple windows open and can just change move the mouse to
one of them.
however, on my small-screen laptop this becomes serious, as I often run
applications in full-screen mode.
i found the hard way, that a lot of my applications, while supporting
fullscreen, allow me to exit fullscreen only via a special *key* (ESC,
F11, whatever), and *not* via the mouse (*some* applications have a
right-click context-menu that allows you to exit fullscreen; but some
don't)
if the keyboard does not work, this basically means that you are locked
in the current fullscreen window and cannot type.

now, the problem seems to be, that I have setup the following focus model
(which in general I like very much):
- focus follows mouse
- delay before window receives focus: shortest possible
- do *not* automatically raise focused windows

so my understanding of the issue is:
0. "focus follows mouse" means, that the focus is handed over to a
   window when the cursor *enters* that window.
1. whatever (fullscreen) window I'm currently working on has focus
2. when the system suspends or otherwise activates the screensaver, the
   screensaver receives focus.
3. when i want to exit the screensaver, the login-window receives focus
   (so I can properly type my credentials)
4. the screensaver deactivates and closes all its windows and the
   fullscreen window becomes visible again.
5. however, since the window is fullscreen, the cursor does not "enter"
   the window, so no "transfer focus" event is triggered.
6. no window has focus, so nothing receives keyboard events
   (probably the root window does have focus, but i can't even switch desktops)


i would expect that the original focus is restored when the screensaver
exits.

i'm still running X11, using 'lightdm' as the display-manager and
'light-locker' as the screensaver.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 
'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.14+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xfwm4 depends on:
ii  libc6                     2.42-16
ii  libcairo2                 1.18.4-3+b1
ii  libepoxy0                 1.5.10-2+b2
ii  libgdk-pixbuf-2.0-0       2.44.6+dfsg-2
ii  libglib2.0-0t64           2.88.1-2
ii  libgtk-3-0t64             3.24.52-1
ii  libpango-1.0-0            1.57.1-2
ii  libpangocairo-1.0-0       1.57.1-2
ii  libstartup-notification0  0.12-8+b2
ii  libwnck-3-0               43.3-1+b2
ii  libx11-6                  2:1.8.13-1
ii  libxcomposite1            1:0.4.6-1+b2
ii  libxdamage1               1:1.1.7-1+b1
ii  libxext6                  2:1.3.4-1+b4
ii  libxfce4ui-2-0            4.20.2-2
ii  libxfce4util7             4.20.1-2
ii  libxfconf-0-3             4.20.0-2
ii  libxfixes3                1:6.0.0-2+b5
ii  libxinerama1              2:1.1.4-3+b5
ii  libxpresent1              1.0.1-1+b3
ii  libxrandr2                2:1.5.4-1+b4
ii  libxrender1               1:0.9.12-1+b2
ii  libxres1                  2:1.2.1-2

Versions of packages xfwm4 recommends:
ii  librsvg2-common  2.62.1+dfsg-1

Versions of packages xfwm4 suggests:
ii  xfce4  4.20.1

-- no debconf information

Reply via email to