I have some GTK3 layouts, made with glade, for a GTK3 application. But when I tried to migrate to the fourth version, I faces with a lot of problems:
gtk4-builder-tool simplify --3to4 did nothing: it returned the same UI file with multiple errors like parameter not found in GtkSomeComponent. Installing libgtk3 packages changed nothing
I can’t do anything with Cambalache designer: it is absolutely laggy(when I add widget or change anything it freezes for a minute to apply the operation) and it’s projects are useless in GTK (are only compiled inside of Cambalache)
What shall I do to use and edit my GTK3 layouts in new GTK4?
Regarding 1 - gtk4-builder-tool … yeah, I tried to use this to migrate a relatively complex UI layout … doing a lot of manual search + replace … retrying running it. I ended up deciding it was much simpler to just start again. Further, as glade seems to be effectively abandoned ( correct me if I’m wrong ) … it’s probably not a bad idea to move to another tool and learn to use it by starting again.
Regarding 2 - Cambalache has been pretty bug-free for me. It’s obviously not complete yet, but it does what I need. How did you install it? Did you try the flatpak version? Oh - you can export Cambalache projects back to builder XML files.