easyeffects
easyeffects copied to clipboard
Migration to Adaptive Dialogs
In Libadwaita 1.6 some widgets will be deprecated:
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/migrating-to-adaptive-dialogs.html
Libadwaita 1.5 introduces AdwDialog and replacements for AdwMessageDialog, AdwPreferencesWindow and AdwAboutWindow that derive from it.
While the old widgets are not deprecated yet, they will be in the next release.
To use AdwDialog, your parent window must be an instance of either AdwWindow or AdwApplicationWindow. You should migrate to these widgets if you’re still using GtkWindow or GtkApplicationWindow, respectively.
Stop using window titlebar, instead, create an AdwToolbarView and add the titlebar to it as a top bar. Set the window child as the toolbar view content. Set the toolbar view as the AdwWindow:content property on the window.
If you have GtkSearchBar, GtkActionBar etc in a GtkBox, move them to the toolbar view as well as top/bottom bars respectively.
@wwmm if you start the migration, please do it in another branch, otherwise the merge with community presets will be problematic.
@wwmm if you start the migration, please do it in another branch, otherwise the merge with community presets will be problematic.
Ok. It is unlikely I will have time to look into this before your PR.
@wwmm please, pin this issue.
@wwmm Since the app will move to Qt, I think this can be unpinned and closed.