[Wayland-bugs] [Bug 791081] gtk_widget_realize() throws In pixman_region32_init_rect: Invalid rectangle passed

2017-12-05 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=791081

--- Comment #3 from Olivier Fourdan  ---
By corner case, I meant there are mechanisms in place in gtk to avoid this, but
by creating the widget w/out CSD, resizing it to 1x1, realizing it, unrealizing
it, adding a title bar which enables CSD, realizing it again and eventually
showing the widget, all that sequence defeats the mechanisms in place :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 791081] gtk_widget_realize() throws In pixman_region32_init_rect: Invalid rectangle passed

2017-12-05 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=791081

--- Comment #2 from Martin Stransky  ---
Yes, that's correct. It applies to any widget size smaller than CSD shadows
size, which is ~ 50x50 pixels for me at Fedora 26.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104140] Middle mouse button stops working until another one pressed

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104140

Bug ID: 104140
   Summary: Middle mouse button stops working until another one
pressed
   Product: Wayland
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: libinput
  Assignee: wayland-bugs@lists.freedesktop.org
  Reporter: hi-an...@yandex.ru

Created attachment 135994
  --> https://bugs.freedesktop.org/attachment.cgi?id=135994=edit
evemu output

I am using git-version from commit 6a8d5a6e: "meson.build: bump to 1.9.900".

Sometimes middle click stops working in all applications in the system i.e. I
can't scroll, open a new tab, paste from primary clipboard.

I can use keyboard, but the only action that makes the button to start working
again is clicking a distinct mouse button, e.g. the Left one.

The attached `evemu-record` output is written after Middle-mouse button stopped
working, by clicking it many times. Afterwards I clicked Left Mouse button
(thus Middle Mouse button started working), and a few times Middle Mouse Button
again.

$ udevadm info /dev/input/event3 
P:
/devices/pci:00/:00:12.0/usb4/4-1/4-1:1.0/0003:192F:0716.0008/input/input20/event3
N: input/event3
S: input/by-id/usb-192f_0716-event-mouse
S: input/by-path/pci-:00:12.0-usb-0:1:1.0-event-mouse
E: DEVLINKS=/dev/input/by-path/pci-:00:12.0-usb-0:1:1.0-event-mouse
/dev/input/by-id/usb-192f_0716-event-mouse
E: DEVNAME=/dev/input/event3
E:
DEVPATH=/devices/pci:00/:00:12.0/usb4/4-1/4-1:1.0/0003:192F:0716.0008/input/input20/event3
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=0716
E: ID_MODEL_ENC=0716
E: ID_MODEL_ID=0716
E: ID_PATH=pci-:00:12.0-usb-0:1:1.0
E: ID_PATH_TAG=pci-_00_12_0-usb-0_1_1_0
E: ID_REVISION=
E: ID_SERIAL=192f_0716
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=192f
E: ID_VENDOR_ENC=192f
E: ID_VENDOR_ID=192f
E: LIBINPUT_DEVICE_GROUP=3/192f/716:usb-:00:12.0-1
E: MAJOR=13
E: MINOR=67
E: SUBSYSTEM=input
E: USEC_INITIALIZED=90643469340

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 791081] gtk_widget_realize() throws In pixman_region32_init_rect: Invalid rectangle passed

2017-12-05 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=791081

--- Comment #1 from Olivier Fourdan  ---
I think we hit a corner case here.

Basically, when the gtk_window_resize(GTK_WINDOW(window), 1, 1); is issue, we
don't have CSD enabled, so 1x1 is a valid size.

Then the windos widget is unrealized, gtk_window_set_titlebar() is invoked and
enables CSD, which means that the decorations will be taken from the window
size.

So eventually, when we realize the window with its requested size of 1x1, the
client side decorations are substracted which leads to negative sizes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #7 from Jamie Macdonald  ---
I believe the "ABS_MT_TOUCH_MAJOR" event is a red herring - was able to
replicate the issue with that event reporting similar to a successful cursor
move.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #6 from Jamie Macdonald  ---
When I start the touch near the center of the trackpad, the cursor moves (see
attachment 135968)

I notice that in the second evemu-record (the one that moves), there is an
"ABS_MT_TOUCH_MAJOR" event, whereas in the first evemu-record (the problem),
there is none.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #5 from Jamie Macdonald  ---
Created attachment 135968
  --> https://bugs.freedesktop.org/attachment.cgi?id=135968=edit
Start touch near middle of trackpad, move finger to the right.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #4 from Jamie Macdonald  ---
Running libinput 1.9.3 on Arch Linux with gnome-shell 3.26.2 under wayland.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #3 from Jamie Macdonald  ---
The physical dimensions of this trackpad are 96mmx56mm (measured by a ruler),
the kernel measures it as 91mmx51mm.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #2 from Jamie Macdonald  ---
Created attachment 135967
  --> https://bugs.freedesktop.org/attachment.cgi?id=135967=edit
/sys/class/dmi/id/modalias

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

--- Comment #1 from Jamie Macdonald  ---
Created attachment 135966
  --> https://bugs.freedesktop.org/attachment.cgi?id=135966=edit
udevadm info /dev/input/event8

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104101] Cursor does not move when starting touch from side of touchpad. HP Stream 11-d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104101

Bug ID: 104101
   Summary: Cursor does not move when starting touch from side of
touchpad. HP Stream 11-d077nr
   Product: Wayland
   Version: unspecified
  Hardware: Other
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: libinput
  Assignee: wayland-bugs@lists.freedesktop.org
  Reporter: jamie.al...@gmail.com

Created attachment 135965
  --> https://bugs.freedesktop.org/attachment.cgi?id=135965=edit
Start touch on left side of trackpad, move finger to the right.

If I start a touch from either the left or the right sides of my trackpad
(about a 10mm strip on either side), my cursor does not move in gnome-shell
running under wayland.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104091] Touchpad not recognized as clickpad, HP Stream 11 d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104091

--- Comment #6 from Jamie Macdonald  ---
Created attachment 135963
  --> https://bugs.freedesktop.org/attachment.cgi?id=135963=edit
Patch to force this model to clickpad

I followed the pattern at https://bugs.freedesktop.org/show_bug.cgi?id=97147

After patching, the device is now on /dev/input/event9, and when I issue
`libinput list-devices`, before the results it reads:

"libinput error: event9  - Synaptics TM2976-002: libinput error: kernel bug:
clickpad advertising right button ..."

And it is behaving like a clickpad with areas emulating left, middle, right
buttons. This fixes the issue. Is it the best way? idk.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104091] Touchpad not recognized as clickpad, HP Stream 11 d077nr

2017-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104091

--- Comment #5 from Jamie Macdonald  ---
Created attachment 135962
  --> https://bugs.freedesktop.org/attachment.cgi?id=135962=edit
sudo touchpad-edge-detector 96x56 /dev/input/event8

sudo touchpad-edge-detector 96x56 /dev/input/event9

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs