[meta] minimize libgd usage
@mschraal
Submitted by Marinus Schraal Link to original bug (#772128)
Description
Music uses libgd quite extensively for custom widgets that for example transparently handle selection mode. However, it doesn't seem to be very well maintained or up-to-date with current practices (css/gadget/deprecations).
In the last cycle we got a patch to remove libgd usage for the albums view, instead use GtkFlowbox via pygi. This was a huge improvement in speed.
Now in other cases it might not be as obvious an improvement, but still it should make our codebase cleaner and not limit us in what we can do in the interface.
I think we should focus on getting our dependency on libgd down, at least for the different main views. This bug is an overview of all gd related issues.
Depends on
Update january 2018
-
PlaylistDialog (!38 (closed)) -
PlaylistView (!36 (closed)) -
ArtistsView (!173 (merged)) -
SongsView (!173 (merged)) -
BaseView (!173 (merged)) -
SearchView (GdTwoLinesRenderer - is there an alternative?) -
EmptySearchView (!155 (merged)) -
SearchBar (GdTaggedEntry - replacement: GTK4 based NautilusTaggedEntry)
Update august 2018
This is mostly done; 2 remaining widgets need to be replaced for GTK4 porting. For TaggedEntry and alternative exists for GTK4. For TwoLinesRenderer we might have to implement our own cellrenderer.