Xfce4 buggy touchscreen behaviour (xorg-server upgrade?)
Describe your issue
What's the current behaviour?
In Xfce4 some touchscreen actions became buggy. I noticed following things:
- Volume icon in the panel does not open/close on short click. Long click keeps it open.
- Same in the Network-Manager icon in the panel. (Well, occationally it remains open.)
- Open the Settings Manger -> try to move the Settings window by grapping the window top bar -> the window moves step-wise.
As far as I can remember, a pmbootstrap image I created two weeks ago didn't show this behaviour (although I can't crosscheck because I don't have the image anymore).
Possibly related to the upgrade of xorg-server in Alpine Linux from 1.20.13 to 21.1.1 on 2021-11-11.
Therefore probably also affects other X11 UI's. And possibly an issue to be solved upstream somewhere (not sure yet).
How to reproduce your issue?
Build new image by pmbootstrap.
What device are you using?
samsung-serranove
(kernel: 5.14.0-postmarketos-qcom-msm8916)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v21.06
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
Other
-
No environment -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2021-11-19
Additional information
Exporting environment variable GDK_CORE_DEVICE_EVENTS=1 works around it, e.g.:
-
sudo vi /etc/profile.d/gtk2-style-input.sh
[new file] export GDK_CORE_DEVICE_EVENTS=1
- logout/login or reboot
However, according to [1], this uses GTK2 style input instead of xinput2 – and disables smooth scrolling and touchscreen support for GTK3 applications.
[1] https://wiki.archlinux.org/title/GTK#Wrong_focus_events_with_tiling_window_managers