Difference between revisions of "GTK3 Porting Checklist"

From Claws Mail FAQ
Jump to navigationJump to search
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Does not work ==
 
== Does not work ==
 
* Color labels do not show actual color boxes in common prefs.
 
 
*Using gtk_container_add() with GtkBox results in widgets not using full height available to them - gtk_box_pack_start() should be used instead. (Eventually, all GtkBoxes should be migrated to GtkGrid) Fixed so far:
 
** compose window textview
 
** prefsdialog page content area
 
** template preferences dialog
 
  
 
* Folderview uses too bright colors for row backgrounds (alternating light gray and even lighter gray).
 
* Folderview uses too bright colors for row backgrounds (alternating light gray and even lighter gray).
  
* Folderview uses white text for folders without new messages in them, instead of black. Maybe related to bug #3880.
+
* Quicksearch sometimes doesn't display the search type combobox and information button.
  
* GtkCMCList has redrawing issues when mouse scrolling.
+
* Switching between Layout Modes sometimes gets stuck and messes up the display
  
* Quicksearch sometimes doesn't display the search type combobox and information button.
+
* Several dialogues are too big, e.g. Condition and Action configuration in Filtering.  
  
 
* Foldersel dialog doesn't show alternating colors in the folder list.
 
* Foldersel dialog doesn't show alternating colors in the folder list.
Line 20: Line 13:
 
* Fancy doesn't work, hangs indefinitely in webkit_web_view_new().
 
* Fancy doesn't work, hangs indefinitely in webkit_web_view_new().
  
* Messageview doesn't show Mimeview with body part icons on the right.
+
* Vcalendar week/month views do not work, sometimes even crashes the whole program.
 
 
* Vcalendar week/month views do not work, debug messages look like a new Claws Mail instance is trying to start when trying to display them.
 
  
* Network log window minimal requested size is too large. Same for Mainwindow.
+
* PDFviewer crashes the whole program on opening (some?) PDFs from the textview.
  
 
== Works, but is ugly ==
 
== Works, but is ugly ==
Line 32: Line 23:
 
== Deprecated API ==
 
== Deprecated API ==
  
* GtkHBox, GtkVBox, GtkTable -> GtkGrid
+
* GtkBox -> GtkGrid (for GTK4)
  
* Alertpanel needs to be rewritten to not use GTK_STOCK_*, but GtkIconTheme and named icons.
+
* GtkUIManager is deprecated in GTK3, to be removed in GTK4

Revision as of 09:53, 4 December 2019

Does not work

  • Folderview uses too bright colors for row backgrounds (alternating light gray and even lighter gray).
  • Quicksearch sometimes doesn't display the search type combobox and information button.
  • Switching between Layout Modes sometimes gets stuck and messes up the display
  • Several dialogues are too big, e.g. Condition and Action configuration in Filtering.
  • Foldersel dialog doesn't show alternating colors in the folder list.
  • Fancy doesn't work, hangs indefinitely in webkit_web_view_new().
  • Vcalendar week/month views do not work, sometimes even crashes the whole program.
  • PDFviewer crashes the whole program on opening (some?) PDFs from the textview.

Works, but is ugly

  • GtkSpinButton is too wide with the -/+ buttons being large and next to each other, instead of small and one above another like in GTK2.

Deprecated API

  • GtkBox -> GtkGrid (for GTK4)
  • GtkUIManager is deprecated in GTK3, to be removed in GTK4