lp:~aacid/unity8/dropgcc49more

Created by Albert Astals Cid and last modified
Get this branch:
bzr branch lp:~aacid/unity8/dropgcc49more
Only Albert Astals Cid can upload to this branch. If you are Albert Astals Cid please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Albert Astals Cid
Project:
Unity 8
Status:
Merged

Recent revisions

1917. By Albert Astals Cid

Don't force gcc 4.9 since it won't build in wily that doesn't install it by default anymore

1916. By CI Train Bot Account

Releasing 8.11+15.04.20150812-0ubuntu1

1915. By Albert Astals Cid

Replace some waitForRendering with wait(0)

Makes the test much faster and actually what we want is bindings to propagate, not much rendering is happening
Approved by: Lukáš Tinkl

1914. By handsome_feng

Adjust the color to highlighting indicator. Fixes: #1457098
Approved by: Nick Dedekind

1913. By Albert Astals Cid

Add a test that checks that items in an expandable are the correct size after expanding the expandable

Approved by: Andrea Cimitan

1912. By Albert Astals Cid

Fix the expandable test

Make the table actually be a table
Make the longText2 actually be used
Approved by: Andrea Cimitan

1911. By Gary.Wang

Fix layout issue when adding audio track widget in expandable widget

Widgets are overlapped when adding audio track widgets in expandable widget.
Approved by: Albert Astals Cid

1910. By handsome_feng

Added indication for running apps. Fixes: #1471577
Approved by: Albert Astals Cid

1909. By handsome_feng

Convert the MouseArea to MultiPointTouchArea to track multiple touch points. Fixes: #1445472
Approved by: Michael Zanetti

1908. By Albert Astals Cid

Workaround for bug 1473471

After three days of debugging I've been able to figure out why it is crashing, why it's random and i can provide a quick workaround in unity8 code.

## Why is it crashing? ##

The problem exists because we use the QML cache and because Qt has this bug https://bugreports.qt.io/browse/QTBUG-47709

The bug in Qt means that if for types with extended properties (Image and "source" in our case coming from the SDK) an Item is created before the type is extended, all subsquent items of the same type won't see the extended property either.

Since we're using the QML cache this means that the code loaded from the cache expects the extended property to be there, so when it access such property, it will crash.

## Why is it random? ##

It's random because the QML file loading is not always done in the *exact* same order, and thus in some cases the first Image is created in a file that imports Ubuntu.Components and in some cases the first image is created in a file that does not.

## How to workaround it? ##

A quick workaround is making sure Ubuntu.Components is imported in the first file that is imported, in unity8's case UnityInputInfo.qml that is a singleton imported from the root file (OrientedShell.qml) Fixes: #1473471
Approved by: Gerry Boland

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:unity8
This branch contains Public information 
Everyone can see this information.