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 687130 - st-entry: Change the pointer cursor on enter/leave events
st-entry: Change the pointer cursor on enter/leave events
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: st
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-29 15:49 UTC by Thomas Wood
Modified: 2012-11-06 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
st-entry: Change the pointer cursor on enter/leave events (2.41 KB, patch)
2012-10-29 15:49 UTC, Thomas Wood
committed Details | Review

Description Thomas Wood 2012-10-29 15:49:34 UTC
Change the pointer cursor to an i-beam when it is inside the ClutterText.
Comment 1 Thomas Wood 2012-10-29 15:49:36 UTC
Created attachment 227550 [details] [review]
st-entry: Change the pointer cursor on enter/leave events
Comment 2 Allan Day 2012-11-01 16:42:04 UTC
Seems like an obvious enhancement for most of our text entry widgets. The only problematic thing is the overview search entry - having the i-beam cursor there would make it look like you can edit the hint text. One possibility would be to hide the hint text on hover.
Comment 3 Jasper St. Pierre (not reading bugmail) 2012-11-04 18:49:15 UTC
Review of attachment 227550 [details] [review]:

It's a bit disappointing that we have to resort to Xlib for this. Note that we have another way of setting the cursor for DND:

http://git.gnome.org/browse/gnome-shell/tree/src/shell-global.c#n595

It shouldn't interact in any way, but I just want to make sure. Given that Clutter doesn't have any cursor mechanism (until we force GDK, of course), perhaps it's worth it to add a StCursor? This is certainly fine for now.
Comment 4 Thomas Wood 2012-11-06 11:51:28 UTC
Attachment 227550 [details] pushed as 2d763bd - st-entry: Change the pointer cursor on enter/leave events