-
Notifications
You must be signed in to change notification settings - Fork 272
Migration from Gtk3 to Gtk4 and libadwaita 1.7 #2006
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
base: main
Are you sure you want to change the base?
Conversation
…gsconnect into gtk4-port
<file compressed="true" preprocess="xml-stripblanks" alias="phone-symbolic.svg">icons/phone-symbolic.svg</file> | ||
<file compressed="true" preprocess="xml-stripblanks" alias="phone-vibrate-symbolic.svg">icons/phone-vibrate-symbolic.svg</file> | ||
<file compressed="true" preprocess="xml-stripblanks" alias="chat-bubbles-text-symbolic.svg">icons/chat-bubbles-text-symbolic.svg</file> | ||
</gresource> | ||
</gresources> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change the application automatically recognize the icon theme inside the gresouce
I don't know if I messed things up, but I tried as much as possible to eliminate unnecessary changes and reduced the changes by about ten files. I understand that the commits are very messed up, if it's okay with you I'll move the changes back to another branch with one of the more structured commits and resend the pull request using that. I also apologize for all the mess about destroy dispose and finalize. I did not really understand the resource deallocation mechanism of this application. Now I have understood it and tried to restore it and implemented it for new windows as well. Now I simply have a recurring error if I turn off the daemon after opening the message window:
Anyway I saw the errors related to the tests, I think I reproduced them locally. On the clipboard I had to make some adjustments for Gtk4 even though I have been using it for days and it was working. Anyway, the test result is now this:
On the SMS part the real problem is that I imported your WIP: No-cache SMS support which solves a number of issues that also plague the current stable version on reading the message history.As a result of the changes made, however, the whole chain of sending the message and reading the history has changed and the test fails:
|
I don't know if I messed things up, but I tried as much as possible to eliminate unnecessary changes and reduced the changes by about ten files. I understand that the commits are very messed up, if it's okay with you I'll move the changes back to another branch with one of the more structured commits and resend the pull request using that. I also apologize for all the mess about destroy dispose and finalize. I did not really understand the resource deallocation mechanism of this application. Now I have understood it and tried to restore it and implemented it for new windows as well. Now I simply have a recurring error if I shut down the daemon after opening the message window:
Anyway I saw the errors related to the tests, I think I reproduced them locally. On the clipboard I had to make some adjustments for Gtk4 even though I have been using it for days and it was working. Anyway, the test result is now this:
On the SMS part the real problem is that I imported your WIP: No-cache SMS support which solves a number of issues that also plague the current stable version on reading the message history. As a result of the changes made, however, the whole chain of sending the message and reading the history has changed and the test fails:
Let me know how to proceed, whether to change branches and bring back the changes or continue on this one. And if you have any advice on how to deal with these issues on testing. PS: I know that in general I shouldn't have touched the tests, but clipboard had direct dependencies with Gtk3 so I was forced, also on this let me know if it's ok. |
This pull request has conflicts, please resolve those so that the changes can be evaluated. |
All conflicts have been resolved, thanks! |
This pull request has conflicts, please resolve those so that the changes can be evaluated. |
What's happening here? |
All conflicts have been resolved, thanks! |
Is this a response? If yes, so the work is still progressing. |
This pull request has conflicts, please resolve those so that the changes can be evaluated. |
This pull request collects the changes I made in order to move the UI of the application from gtk3 to gtk4 and libadwaita 1.7. The version of gnome that is compatible to date is 48.
In general I tried to reuse as much code as possible but obviously the js and xml files related to the UI component are deeply changed. On the daemon instead I intervened almost exclusively to make it compatible with Gtk4.
Finally I reorganized the icon part of the gresource to natively get an Icon Theme.