Features/GTK3/Porting/InfoSlicer: Difference between revisions

Humitos (talk | contribs)
Humitos (talk | contribs)
Line 169: Line 169:
= Missing / Problematic things (not ported yet) =
= Missing / Problematic things (not ported yet) =


* Select text from the ''Edit View'' (TextView) and the Home View. This error happens in many places of the code.
* [<span style="color: green;">DONE</span>] <del>Select text from the ''Edit View'' (TextView) and the Home View. This error happens in many places of the code.</del>
** http://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventMotion
** http://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventMotion
** https://bugzilla.gnome.org/show_bug.cgi?id=679795


  Traceback (most recent call last):
  Traceback (most recent call last):
Line 177: Line 178:
  TypeError: could not convert type EventMotion to GdkEvent required for parameter 0
  TypeError: could not convert type EventMotion to GdkEvent required for parameter 0


* Issue related with "adding columns to the TreeView": https://bugzilla.gnome.org/show_bug.cgi?id=679415
* [<span style="color: orange;">ALTERNATIVE</span>] Issue related with "adding columns to the TreeView": https://bugzilla.gnome.org/show_bug.cgi?id=679415
* Drag and Drop Images from the Edit View is not working. Line #52 (''infoslicer/widgets/Gallery_View.py'')
** There is a workaround on the code to solve this issue
* [<span style="color: red;">IMPORTANT</span>] Drag and Drop Images from the Edit View is not working. Line #52 (''infoslicer/widgets/Gallery_View.py'')
** Example about how to use the drag-n-drop http://git.gnome.org/browse/pygobject/tree/demos/gtk-demo/demos/clipboard.py#n96
** Example about how to use the drag-n-drop http://git.gnome.org/browse/pygobject/tree/demos/gtk-demo/demos/clipboard.py#n96
* After drag-n-drop an arrow is added inside the article (right side) that is being edited. This is not working due: https://bugzilla.gnome.org/show_bug.cgi?id=651962
* After drag-n-drop an arrow is added inside the article (right side) that is being edited. This is not working due: https://bugzilla.gnome.org/show_bug.cgi?id=651962
Line 184: Line 186:
* On "Home View" under the ''Custom'' TreeView if I add some articles there I cannot move them up or down
* On "Home View" under the ''Custom'' TreeView if I add some articles there I cannot move them up or down
** The same happens on the ''Wiki'' TreeView
** The same happens on the ''Wiki'' TreeView
** ''TODO: This is not working because of the port to Gtk3. TreePath object does not support indexing''
* Check boxes on "Home View" ''Custom'' TreeView don't show the tick after clicking (Is this related with the theme?)
* Check boxes on "Home View" ''Custom'' TreeView don't show the tick after clicking (Is this related with the theme?)
** After clicking on all the articles under this TreeView I see the ''Custom'' check box is checked automatically
** After clicking on all the articles under this TreeView I see the ''Custom'' check box is checked automatically