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 746598 - resize cursors lost
resize cursors lost
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
: 747652 747823 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-03-22 05:42 UTC by Matthias Clasen
Modified: 2015-06-23 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2015-03-22 05:42:21 UTC
I noticed that resizing a window from the border no longer gets the proper resize cursor, but just an arrow. Fallout from GTK+ decorations ?
Comment 1 Jan Alexander Steffens (heftig) 2015-03-27 20:45:10 UTC
Only the cursor change on hover is missing. While dragging, the proper cursors show.

It seems to affect server-side decorations only.

There's a ~50 pixel wide area at the left window edge where the cursors still show on hover.
Comment 2 Marco Scannadinari 2015-03-28 12:30:08 UTC
Can confirm this. Also at the top edge, if you move the cursor slowly around that area, the correct resize cursor will show only for a split second...
Comment 3 Florian Müllner 2015-04-10 22:03:36 UTC
*** Bug 747652 has been marked as a duplicate of this bug. ***
Comment 4 Jan Alexander Steffens (heftig) 2015-04-11 00:04:36 UTC
It appears whatever triggers this bug randomly happens when the shell starts (race?). I can sometimes get the cursors into a working state by repeatedly restarting it.
Comment 5 Florian Müllner 2015-04-14 08:37:04 UTC
*** Bug 747823 has been marked as a duplicate of this bug. ***
Comment 6 ciwolsey 2015-05-16 15:58:30 UTC
I'm having this problem also. It's persisted through a fresh install of Arch linux. I'm using nvidia proprietary drivers if that helps.
Comment 7 Gerry 2015-05-28 09:39:29 UTC
I am experiencing the same problem. I can confirm what Jan Alexander Steffens says; restarting GNOME Shell a few times (anywhere between one to ten times, it is fairly random) fixes the problem for that session.
Comment 8 Rob O'Connell 2015-06-16 16:23:25 UTC
I also see this behavior (Arch linux, gnome 3.16.2)
The gnome-shell trick mentioned about also works for me, and is also a little random as others have seen. Thanks Jan and Gerry.
Comment 9 Jasper St. Pierre (not reading bugmail) 2015-06-16 16:31:00 UTC
I can't seem to reproduce this. Does it happen consistently enough for you guys?
Comment 10 Paul Bryan 2015-06-16 16:40:28 UTC
Yes, I can reproduce this issue on demand. Also, I'd like to point-out that the left window border always seems to show the cursor, whereas bottom, right and top do not show the cursor unless I click to resize the window.
Comment 11 Rob O'Connell 2015-06-16 17:35:03 UTC
I see the same behavior as Paul: happens every time. Resize works on left border.
Comment 12 ciwolsey 2015-06-16 17:43:35 UTC
For me I'd say there's an 80% chance of having this problem each time I boot. Rather than rebooting a few times you can simple press alt+F2 and enter "restart" a few times and the issue will eventually be gone for that session. I experience the same problem on two separate installs.
Comment 13 ciwolsey 2015-06-16 18:02:38 UTC
The problem for me also only seems to affect certain apps such as skype, terminator, hexchat and sublime text while other apps such as nautilus and chrome are unaffected.
Comment 14 Jasper St. Pierre (not reading bugmail) 2015-06-16 18:10:27 UTC
Interesting. What version of mutter are you running on, and on what distribution?
Comment 15 ciwolsey 2015-06-16 18:13:07 UTC
mutter 3.16.2

The interesting thing, and I could be wrong, but most of the apps that work fine have GTK3 as a dependency while the ones that don't seem to use GTK2. I don't know if this could be a reason.
Comment 16 ciwolsey 2015-06-16 18:17:26 UTC
My theory about GTK2/3 seems to be wrong as chrome uses gtk2 and yet never seems to be affected. I've been restarting chrome constantly and it always resizes fine.
Comment 17 Jasper St. Pierre (not reading bugmail) 2015-06-16 18:23:57 UTC
I'm assuming that you're using Chrome with client-side decorations, which would explain it. Nautilus and Chrome both use CSD, while Skype, Terminator, HexChat and Sublime would be relying on server-side decorations.
Comment 18 ciwolsey 2015-06-16 18:30:04 UTC
I'd assume sure. I don't know enough to check but if you give instructions I can.
Comment 19 Jasper St. Pierre (not reading bugmail) 2015-06-16 18:33:40 UTC
For reference, I'm on mutter 3.16.2 on Fedora 22 here and it's working perfectly fine for me, even after 10 or so shell restarts.
Comment 20 Jan Alexander Steffens (heftig) 2015-06-16 18:41:31 UTC
Fedora does apply a patch that might be related: http://pkgs.fedoraproject.org/cgit/mutter.git/plain/0001-Force-cursor-update-after-applying-configuration.patch?h=f22

This patch also isn't in the gnome-3-16 branch.
Comment 21 ciwolsey 2015-06-16 18:49:18 UTC
I'm a bit out of my depth but is this patch in 3.17.2.29 ? Because I'm just installing that now to see if it makes a difference.
Comment 22 Jasper St. Pierre (not reading bugmail) 2015-06-16 18:51:31 UTC
(In reply to Jan Alexander Steffens (heftig) from comment #20)
> Fedora does apply a patch that might be related:
> http://pkgs.fedoraproject.org/cgit/mutter.git/plain/0001-Force-cursor-update-
> after-applying-configuration.patch?h=f22
> 
> This patch also isn't in the gnome-3-16 branch.

It would only make a difference for Wayland sessions under qxl/spice virt. It has nothing to do with resize cursors.
Comment 23 ciwolsey 2015-06-16 18:53:26 UTC
Indeed, it made no difference.
Comment 24 Paul Bryan 2015-06-16 21:41:20 UTC
I'm using mutter 3.16.2-1 on Arch Linux.
Comment 25 ciwolsey 2015-06-16 21:45:42 UTC
I'm on arch too
Comment 26 Jasper St. Pierre (not reading bugmail) 2015-06-23 22:29:09 UTC
Finally managed to reproduce this one and track it down.

Fixed by https://git.gnome.org/browse/mutter/commit/?id=12771a555a9954ba9f002b7e422385cf2e904e86

Thanks for the help, everyone!
Comment 27 ciwolsey 2015-06-23 23:33:34 UTC
Wow good job this has been irritating me and a lot of people I know for ages