Difference between revisions of "GTK+ 3 issues"

From Inkscape Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
* SPIcon - src/widgets/icon.cpp
 
* SPIcon - src/widgets/icon.cpp
 
** Should be replaced with regular GtkImage.
 
** Should be replaced with regular GtkImage.
* SPCanvas - src/display/sp-canvas.coo
+
* SPCanvas - src/display/sp-canvas.cpp
 
** Needs to stay a custom widget. Fixed for GTK3.
 
** Needs to stay a custom widget. Fixed for GTK3.
  

Revision as of 07:41, 3 May 2016

This page is for Gtk documentation, any issues, questions or notes about the porting of inkscape to Gtk3. This document will be sent to the gtk/gnome developers and may be useful for Gimp developers who undergo the same process.

Issues

Document your issues with porting Inkscape to Gtk3 below.

  • Jumping palette. The color bar/palette does not seem to be able to decide how high it should be, at least for some combinations of palette width, height, etc. See launchpad bug #1201545.
  • Icons are too small / cut. (if someone can find the launchpad bug for this one, please add link here)

Standard Practice

List any repetative actions during the upgrade and note anything that needed doing when moving from gtk2 to gtk3 widgets (for examine hbox and vbox) be clear if the action is using gtk3 or gtkmm (which often papers over some of the move to gtk3)

* No patterns documented yet

Widgets

List any and all custom widgets currently being used in Inkscape.

  • Rulers - src/widgets/ruler.cpp
    • Should probably be updated from GIMP.
  • SPIcon - src/widgets/icon.cpp
    • Should be replaced with regular GtkImage.
  • SPCanvas - src/display/sp-canvas.cpp
    • Needs to stay a custom widget. Fixed for GTK3.

Ideas

Any ideas which are interesting

* No ideas yet