GNOME Bugzilla – Bug 732970
Unselectable GtkLabels with links get the wrong initial cursor
Last modified: 2014-07-12 01:30:04 UTC
Created attachment 280302 [details] Test case to illustrate the problem Unselectable labels with links inside currently seem to get the wrong initial cursor in certain situations. I could only trigger this by adding/showing the label in a timeout. Run the test case and move your mouse over the window (the label expands), you will get the GDK_XTERM cursor even though the label is not selectable. Moving the cursor out of the window and back inside "fixes" the problem since moving the cursor back inside will call gdk_window_set_cursor (priv->select_info->window, NULL) in gtk_label_update_cursor. I'll attach a patch that fixes the problem but I'm not sure if it is 100% correct.
Created attachment 280303 [details] [review] Patch to only set the GdkWindow's cursor to GDK_XTERM if the label is really selectable