Skip to content
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

app: Port to GTK4 + libadwaita #41

Merged
merged 2 commits into from
Aug 17, 2022
Merged

app: Port to GTK4 + libadwaita #41

merged 2 commits into from
Aug 17, 2022

Conversation

oscfdezdz
Copy link
Collaborator

@oscfdezdz oscfdezdz commented Aug 6, 2022

(Commits are on top of the PRs I opened previously). I'll try to split this PR into smaller ones if they aren't strictly required for the port.

The purpose of this PR is to do a 1:1 port; without changing the interface layout, at least not in this one 😉

Flatpak CI should output a working build in my fork's branch.

Help to complete the port is always welcome 😄

Progress

Buttons:

  • Open
  • Save All (works installing it as a system package, but not as a Flatpak)
  • Reset Files (doesn't reset bold text on TreeView)
  • Set Online Tags
  • About GabTag
  • Load Cover
  • Reset (is set to Reset All button on master, probably out of scope of this PR (?))
  • Save (works installing it as a system package, but not as a Flatpak)
  • Set Tags

Widgets:

Gtk-CRITICAL **: gtk_css_node_insert_after: assertion 'previous_sibling == NULL || previous_sibling->parent == parent' failed

UI:

  • Paned (limit minimum size)
  • </style> tag instead of css-classes property
    It doesn't currently work and there seems to be no reason why it shouldn't.

Tests are passing now!

image

@oscfdezdz oscfdezdz marked this pull request as ready for review August 8, 2022 13:59
@oscfdezdz oscfdezdz requested a review from lachhebo August 8, 2022 14:18
@oscfdezdz
Copy link
Collaborator Author

oscfdezdz commented Aug 9, 2022

Now everything is split, I think PRs after this one should be merged first and then, if everything looks good here, I'll rebase to fix the conflicts.

The remaining issues aren't blockers. Style is being applied with css-classes property anyways and TreeView critical is an issue on GTK side.

Testing this branch doesn't seem to bring any regressions compared to the stable version, at least, that I've noticed.

@lachhebo
Copy link
Owner

Thanks, i have started to play with it locally and it seems great, I'll finish the review tomorrow and help for the failing tests

@oscfdezdz
Copy link
Collaborator Author

Thanks! Tests are actually passing, I should have deleted the words not and yet instead of crossing them out 😅
I'll update the comment.

Can be removed when GNOME SDK and Runtime update to version 43.
@oscfdezdz
Copy link
Collaborator Author

Rebased on top of master to fix conflicts.

@oscfdezdz oscfdezdz merged commit 42d84b9 into lachhebo:master Aug 17, 2022
@oscfdezdz oscfdezdz deleted the gtk4 branch August 17, 2022 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants