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
Idea: Add shadow background to covers #68
Comments
Here is the code used on Noise to create the shadow. Probably gonna do something similar bu trying to stay with Cairo and GDK only (Granite seems to be a vala framework for this kind of stuff). |
well found - that should be a very useful reference. Previously we were worried about the performance hit this could/may make doing this additional graphics processing. I note in the progressive issue you mentioned the idea of a new "ShowingPolicy" class - I presume this would concentrate on changing the display for just the covers in the main visible part of the window? |
The initial idea was to create another showing policy that would choose when an album's cover should be loaded/showed, but given the good results the new structure had (at least for me, although I think @jrbastien had good results too), I don't think it's necessary to implement for now. |
Woot, can't believe I got it on the first try. It doesn't slow down the loading but it uses a considerable extra amount of memory, I'm guessing it's because the intermediary pixbufs :/ |
\o/ ... °º¤ø,¸¸,ø¤º° very nice - will look more closely at the code later ... looks great :) EDIT: if you are looking for that extra bit of speed, maybe this trick would be useful that was for gtk2 - I presume similarly for gtk3 - if during the ALBUM_LOADER_CHUNK stuff that is populating the model, if its possible to get hold of the iconview - maybe by disconnecting and reconnecting the iconview around the for-loop, the large connection you have will load that little bit faster. |
That's the same as using the |
had a little play with deleting pixbufs after they were used, putting do_delete_thyself methods on classes that handled pixbufs trying to cleanup (deleting pixbufs that were created). No joy :( Also with the above tried to force garbage collection (gc.collect() ) - again no joy :(( Apart from that, noticed a couple of issues.
EDIT: noticed you've got there and fixed that already :) |
I've already fixed the first issue in my latests commits, gonna checkout the second. EDIT: Fixed |
Well, I think this is done, I don't see any misbehavings so I gonna merge it. If anyone sees some problem that may be related to this, please reopen this issue~~ |
Nup, I hadn't noticed. I'll fix it as soon as the energy comes back to my house. Whenever is a little hot around here, everyone turn on their ACs and collapse the energy net u_u |
issue #24
subtle but nice - investigate if possible to implement this without slowing down load. May have to wait until progressive load issue is resolved.
The text was updated successfully, but these errors were encountered: