← Back to team overview

touch-packages team mailing list archive

[Bug 1422835] Re: Unity8 stucks in icon loading code

 

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)
returned QSize(37, 24)
requested icon "battery-080-charging" QSize(37, 24)
returned QSize(57, 37)
requested icon "battery-080-charging" QSize(57, 24)
returned QSize(88, 57)
requested icon "battery-080-charging" QSize(57, 37)
returned QSize(88, 57)

I'll propose a patch that fixes this


** Also affects: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1422835

Title:
  Unity8 stucks in icon loading code

Status in ubuntu-ui-toolkit package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  With today updates (and qt 5.4) unity8-desktop freezes on start on my
  test machine, backtrace

  "#0  0x00007f9b3c209fef in qt_memfill32(unsigned int*, unsigned int, int) (__B=..., __A=0x7f9aca955700) at /usr/lib/gcc/x86_64-linux-gnu/4.9/include/emmintrin.h:1465
  #1  0x00007f9b3c209fef in qt_memfill32(unsigned int*, unsigned int, int) (dest=<optimized out>, value=0, count=<optimized out>) at painting/qdrawhelper_sse2.cpp:272
  #2  0x00007f9b3bf08915 in QRasterPlatformPixmap::fill(QColor const&) (this=0x26251e0, color=...) at image/qpixmap_raster.cpp:211
  #3  0x00007f9b3befcefc in QPixmap::fill(QColor const&) (this=this@entry=0x7fff63823e30, color=...) at image/qpixmap.cpp:952
  #4  0x00007f9afee1dbae in IconTheme::findBestIcon(QStringList const&, int) (size=7519, filename=...) at unitythemeiconprovider.cpp:136
  #5  0x00007f9afee1dbae in IconTheme::findBestIcon(QStringList const&, int) (size=7519, iconName=..., this=0x21113e0) at unitythemeiconprovider.cpp:193
  #6  0x00007f9afee1dbae in IconTheme::findBestIcon(QStringList const&, int) (size=7519, iconName=..., this=0x21113e0) at unitythemeiconprovider.cpp:166
  #7  0x00007f9afee1dbae in IconTheme::findBestIcon(QStringList const&, int) (this=0x21113e0, names=..., size=size@entry=7519) at unitythemeiconprovider.cpp:54
  #8  0x00007f9afee19905 in UnityThemeIconProvider::requestPixmap(QString const&, QSize*, QSize const&) (this=0x2110b70, id=..., size=0x7fff63824040, requestedSize=...)
      at unitythemeiconprovider.cpp:253
  #9  0x00007f9b3b67db9b in QQuickPixmap::load(QQmlEngine*, QUrl const&, QSize const&, QFlags<QQuickPixmap::Option>) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5"

  
  the icon it seems to try to load is /usr/share/icons/suru/status/scalable/battery-100.svg

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1422835/+subscriptions


References