-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Updating to GTK 4 #2491
Comments
Looks like there's a migration documentation https://docs.gtk.org/gtk4/migrating-3to4.html that could be helpful for people to look at. This might be something we can break up into smaller chunks that can be done while using GTK3 and then the GTK4 PR can handle the stuff that can't be done beforehand. |
Surely. I read the documentation and I began the refactorings. But the design changes I made were so profound, I figured I shouldn't decide this. The design could be changed piece by piece, but the migration from GTK 3 to 4 has to be done all at once. You're definitely right with that. I'd very much appreciate it if someone would go for this step. Otherwise I'll have to wait a few weeks before I can take the time to do it. |
There are at least 2 things that were found a year ago when I was trying to migrate it to GDK4:
|
Looks like something worth picking up again. What's wrong with this label? Isn't it possible to handle an interaction on such a label? From what I read so far, there's actually no difference to the old one. And rotation is definitely possible, in source and style sheets. Though something that's worth a look again? |
This piqued my interest, however, my time is limited, so I will only try it as a hobby (of course, it may not be realized in the end), if anyone completes it before this, then, great |
That would be great. There are design changes to make and then the actual migration to do. You can use the earlier mentioned migration guide as an orientation for the second part. |
okay |
Would this mean adding #1120 back in? I just wanna know if we're going to be able to use |
It would. But unfortunately, there's no serious attempt to migrate yet... |
set_angle method is dropped in the GTK4 without any alternatives. So for now it's impossible to do text rotation in the label |
Updating to GTK 4 provides a variety of features. CSS properties like
font-variation-settings
for example. And there are plenty of further changes. I am extensively using Google's Material Symbols which are built as variable fonts. This decision enforces for example the use of a font variation setting if you want to fill the battery symbol. The framework has to be changed to GTK 4, the layer shell respectively to gtk4-layer-shell (a separate repository). Unfortunately, I have neither time nor expertise to perform this migration. It requires some deeper structural changes (the event mappings of modules for example [include/AModule.hpp:48]) and design decisions I don't want to make.The text was updated successfully, but these errors were encountered: