-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTK4 migration #133
Comments
Initial impressions:
|
Wow, thanks for the initial analysis. The main use of clutter is the machine view and for that we'd need our own widget. I've ported that in the past from gnome canvas back then everyone told me clutter is the future :/ I think the best approach would be to start a gtk4 branch and keep hacking until it works. I can try to help a bit, if you can take the lead on organizing a migration plan (e.g. if you have smaller tasks to offload). |
Great idea, thanks! I'll get something compiling and running in whatever state, get the branch into the main repo here, then I'll make a bunch of suggested tasks and we can go from there. |
Just an update here, finally the code compiles. This is a massive job; I have been working pretty solidly on this for at least a few hours each day. I might just take another week to make sure that something reasonable appears on the screen. I'm not sure I've made the best choices here in all areas, but I'm in it for the long haul. I should also say that I'm happy to revert any and all of whatever I've done that's not "necessary" if you don't like it. Things I've been doing that I needed to do:
Things I've been doing that I didn't need to do:
Things I probably shouldn't have done:
Things that will still need to be done:
Good things:
|
Wow, thats a log of good progress. I'll checkout the branch this week (if you could share it) and give it a go. So far i've been not a bit fan of e.g. BUIld XML files. gtk tried various approaches in the past and it never fully worked. Hence I am curious how it looks now. That said building them in code and trying to leave logic out also requires discipline. |
@ensonic I think it's time for the birthing pains to start... I've pushed to the This is more of a sketch than a program, currently. It compiles and runs, and exits with one warning, but the only thing that works is the CPU load meter (hooray!) For example, I've written a bunch of code which I think might point to a way to draw the machines without Clutter, but it doesn't actually work yet. I'll start making some tasks that should keep everyone busy for a while. |
That should do for now... Also, I've placed I should have documented more of them with the reason why I was deferring, but I guess I didn't think there would be so many! I'll try and do a pass over these and add some more info. |
The Clutter project is retired, and it recommends users migrate to GTK4: https://blogs.gnome.org/clutter/2022/02/16/retiring-clutter/
There are quite a few little GTK Criticals that pop up when running under Wayland under GTK3, which is annoying while debugging, so I figure it's a good a time as any to give the migration a go.
FYI I've begun some work in this branch in my repo: https://github.com/dlbeswick/buzztrax/tree/feature/gtk4
The text was updated successfully, but these errors were encountered: