Unity8 stucks in icon loading code
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubuntu-ui-toolkit (Ubuntu) |
Undecided
|
Albert Astals Cid | ||
| | Vivid |
Undecided
|
Unassigned | ||
| | unity8 (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
With today updates (and qt 5.4) unity8-desktop freezes on start on my test machine, backtrace
"#0 0x00007f9b3c209fef in qt_memfill32(
#1 0x00007f9b3c209fef in qt_memfill32(
#2 0x00007f9b3bf08915 in QRasterPlatform
#3 0x00007f9b3befcefc in QPixmap:
#4 0x00007f9afee1dbae in IconTheme:
#5 0x00007f9afee1dbae in IconTheme:
#6 0x00007f9afee1dbae in IconTheme:
#7 0x00007f9afee1dbae in IconTheme:
#8 0x00007f9afee19905 in UnityThemeIconP
at unitythemeiconp
#9 0x00007f9b3b67db9b in QQuickPixmap:
the icon it seems to try to load is /usr/share/
unity8 is eating cpu and the UI is not displaying (I see part of the lock screen, or the wizard if trying a new user, but can't interact with those)
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-19
- Lars Karlitski (community): Approve on 2015-02-18
- Zsombor Egri (community): Approve on 2015-02-18
- Sebastien Bacher (community): Approve (runtime testing) on 2015-02-18
-
Diff: 271 lines (+142/-15)7 files modifiedmodules/Ubuntu/Components/plugin/unitythemeiconprovider.cpp (+17/-14)
modules/Ubuntu/Components/plugin/unitythemeiconprovider.h (+1/-1)
tests/unit_x11/tst_iconprovider/icons/mockTheme/actions/scalable/battery-100-charging.svg (+25/-0)
tests/unit_x11/tst_iconprovider/icons/mockTheme/index.theme (+17/-0)
tests/unit_x11/tst_iconprovider/tst_iconprovider.cpp (+76/-0)
tests/unit_x11/tst_iconprovider/tst_iconprovider.pro (+5/-0)
tests/unit_x11/unit_x11.pro (+1/-0)
| Albert Astals Cid (aacid) wrote : | #1 |
| Changed in unity8 (Ubuntu): | |
| status: | New → Invalid |
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| assignee: | nobody → Albert Astals Cid (aacid) |
| status: | New → In Progress |
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package ubuntu-ui-toolkit - 1.2.1433+
---------------
ubuntu-ui-toolkit (1.2.1433+
[ Albert Astals Cid ]
* Fix infinite icon size grow when asked for a non square icon
Fixes: LP: #1422835
* IconProvider: Make sure icons fit in the given size
[ Christian Dywan ]
* Skip select_
Fixes: LP: #1401140
* Support for multiple devices with push_to_phone.sh.
* Take OrientationHelper y coordinate from real parent height.
Fixes: LP: #1413194
* Update popover position upon pointer movement.
Fixes: LP: #1199502, LP: #1415532
* Change <code> to be inline-block. Fixes LP: #1427534
* Set right anchor on tab overflow buttons. Fixes LP: #1425433
* Add tst_listitems_
no longer fatal for unit test.
[ Sebastien Bacher ]
* document that MainView's applicationName is used to set the gettext
domain. Fixes: LP: #1421661.
[ Tiago Salem Herrmann ]
* Drop cache once properties are successfully restored.
[ Timo Jyrinki ]
* Add dist-upgrade option to the UITK Test Plan script. Output the
selected parameters in the beginning.
[ Tim Peeters ]
* Add MainView 1.2 which removes the deprecated toolbar support.
* Enable PageStack header animations for MainView 1.2.
* Fix the size and anchors of a Page that is loaded inside a Loader.
This is useful when a Page is Loaded by a Tab. Fixes: LP: #1424635
* Fix UITK gallery content page width.
Fixes: LP: #1424635, LP: #1425470
* Set objectName for MainView int est_textinput.
scenarios in test_textinput.py
[ Zsombor Egri ]
* Alarm services regression fix. Fixes: LP: #1401883
* Implement ListItem dragging support in ListView.
Fixes: LP: #119535
* Introducing select/multiselect mode in ListItem.
* Moving the tst_focus.qml under exceptions till we fix DatePicker
binding loops.
* RTL (Right To Left) support in ListItem.
* RTM branch diff merge. Fixes: LP: #1358610.
* Second stage of simplification - divider group property is an item,
simplifying the anchoring of the contentItem. PropertyChange does
not backup the property binding, uses QQmlPropertyPri
with parameter to keep bindings. ListItemAnimator uses behavior to
animate snapping. Styling got "styledItem" context property to obey
general styling rules. clicked() and pressAndHold() emission fix
when content is swiped.
* Transferring the ListItem attached properties to ListItemStyle API.
Most of the style API became redundant, and removed. Few API from
ListItem were also removed as not needed. ListItemAnimator,
UCListItemA
Panel swiping overshoot made elastic. Snapping animation transformed
into SmoothedAnimation, uses velocity of 60GU/second. Turning
warnings to be reported in the error property.
SHOW_
display them in the console. Fixes: LP: #1423203.
* Updating documentation and imports for 1.2 & Vivid (Qt 5.4).
...
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| status: | Fix Committed → Fix Released |


The icon provider in the SDK is returning sizes for icons that are confusing against the request that make the size grow forever
requested icon "battery- 080-charging" QSize(24, 24) 080-charging" QSize(37, 24) 080-charging" QSize(57, 24) 080-charging" QSize(57, 37)
returned QSize(37, 24)
requested icon "battery-
returned QSize(57, 37)
requested icon "battery-
returned QSize(88, 57)
requested icon "battery-
returned QSize(88, 57)
I'll propose a patch that fixes this