[UbuntuShape] repeated setting/unsetting the image badly impacts rendering performance
Bug #1180794 reported by
Michael Zanetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Critical
|
Loïc Molinari | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Frequent setting/unsetting of the image in an ubuntu shape badly impacts the rendering performance. This can be seen in this branch (https:/
Attached you can find a simple qml file that lets you reproduce the issue. It contains a Flickable and a UbuntuShape in it. First, try flicking it up and down. It'll be smooth. Then, click on the image. This removes and sets the image 100 times. Try the flicking again and you will notice a drop in performance. Repeat for a couple of times and the problem will get worse and worse.
Related branches
lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-dangling-nodes-prevention
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu SDK team: Pending requested
-
Diff: 10 lines (+1/-0)1 file modifiedmodules/Ubuntu/Components/plugin/shapeitem.cpp (+1/-0)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Loïc Molinari (loic.molinari) |
importance: | High → Critical |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
tags: | added: shape |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-ui-toolkit at revision 617, scheduled for release in ubuntu-ui-toolkit, milestone Unknown