Project

General

Profile

Bug #11041

Touchpad under Gnome with Wayland

Added by Ulrich Herter about 3 years ago. Updated almost 3 years ago.

Status:
Closed: upstream
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
05/29/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
git stable branch
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi gurus,

When using darktable under Gnome with Wayland, touch pad scrolling isn't working in lighttable and darkroom mode. Also I cannot input numbers from keyboard into a fine tune window (right mb click on slider).

Some observations:
- With USB-mouse, scrolling works fine.
- On Gnome with X11 everythin works as expected.
- As well the git master branch as well as the version 2.0.4 are affected.
- I'm running Arch Linux with gnome-shell 3.20.2, gtk 3.20.6 on an Retina-MBP, late 2013.
- Other applications (Gimp, inkscape) do not have this problem

Please let me know if and how I can provide some more debug output!

Thanks a lot,
Uli

Output from ~$ darktable -d input:

uli@archmac: ~$ darktable -d input
[input device] Input devices found:

Wayland Keyboard (no cursor), source: GDK_SOURCE_KEYBOARD, mode: GDK_MODE_SCREEN, 0 axes, 0 keys

Wayland Pointer (with cursor), source: GDK_SOURCE_MOUSE, mode: GDK_MODE_SCREEN, 2 axes, 0 keys
GDK_AXIS_X
GDK_AXIS_Y

(darktable:18195): GLib-CRITICAL **: g_async_queue_push: assertion 'queue' failed

(darktable:18195): GLib-CRITICAL **: g_async_queue_push: assertion 'queue' failed

(darktable:18195): Gtk-WARNING **: Allocating size to main_window 0x1b50320 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Gdk-Message: Window 0x35125c0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x35125c0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x355da10 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x355da10 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x355d2e0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: Window 0x355d2e0 is a temporary window without parent, application will not be able to position it on screen.

History

#1 Updated by Tobias Ellinghaus about 3 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Did you try Inkscape in its GTK3 version? I am not aware of anything special done by darktable, so maybe it's just a(nother) GTK3 bug?

#2 Updated by Ulrich Herter about 3 years ago

Hi Tobias,

thanks for looking into this. You're right, my inkscape version uses gtk2...

But anyway, I don't have this issue in any other application, including those using gtk3 (gedit, evince for example).

To be a little more precise: Under wayland I can scroll through modules when the mouse is over the modules scroll bar, but not on the image previews in lighttable or on any slider...

From my point of view it should be somewhere in darktable-gtk3-wayland, or how those packages are communicating. I'm not a developer though, so it's just guessing.

Cheers,
Uli

#3 Updated by Tobias Ellinghaus about 3 years ago

I guess until someone else starts using darktable, GNOME, Wayland and a touchpad AND is capable of fixing the bug nothing will be done – I myself only qualify for 2 of the 5 points. Let's keep this report open and see if anyone shows up.

#4 Updated by Ulrich Herter about 3 years ago

Hi all,

Since the latest update of wayland and related packages, mainly wayland and xorg-server-wayland, everything seems to work fine!

I wanna appologize for posting this bug here as it obviously wasn't a darktable issue... I'll do some more research before filing a bug next time.

I guess this report can be closed now.

Thanks,
Uli

PS.: The packages I think are relevant to this:
darktable 1:2.0.4-1extra/wayland 1.11.0-1
wayland-protocols 1.4-1
xorg-server-xwayland 1.18.3-2
gtk3 3.20.6-1
gtkmm3 3.20.1-1

#5 Updated by Tobias Ellinghaus about 3 years ago

  • % Done changed from 20 to 0
  • Status changed from Incomplete to Closed: upstream

#6 Updated by Rodrigo Kassick about 3 years ago

In Fedora 24, under wayland, this bug persists.

Scrolling in light room does not scroll
Scrolling in dark room does not zoom
Pinch-zooming in dark room does not zoom (in eog, only pinch zoom works, scroll does not zoom anymore)

When I force darktable to run under XWayland (GDK_BACKEND=x11 darktable), scrolling and scroll-zooming works fine (but not pinch-zoom).

The same behaviour happens in Shotwell

Possibly related to https://bugzilla.gnome.org/show_bug.cgi?id=748952

gtk3 Version : 3.20.6 Release : 1.fc24
libinput : 1.3.3 Release : 2.fc24
darktable Version : 2.0.5 Release : 1.fc24

#7 Updated by Roman Lebedev almost 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top