Hello to everyone,
just to document the state of migration, if anyone wants to help. For now, I will just use the migration documentation on https://docs.gtk.org/gtk4/migrating-3to4.html as a todo list. Just because that is, how I will handle it. So everyone can see how far I am/we are. The list might be incomplete and filled with time. Feel free to edit it with care.
Also, feel free to reopen tasks, if you think they are not solved cause of whatever reason. If for one point exist one or more pr that include the whole work, close the point here with reference to the pr(s). It would be awesome if anyone writes a note to a task she/he is working on. I would suggest to take care of every point, also if one point might be obviously checked. It is just that we have everything in mind.
At the point of starting with the hard migration, it might be helpful to have an separate branch for it centrally and not in everyone fork repo.
If this issue will be accepted for documentation, #13236 might be closed with reference to this entry.
Last point: This is just a suggestion how this work might be done and tracked.
- Edit: 02.06.2024 - No inactivity.
- Edit: 23.11.2024 - The following decision has been taken: All the changes won't be merged into darktable-org:darktable/master branch with every task. One branch will be created in Christian-Kr:krippendorf/gtk4. This branch will be keep in sync with master regularly. Every task will be implemented in a separate feature branch and then merged with pr in Christian-Kr:krippendorf/gtk4. Hopefully, this will lead to a faster development cause it might not be that important if something breaks for a time, like when it gets merged into darktable-org:darktable/master.
Preparation in GTK 3.x
Changes that need to be done at the time of the switch
Hello to everyone,
just to document the state of migration, if anyone wants to help. For now, I will just use the migration documentation on https://docs.gtk.org/gtk4/migrating-3to4.html as a todo list. Just because that is, how I will handle it. So everyone can see how far I am/we are. The list might be incomplete and filled with time. Feel free to edit it with care.
Also, feel free to reopen tasks, if you think they are not solved cause of whatever reason. If for one point exist one or more pr that include the whole work, close the point here with reference to the pr(s). It would be awesome if anyone writes a note to a task she/he is working on. I would suggest to take care of every point, also if one point might be obviously checked. It is just that we have everything in mind.
At the point of starting with the hard migration, it might be helpful to have an separate branch for it centrally and not in everyone fork repo.
If this issue will be accepted for documentation, #13236 might be closed with reference to this entry.
Last point: This is just a suggestion how this work might be done and tracked.
Preparation in GTK 3.x
(Done-by: @Christian-Kr; Date: 21.12.2023)
Remove deprecated properties. #15898(Done-by: @Christian-Kr; Date: 21.12.2023)
(Info: Close PR and merge into Christian-Kr:krippendorf/gtk4, Date: 23.11.2024)
Couldn't find any use of it, but I am not sure.
In code I only found vertical-separator in gtk.c on line 3238. I don't know how to get this value without properties in gtk3. The effect is not big if it will be removed. Mostly the scrolling is not exactly one row.
(Done-by: @Christian-Kr; Date: 21.12.2023)
(Done-by: @Christian-Kr; Date: 21.12.2023)
Remove gtk_widget_set_app_paintable. #15908(Done-by: @Christian-Kr; Date: 21.12.2023)
(Info: Close PR and merge into Christian-Kr:krippendorf/gtk4, Date: 23.11.2024)
(Done-by: @Christian-Kr; Date: 21.12.2023)
(Done-by: @Christian-Kr; Date: 21.12.2023)
(Done-by: @Christian-Kr; Date: 21.12.2023)
Migration of button-pressed and button-released to new GtkGesture API. #15923Migration of button-pressed and button-released to new GtkGesture API. #16919(Done-by: @Christian-Kr; Date: 21.12.2023)
(Info: Close PR and merge into Christian-Kr:krippendorf/gtk4, Date: 23.11.2024)
Changes that need to be done at the time of the switch