Unity8 stucks in icon loading code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Albert Astals Cid | ||
Vivid |
New
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Invalid
|
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)
- Lars Karlitski (community): Approve
- Zsombor Egri: Approve
- Sebastien Bacher (community): Approve (runtime testing)
-
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)
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 |
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