Is my feature request related to a problem?
Yes. The problem is that on GNOME desktops using Wayland, since they do not support server side window decorations, the title bar does not look uniform with the rest of the apps as it defaults to its own. Refer the following screenshot. This issue is not present on x11/xwayland but since my display is HiDPI, using wayland is required.
The Solution
The solution to this would be to use QAdwaitaDecorations (github link cannot be provided). However, since the official anki binary does not rely on system Qt and its own, using this is not possible and the title bar remains the same. However, bundling this with the official binary and exporting QT_WAYLAND_DECORATION=adwaita
will allow for the desired behaviour. So far, doing so provides me with an error message: “Qt warning: Requested decoration “adwaita” not found, falling back to default”.
Since GNOME is the most popular linux desktop out there, this might be off putting for most users and since most distributions have already dropped support for x11, this might be a great option to consider so that users can enjoy a uniform and consistent experience on their desktops. Furthermore, with more HiDPI displays entering into the market, using X11 and its inherent blurriness with fractional scaling is a no-go and many may resort to using Wayland.