Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#3551 closed defect (fixed)

Hand cursor is wrong in GTK+3

Reported by: manuq Owned by: manuq
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords: 12.1.0
Cc: erikos Distribution/OS: OLPC
Bug Status: New

Description

A really small mouse cursor appears when a link is hovered in Browse or Read. It looks like a really small hand with a pointing finger, not the large friendly Sugar themed hand cursor.

Change History (6)

comment:1 Changed 12 years ago by manuq

  • Cc erikos added
  • Owner changed from benzea to manuq
  • Status changed from new to assigned

comment:2 Changed 12 years ago by erikos

  • Bug Status changed from Unconfirmed to New
  • Distribution/OS changed from Unspecified to OLPC
  • Milestone changed from Unspecified by Release Team to 0.96
  • Severity changed from Unspecified to Major
  • Version changed from Unspecified to Git as of bugdate

We need to specify in the gtk3 theme that we want to use the Sugar cursor theme.

diff --git a/gtk3/theme/settings.ini.em b/gtk3/theme/settings.ini.em
index bd2d7cd..2089ad4 100644
--- a/gtk3/theme/settings.ini.em
+++ b/gtk3/theme/settings.ini.em
@@ -14,6 +14,7 @@ icon_large = icon_base * 5
 [Settings]
 gtk-auto-mnemonics = 1
 gtk-toolbar-style = GTK_TOOLBAR_ICONS
+gtk-cursor-theme-name = sugar
 
 ${
 icon_small = icon_base * 3

We do specify that for the shell in http://git.sugarlabs.org/sugar/mainline/blobs/master/data/gtkrc.em But that does not work for our toolkit-gtk3 activities.

Can be tested on the XO, where with this patch the cursor has the desired size or in jhbuild on a non-xo device where the hover cursor has the correct size and shape (is the host system one in before).

comment:3 Changed 12 years ago by manuq

I can confirm, adding that setting fixes the cursor.

comment:4 Changed 12 years ago by erikos

  • Resolution set to fixed
  • Status changed from assigned to closed

Pushed as a55fb8598e888b5dcc494560614721be039a7dfa, will be in sugar-artwork 0.96.2

comment:5 Changed 11 years ago by dnarvaez

  • Component changed from sugar-artwork to Sugar

comment:6 Changed 11 years ago by dnarvaez

  • Milestone 0.96 deleted

Milestone 0.96 deleted

Note: See TracTickets for help on using tickets.