Difference between revisions of "GTK3 Porting Checklist"

From Claws Mail FAQ
Jump to navigationJump to search
(created)
 
 
(17 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.
+
* Foldersel dialog doesn't show alternating colors in the folder list.
  
Using gtk_container_add() with GtkBox results in widgets not using full height available to them - gtk_box_pack_start() should be used instead.
+
* "gtk-can-change-accels" has been removed: 'GtkSettings:gtk-can-change-accels has been deprecated since version 3.10 and should not be used in newly-written code. This setting is ignored.'
Fixed so far:
+
It seems that the only way to re-enable this is to switch to GtkApplication, and write our own acclerator implementation. https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-add-accelerator
- compose window textview
 
- prefsdialog page content area
 
- template preferences dialog
 
(Eventually, all GtkBoxes should be migrated to GtkGrid.)
 
  
Folderview uses too bright colors for row backgrounds (alternating light gray and even lighter gray).
+
== Works, but is ugly ==
  
Folderview uses white text for folders without new messages in them, instead of black. Maybe related to bug #3880.
+
* GtkSpinButton is too wide with the -/+ buttons being large and next to each other, instead of small and one above another like in GTK2.
  
GtkCMCList has redrawing issues when mouse scrolling.
+
== Deprecated API ==
 
 
Quicksearch sometimes doesn't display the search type combobox and information button.
 
 
 
Foldersel dialog doesn't show alternating colors in the folder list.
 
  
Fancy doesn't work, hangs indefinitely in webkit_web_view_new().
+
* GtkBox -> GtkGrid (for GTK4)
  
Messageview doesn't show Mimeview with body part icons on the right.
+
* GtkUIManager is deprecated in GTK3, to be removed in GTK4
 
 
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.
 
 
 
== 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.
 
 
 
== Deprecated API ==
 

Latest revision as of 13:01, 19 March 2022

Does not work

  • Foldersel dialog doesn't show alternating colors in the folder list.
  • "gtk-can-change-accels" has been removed: 'GtkSettings:gtk-can-change-accels has been deprecated since version 3.10 and should not be used in newly-written code. This setting is ignored.'

It seems that the only way to re-enable this is to switch to GtkApplication, and write our own acclerator implementation. https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-add-accelerator

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