After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735717 - Gnome+Wayland can't resize windows
Gnome+Wayland can't resize windows
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
3.13.x
Other Linux
: Normal blocker
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-30 17:45 UTC by optimisme
Modified: 2015-06-27 07:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A program explicitly setting cursor icon -- taken from xcb tutorial (11.03 KB, text/x-csrc)
2014-09-04 00:47 UTC, Boyan Ding
Details

Description optimisme 2014-08-30 17:45:43 UTC
Description of problem:
Can't resize windows using gnome+wayland session.

Version-Release number of selected component (if applicable):
Fedora-Live-Workstation-x86_64-21-20140827

How reproducible:
Allways

Steps to Reproduce:
1.Using Gnome+Wayland session
2.Open a new window (terminal or gedit)
3.Move the cursor at the corners of the window
4.The resize cursor is missing
5.Can't resize the window

Actual results:
Can't resize windows

Expected results:
Be available to resize windows
Comment 1 Boyan Ding 2014-09-03 03:07:43 UTC
The window can actually resize but the cursor icon doesn't change when cursor is moved to the edge of windows.

This happens on Xwayland windows. I guess the problem is proper cursor support for Xwayland windows. You can try

$ GDK_BACKEND=wayland gnome-mines
and
$ gnome-mines

and observe the difference between native wayland ones (working correctly here) and the ones through Xwayland (not working correctly).
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-09-03 15:51:41 UTC
My guess is that the cursor theme isn't being set properly. If you go into the shell and hover over the text entry, does the cursor properly change to the I-beam?
Comment 3 Boyan Ding 2014-09-04 00:47:01 UTC
Created attachment 285305 [details]
A program explicitly setting cursor icon -- taken from xcb tutorial

I guess not. See the attached program which explicitly set the cursor using xcb. The cursor doesn't work in Gnome on wayland.

Compile it with:
gcc -std=c99 -o cursor cursor -lxcb
Comment 4 Boyan Ding 2014-09-04 00:52:53 UTC
(In reply to comment #3)
> gcc -std=c99 -o cursor cursor -lxcb

Sorry, the second cursor should be cursor.c
Comment 5 Jasper St. Pierre (not reading bugmail) 2014-09-04 02:58:27 UTC
Does it work fine if you run $ mutter --wayland --display-server on a VT? Because it works fine for me there. I can't test gnome-shell-wayland right now.
Comment 6 Boyan Ding 2014-09-04 03:37:52 UTC
(In reply to comment #5)
> Does it work fine if you run $ mutter --wayland --display-server on a VT?
> Because it works fine for me there. I can't test gnome-shell-wayland right now.

All works well under mutter.
Comment 7 Jasper St. Pierre (not reading bugmail) 2014-09-05 23:14:49 UTC
I can't seem to reproduce this under gnome-shell or mutter. The cursor works fine for me in all cases I've tested.
Comment 8 Boyan Ding 2014-09-06 00:53:57 UTC
(In reply to comment #7)
> I can't seem to reproduce this under gnome-shell or mutter. The cursor works
> fine for me in all cases I've tested.

Okay, my gnome stack is too old, and I don't have time to build a newer one. Will test once I have newer ones.
Comment 9 Matthias Clasen 2014-09-07 12:23:43 UTC
moving this off the blocker list, then. thanks for the testing, Jasper
Comment 10 Boyan Ding 2014-09-10 05:38:07 UTC
(In reply to comment #7)
> I can't seem to reproduce this under gnome-shell or mutter. The cursor works
> fine for me in all cases I've tested.

Updated important part of gnome stack to 3.13.91 but unfortunately the problem persists on my machine. No idea where has gone wrong.
Comment 11 Jasper St. Pierre (not reading bugmail) 2015-06-27 04:33:04 UTC
Are you still seeing this in 3.16?
Comment 12 Boyan Ding 2015-06-27 07:04:19 UTC
No. 3.16 works all right now.