[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
** Package changed: ubuntu-ui-toolkit (Ubuntu) => ubuntu-ui-toolkit (Ubuntu RTM) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: In Progress Status in ubuntu-ui-toolkit package in Ubuntu RTM: In Progress Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
** Changed in: canonical-devices-system-image Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: In Progress Status in ubuntu-ui-toolkit package in Ubuntu: In Progress Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
** Branch linked: lp:~zsombi/ubuntu-ui-toolkit/listitemSelectModeBugs ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => In Progress ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Zoltan Balogh (bzoltan) => Zsombor Egri (zsombi) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: In Progress Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
I confirm the bug. I spent some time debugging it, I found out the following: the main problem is that ItemParentHasChanged arrives to ListItem *after* setSelected is called. That means UCViewItemsAttachedPrivate::get(listItem) returns a QObject(0x0), hence UCViewItemsAttachedPrivate::get(listItem)->addToSelected(q) is called on an uninitialized object. addToSelected then calls selectedList.contains(), but selectedList is an uninitialized object at that point (note: even though it sits on the stack) because it is part of the state of the object UCViewItemsAttachedPrivate, which is uninitialized, and that makes selectedItem.contains() implementation lead to the crash. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1514928] Re: ListItem outside ListView segfaults
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Milestone: None => ww02-2016 ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Zoltan Balogh (bzoltan) ** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Zoltan Balogh (bzoltan) ** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1514928 Title: ListItem outside ListView segfaults Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: Reproduce: Use the code from the documentation [1] but add selected: true to any ListItem. What happens: UUITK segfaults What should happen: It should highlight and not crash Stack trace: http://pastebin.ubuntu.com/13217004/ Seems selectedList.contains(-1) segfaults for some reason. [1] http://pastebin.ubuntu.com/13217263/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514928/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp