Merge lp:~aacid/unity-2d/do_not_crash_autoscrolling into lp:unity-2d
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 1083 |
Merged at revision: | 1081 |
Proposed branch: | lp:~aacid/unity-2d/do_not_crash_autoscrolling |
Merge into: | lp:unity-2d |
Diff against target: |
40 lines (+13/-2) 2 files modified
shell/launcher/LauncherList.qml (+4/-2) tests/manual-tests/launcher.txt (+9/-0) |
To merge this branch: | bzr merge lp:~aacid/unity-2d/do_not_crash_autoscrolling |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland | Pending | ||
Review via email: mp+103432@code.launchpad.net |
Commit message
[launcher] Do not try to access item if index is -1
This fixes a crash when the mouse is on the autoscrolling area of the launcher and an application disappears
This seems like a Qt bug to me, it seems as if the property changes trigger in a way that the item delegate is half destructed and accessing it makes things explode
Description of the change
Do not try to access item if index is -1
This fixes a crash when the mouse is on the autoscrolling area of the launcher and an application disappears
This seems like a Qt bug to me, it seems as if the property changes trigger in a way that the item delegate is half destructed and accessing it makes things explode
To post a comment you must log in.