← Back to team overview

touch-packages team mailing list archive

[Bug 1334843] [NEW] Mediascanner2 crash on model change with header in listview

 

You have been subscribed to a public bug:

Hi,

I am experiencing a crash of mediascanner2 when the model changes (eg
artist for the AlbumsModel). It appears that I have to have both a
delegate and header set in the listview otherwise the error doesn't
occur. I have an example [0] which crashes when I select an artist on
the left and it attempts to show the albums for that artist on the
right.

I have also run this inside GDB [1].

This is was found when migrating the music-app from sheets to pages (as
sheets are deprecated). We believe it did not happen before because the
sheet was being (de)constructed each time, therefore the model wasn't
being changed. Where as a page is just being push/pop'd to and from a
pagestack. This issue is now the only thing blocking music-app from
migrating to pages.

0 - https://code.launchpad.net/~andrew-hayzen/+junk/mediascanner2-change-model-crash-minimal
1 - http://pastebin.ubuntu.com/7707785/

** Affects: mediascanner2 (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
Mediascanner2 crash on model change with header in listview
https://bugs.launchpad.net/bugs/1334843
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.