Difference between revisions of "Features/GTK3/Development"

From Sugar Labs
< Features‎ | GTK3
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
  
 
== Pending work ==
 
== Pending work ==
 +
 +
* shortcuts in palettes: button tooltips should show the shortcut, if any, next to the tip.  Like in the Stop button, "Stop Ctrl+Q"
 +
* title in menus (e.g. 'Back' in the Browse back button palette)
  
 
===sugar-toolkit-gtk3===
 
===sugar-toolkit-gtk3===
 
* take screenshot: the code has to be ported to cairo, see [http://git.sugarlabs.org/browse/mainline/blobs/master/webactivity.py#line541 _get_screenshot in Browse] as an example
 
* take screenshot: the code has to be ported to cairo, see [http://git.sugarlabs.org/browse/mainline/blobs/master/webactivity.py#line541 _get_screenshot in Browse] as an example
 
* toolbars: finish the sub-toolbar look-alike like in gtk2
 
* toolbars: finish the sub-toolbar look-alike like in gtk2
 +
* finish porting the 'do_expose_event' calls to 'do_draw' calls
  
 
===sugar-artwork===
 
===sugar-artwork===
Line 37: Line 41:
 
* implementing GtkContainer::forall: https://bugzilla.gnome.org/show_bug.cgi?id=644926, also needs https://bugzilla.gnome.org/show_bug.cgi?id=663052
 
* implementing GtkContainer::forall: https://bugzilla.gnome.org/show_bug.cgi?id=644926, also needs https://bugzilla.gnome.org/show_bug.cgi?id=663052
 
* missing parts in pango introspection, [https://bugzilla.gnome.org/show_bug.cgi?id=646788 646788] does contain what we need (there are quite a few introspection related pango bugs open atm, from a quick look I found  https://bugzilla.gnome.org/show_bug.cgi?id=660070, https://bugzilla.gnome.org/show_bug.cgi?id=627973, https://bugzilla.gnome.org/show_bug.cgi?id=645792, https://bugzilla.gnome.org/show_bug.cgi?id=645871, https://bugzilla.gnome.org/show_bug.cgi?id=646788 even with patches attached already for a while)
 
* missing parts in pango introspection, [https://bugzilla.gnome.org/show_bug.cgi?id=646788 646788] does contain what we need (there are quite a few introspection related pango bugs open atm, from a quick look I found  https://bugzilla.gnome.org/show_bug.cgi?id=660070, https://bugzilla.gnome.org/show_bug.cgi?id=627973, https://bugzilla.gnome.org/show_bug.cgi?id=645792, https://bugzilla.gnome.org/show_bug.cgi?id=645871, https://bugzilla.gnome.org/show_bug.cgi?id=646788 even with patches attached already for a while)
 +
* GLib.utf8_validate does segfault: https://bugzilla.gnome.org/show_bug.cgi?id=672889
 +
* Can not listen to signals in subclassed subclasses: https://bugzilla.gnome.org/show_bug.cgi?id=672864

Latest revision as of 06:43, 27 March 2012

This page includes repo details and how to get sugar-jhbuild set up with the GTK3 work.

Repos

jhbuild setup

All the changes have been landed in the master branches. Make sure you have the sugar-toolkit-gtk3 repository checked out and installed. There has been a fix in pygobject. Either compile/install the master branch or in F16 you can install as well the recent pygobject3 release.

Pending work

  • shortcuts in palettes: button tooltips should show the shortcut, if any, next to the tip. Like in the Stop button, "Stop Ctrl+Q"
  • title in menus (e.g. 'Back' in the Browse back button palette)

sugar-toolkit-gtk3

  • take screenshot: the code has to be ported to cairo, see _get_screenshot in Browse as an example
  • toolbars: finish the sub-toolbar look-alike like in gtk2
  • finish porting the 'do_expose_event' calls to 'do_draw' calls

sugar-artwork

Pending upstream work

All of these have been worked around (or will be worked around) for now, at the sugar level.