Skip to content

Double click on icons (desktop and thunar icon view) using touch screen fails to launch/open folder.

We have several interactive panels (Dahua DeepHub Smart Interactive Whiteboard) that work as touchpanels connected to machines that run Xubuntu 22.

The command lsusb identifies as:

 1ff7:0f33 CVT Electronics.Co.,Ltd Touch Device

And xinput list as:

$ xinput list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
	 .....
⎜   ↳ TOUCH_MODE Device Touch Device          	id=16	[slave  pointer  (2)]
⎜   ↳ TOUCH_MODE Device Touch Device          	id=17	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
	 .....

$ xinput list-props 16

Device 'TOUCH_MODE Device Touch Device':
	Device Enabled (189):	1
	Coordinate Transformation Matrix (191):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (327):	0
	libinput Natural Scrolling Enabled Default (328):	0
	libinput Middle Emulation Enabled (336):	0
	libinput Middle Emulation Enabled Default (337):	0
	libinput Calibration Matrix (551):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Calibration Matrix Default (552):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Left Handed Enabled (343):	0
	libinput Left Handed Enabled Default (344):	0
	libinput Send Events Modes Available (312):	1, 0
	libinput Send Events Mode Enabled (313):	0, 0
	libinput Send Events Mode Enabled Default (314):	0, 0
	Device Node (315):	"/dev/input/event18"
	Device Product ID (316):	8183, 3891
	libinput Drag Lock Buttons (345):	<no items>
	libinput Horizontal Scroll Enabled (346):	1
	libinput High Resolution Wheel Scroll Enabled (349):	1

$ xinput list-props 17
Device 'TOUCH_MODE Device Touch Device':
	Device Enabled (189):	1
	Coordinate Transformation Matrix (191):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Calibration Matrix (551):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Calibration Matrix Default (552):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Send Events Modes Available (312):	1, 0
	libinput Send Events Mode Enabled (313):	0, 0
	libinput Send Events Mode Enabled Default (314):	0, 0
	Device Node (315):	"/dev/input/event16"
	Device Product ID (316):	8183, 3891

The problem is that double click on icons (desktop and thunar icon view) using touch screen fails to launch/open folder in Xubuntu 22

Remarks:

  • We use Xubuntu 22. The thunar version is 1.8.1. Double click on thunar on list view (detailed or compact) works perfectly.
  • With Xubuntu 18 double click on icons always works in all tested cases . The thunar version is 1.6.5.
  • With Lubuntu 22, Kubuntu 22, Ubuntu 22 (Gnome 3), Cinnamon Ubuntu 22, Mate Ubuntu 22 double click on icons works OK. The problem only affects xubuntu 22.
  • Testing different versions of thunar between 1.6.5 and 1.8.1, the double click fails with thunar 1.7.1-1, but with thunar 1.6.15-1 works OK.
  • Between thunar 1.6.15 and thunar 1.7.1 the change from libthunar-2 (gtk2 based) to libthunar-3 (gtk3 based) happens.
  • The problem is gtk3 ? No, the problem is libthunar-3. Mate Desktop (nemo) and Cinnamon Desktop (caja) uses gtk3 and double click on destkop/file explorer icon works well.
  • xfdesktop and thunar uses libthunar-3. When libthunar-3 arrived, the double click started to fail.

Therefore the problem is libthunar3 and its handling of double clicks on desktop icons and icons in thunar's icon view.

References: xfdesktop#251 (closed) xfdesktop#248