AdwAboutWindow is marked to be deprecated in libadwaita 1.6. From documentation AdwAboutDialog is supposed to be a drop-in replacement.
This is a AdwAboutWindow specification in XML format:
<object class="AdwAboutWindow" id="about_dialog">
<property name="visible">False</property>
<property name="application-name" translatable="true">IBus Cangjie</property>
<property name="developer-name" translatable="true">IBus Cangjie developers</property>
<property name="website">https://cangjie.pages.freedesktop.org/</property>
<property name="issue-url">https://gitlab.freedesktop.org/cangjie/ibus-cangjie/-/issues</property>
<property name="copyright" translatable="true">© 2012 IBus Cangjie Developers</property>
</object>
This works for my use.
But if I simply change the class:
<object class="AdwAboutDialog" id="about_dialog">
<property name="visible">False</property>
<property name="application-name" translatable="true">IBus Cangjie</property>
<property name="developer-name" translatable="true">IBus Cangjie developers</property>
<property name="website">https://cangjie.pages.freedesktop.org/</property>
<property name="issue-url">https://gitlab.freedesktop.org/cangjie/ibus-cangjie/-/issues</property>
<property name="copyright" translatable="true">© 2012 IBus Cangjie Developers</property>
</object>
This simply doesn’t show. And there is no error message. (You may test this on Workbench. The problem is exactly the same.)
What is my problem?