touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #118224
[Bug 1334843] Re: Mediascanner2 crash on model change with header in listview
** Project changed: mediascanner2 => mediascanner2 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1334843
Title:
Mediascanner2 crash on model change with header in listview
Status in mediascanner2 package in Ubuntu:
Incomplete
Bug description:
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/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1334843/+subscriptions