on xenial help sign in
* Drop gcc 4.9 requirement in debian/rules

* Make the test more stable * Optimize scope.preview() calls (LP: #1478022) [ Alberto Mardegan ] * Set currentIndex after the model change is completed (LP: #1433442) [ Albert Astals Cid ] * Make the test pass again after rework of appmanager * fix testPhoneStage [ Daniel d'Andrada ] * Fix and clean up InputInfo plugin [ Rodney Dawes ] * Do not call verify in the payments button code. (LP: #1468038) [ Albert Astals Cid ] * Add a test that checks that items in an expandable are the correct size after expanding the expandable * Fix the expandable test * Replace some waitForRendering with wait(0) * Workaround for bug 1473471 (LP: #1473471) [ Gary.Wzl ] * Fix layout issue when adding audio track widget in expandable widget [ handsome_feng ] * Added indication for running apps. (LP: #1471577) * Adjust the color to highlighting indicator. (LP: #1457098) * Convert the MouseArea to MultiPointTouchArea to track multiple touch points. (LP: #1445472) [ handsome_feng<445865575@qq.com> ] * Convert the MouseArea to MultiPointTouchArea to track multiple touch points. (LP: #1445472)

commitcef9b7b37708abb6dbfa7a4e6fa04e3c0ae093b6 authorJosh Arenson <joshua.arenson@canonical.com> dateThu 20 Aug 2015, 10:34 (11 years ago) parentb39a794a8f7a60
112 files changed+533−270
debian/changelog+46−4 debian/rules−5 plugins/Ubuntu/Payments/Payments.cpp−2 plugins/Unity/InputInfo/linux/qinputdeviceinfo_linux.cpp+2−11 plugins/Unity/Launcher/launchermodel.cpp−1 po/am.po+2−2 po/ar.po+2−2 po/ast.po+2−2 po/az.po+2−2 po/be.po+2−2 po/bg.po+2−2 po/br.po+2−2 po/bs.po+2−2 po/ca.po+2−2 po/ca@valencia.po+2−2 po/ce.po+2−2 po/ckb.po+2−2 po/cs.po+2−2 po/cy.po+2−2 po/da.po+2−2 po/de.po+2−2 po/el.po+3−3 po/en_AU.po+2−2 po/en_GB.po+2−2 po/eo.po+2−2 po/es.po+3−3 po/eu.po+2−2 po/fa.po+2−2 po/fi.po+2−2 po/fo.po+2−2 po/fr.po+2−2 po/ga.po+2−2 po/gd.po+2−2 po/gl.po+2−2 po/gv.po+2−2 po/he.po+2−2 po/hi.po+2−2 po/hr.po+2−2 po/hu.po+2−2 po/hy.po+2−2 po/ia.po+2−2 po/id.po+2−2 po/is.po+2−2 po/it.po+3−3 po/ja.po+5−5 po/km.po+2−2 po/kn.po+2−2 po/ko.po+2−2 po/ku.po+2−2 po/ky.po+2−2 po/lo.po+2−2 po/lt.po+2−2 po/lv.po+2−2 po/ml.po+2−2 po/mr.po+2−2 po/ms.po+2−2 po/my.po+2−2 po/nb.po+2−2 po/nl.po+2−2 po/nn.po+2−2 po/oc.po+2−2 po/or.po+2−2 po/pa.po+2−2 po/pl.po+2−2 po/pt.po+2−2 po/pt_BR.po+2−2 po/ro.po+2−2 po/ru.po+2−2 po/shn.po+2−2 po/si.po+2−2 po/sk.po+2−2 po/sl.po+2−2 po/sq.po+2−2 po/sr.po+2−2 po/sv.po+2−2 po/sw.po+2−2 po/ta.po+2−2 po/te.po+2−2 po/th.po+2−2 po/tr.po+2−2 po/ug.po+2−2 po/uk.po+2−2 po/ur.po+2−2 po/uz.po+2−2 po/vi.po+2−2 po/xh.po+2−2 po/zh_CN.po+2−2 po/zh_HK.po+2−2 po/zh_TW.po+2−2 qml/Components/UnityInputInfo/UnityInputInfo.qml+2 qml/Dash/GenericScopeView.qml+21−15 qml/Dash/PreviewListView.qml+16−6 qml/Dash/Previews/PreviewActions.qml+1−1 qml/Dash/Previews/PreviewAudioPlayback.qml+1−1 qml/Dash/Previews/PreviewHeader.qml+1−1 qml/Dash/Previews/PreviewRatingDisplay.qml+1−1 qml/Launcher/Launcher.qml+2−1 qml/Launcher/LauncherDelegate.qml+12 qml/Launcher/LauncherPanel.qml+1 qml/OrientedShell.qml+3 qml/Panel/IndicatorItem.qml+3−3 qml/Panel/IndicatorItemRow.qml+1−1 qml/Panel/IndicatorsBar.qml+1−1 tests/plugins/Unity/Launcher/launchermodeltest.cpp+16 tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml+147−6 tests/qmltests/Dash/tst_PageHeader.qml+16−12 tests/qmltests/Launcher/tst_Launcher.qml+36−5 tests/qmltests/Panel/tst_IndicatorItem.qml+12−12 tests/qmltests/Stages/tst_PhoneStage.qml+1 tests/qmltests/tst_Shell.qml+3−3 tests/qmltests/tst_ShellWithPin.qml+5−4 tests/utils/modules/Unity/Test/UnityTestCase.qml+9
debian/changelog+46−4
@@ -1,13 +1,55 @@
1−unity8 (8.11+15.04.20150811-0ubuntu1) vivid; urgency=medium
1+unity8 (8.11+15.04.20150817-0ubuntu1) vivid; urgency=medium
22
33 [ Albert Astals Cid ]
4− * Increase version because of new scopes shell communication protocol
4+ * Drop gcc 4.9 requirement in debian/rules
5+ * Make the test more stable
6+ * Optimize scope.preview() calls (LP: #1478022)
7+
8+ [ Alberto Mardegan ]
9+ * Set currentIndex after the model change is completed (LP: #1433442)
10+
11+ -- CI Train Bot <ci-train-bot@canonical.com> Mon, 17 Aug 2015 11:57:31 +0000
12+
13+unity8 (8.11+15.04.20150814-0ubuntu1) vivid; urgency=medium
14+
15+ [ Albert Astals Cid ]
16+ * Make the test pass again after rework of appmanager
17+ * fix testPhoneStage
518
619 [ CI Train Bot ]
720 * New rebuild forced.
8− * Resync trunk.
921
10− -- CI Train Bot <ci-train-bot@canonical.com> Tue, 11 Aug 2015 14:45:12 +0000
22+ [ Daniel d'Andrada ]
23+ * Fix and clean up InputInfo plugin
24+
25+ [ Rodney Dawes ]
26+ * Do not call verify in the payments button code. (LP: #1468038)
27+
28+ -- CI Train Bot <ci-train-bot@canonical.com> Fri, 14 Aug 2015 09:53:11 +0000
29+
30+unity8 (8.11+15.04.20150812-0ubuntu1) vivid; urgency=medium
31+
32+ [ Albert Astals Cid ]
33+ * Add a test that checks that items in an expandable are the correct
34+ size after expanding the expandable
35+ * Fix the expandable test
36+ * Replace some waitForRendering with wait(0)
37+ * Workaround for bug 1473471 (LP: #1473471)
38+
39+ [ Gary.Wzl ]
40+ * Fix layout issue when adding audio track widget in expandable widget
41+
42+ [ handsome_feng ]
43+ * Added indication for running apps. (LP: #1471577)
44+ * Adjust the color to highlighting indicator. (LP: #1457098)
45+ * Convert the MouseArea to MultiPointTouchArea to track multiple touch
46+ points. (LP: #1445472)
47+
48+ [ handsome_feng<445865575@qq.com> ]
49+ * Convert the MouseArea to MultiPointTouchArea to track multiple touch
50+ points. (LP: #1445472)
51+
52+ -- CI Train Bot <ci-train-bot@canonical.com> Wed, 12 Aug 2015 08:41:24 +0000
1153
1254unity8 (8.10+15.10.20150804-0ubuntu1) wily; urgency=medium
1355
debian/rules−5
@@ -8,11 +8,6 @@ include /usr/share/dpkg/default.mk
88export DPKG_GENSYMBOLS_CHECK_LEVEL=4
99export NO_PNG_PKG_MANGLE=1
1010
11−# Explicitly selecting a G{CC,++}-version here to avoid accidental
12−# ABI breaks introduced by toolchain updates.
13−export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
14−export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
15−
1611%:
1712 dh $@ --parallel --fail-missing --with python3
1813
plugins/Ubuntu/Payments/Payments.cpp−2
@@ -123,8 +123,6 @@ void Payments::setStoreItemId(const QString &store_item_id)
123123 if (m_store_item_id.isEmpty()) {
124124 return;
125125 }
126−
127− pay_package_item_start_verification(m_package, m_store_item_id.toLocal8Bit().data());
128126}
129127
130128void Payments::setPurchasing(bool is_purchasing)
plugins/Unity/InputInfo/linux/qinputdeviceinfo_linux.cpp+2−11
@@ -101,8 +101,6 @@ void QInputDeviceInfoPrivate::init()
101101 if (!iDevice)
102102 continue;
103103
104− qDebug() << "*** ADDING DEVICE" << eventPath;
105−
106104 iDevice->setTypes(getInputTypes(dev));
107105
108106 if (iDevice->switches().count() > 0 && iDevice->buttons().count() == 0)
@@ -125,12 +123,6 @@ void QInputDeviceInfoPrivate::init()
125123
126124QInputDeviceInfo::InputTypes QInputDeviceInfoPrivate::getInputTypes( struct udev_device *dev)
127125{
128− qDebug() << "******* have input type Keyboard" << udev_device_get_property_value(dev, "ID_INPUT_KEYBOARD");
129− qDebug() << "******* have input type Mouse" << udev_device_get_property_value(dev, "ID_INPUT_MOUSE");
130− qDebug() << "******* have input type Touchpad" << udev_device_get_property_value(dev, "ID_INPUT_TOUCHPAD");
131− qDebug() << "******* have input type Touchscreen" << udev_device_get_property_value(dev, "ID_INPUT_TOUCHSCREEN");
132− qDebug() << "******* have input type Tablet" << udev_device_get_property_value(dev, "ID_INPUT_TABLET");
133− qDebug() << "******* have input type joystick" << udev_device_get_property_value(dev, "ID_INPUT_JOYSTICK");
134126 QInputDeviceInfo::InputTypes types = QInputDeviceInfo::Unknown;
135127 if (qstrcmp(udev_device_get_property_value(dev, "ID_INPUT_KEYBOARD"), "1") == 0 )
136128 types |= QInputDeviceInfo::Keyboard;
@@ -151,6 +143,7 @@ QInputDeviceInfo::InputTypes QInputDeviceInfoPrivate::getInputTypes( struct udev
151143QInputDevice *QInputDeviceInfoPrivate::addDevice(const QString &path)
152144{
153145 QInputDevice *inputDevice = new QInputDevice(this);
146+ inputDevice->setDevicePath(path);
154147
155148 struct libevdev *dev = NULL;
156149 int fd;
@@ -158,17 +151,15 @@ QInputDevice *QInputDeviceInfoPrivate::addDevice(const QString &path)
158151 fd = open(path.toLatin1(), O_RDONLY|O_NONBLOCK);
159152
160153 if (fd == -1) {
161− qDebug() << "Failed to open";
162154 return inputDevice;
163155 }
164156 rc = libevdev_new_from_fd(fd, &dev);
165157 if (rc < 0) {
166− qDebug() << "Failed to init libevdev ("<< strerror(-rc) << ")";
158+ qWarning() << "Failed to init libevdev ("<< strerror(-rc) << ")";
167159 return inputDevice;
168160 }
169161
170162 inputDevice->setName(QString::fromLatin1(libevdev_get_name(dev)));
171− inputDevice->setDevicePath(path);
172163 for (int i = 0; i < EV_MAX; i++) {
173164 if (i == EV_KEY || i == EV_SW || i == EV_REL
174165 || i == EV_REL || i == EV_ABS) {
plugins/Unity/Launcher/launchermodel.cpp−1
@@ -516,7 +516,6 @@ void LauncherModel::applicationAdded(const QModelIndex &parent, int row)
516516 Q_EMIT dataChanged(index(itemIndex), index(itemIndex), {RoleRecent});
517517 }
518518 item->setRunning(true);
519− // TODO Shall we paint some running/recent app highlight? If yes, do it here.
520519 } else {
521520 LauncherItem *item = new LauncherItem(app->appId(), app->name(), app->icon().toString(), this);
522521 item->setRecent(true);
po/am.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ar.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n % 100 >= "
1818"3 && n % 100 <= 10 ? 3 : n % 100 >= 11 && n % 100 <= 99 ? 4 : 5;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/ast.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/az.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/be.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/bg.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/br.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/bs.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/ca.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ca@valencia.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ce.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ckb.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/cs.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020"Language: cs\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
po/cy.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : (n != 8 && n != 11) ? "
1818"2 : 3;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/da.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Type: text/plain; charset=UTF-8\n"
1717"Content-Transfer-Encoding: 8bit\n"
1818"Plural-Forms: nplurals=2; plural=n != 1;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/de.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/el.po+3−3
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -376,7 +376,7 @@ msgstr "Συγνώμη, μη έγκυρο συνθηματικό"
376376#: qml/Greeter/NarrowView.qml:121
377377msgctxt "passphrase"
378378msgid "Please re-enter"
379−msgstr ""
379+msgstr "Παρακαλώ πληκτρολογήστε ξανά"
380380
381381#: qml/Greeter/NarrowView.qml:122
382382msgid "Sorry, incorrect passcode"
po/en_AU.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/en_GB.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/eo.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/es.po+3−3
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -374,7 +374,7 @@ msgstr "La contraseña es incorrecta"
374374#: qml/Greeter/NarrowView.qml:121
375375msgctxt "passphrase"
376376msgid "Please re-enter"
377−msgstr ""
377+msgstr "Reintroduzca"
378378
379379#: qml/Greeter/NarrowView.qml:122
380380msgid "Sorry, incorrect passcode"
po/eu.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/fa.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/fi.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/fo.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/fr.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ga.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/gd.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : "
1818"(n > 2 && n < 20) ? 2 : 3;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121"Language: gd\n"
2222
2323#: plugins/LightDM/Greeter.cpp:112
po/gl.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/gv.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : (n == 2 ? 1 : 2);\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/he.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/hi.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/hr.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/hu.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/hy.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ia.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/id.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/is.po+2−2
@@ -17,8 +17,8 @@ msgstr ""
1717"Content-Type: text/plain; charset=UTF-8\n"
1818"Content-Transfer-Encoding: 8bit\n"
1919"Plural-Forms: nplurals=2; plural=n != 1;\n"
20−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
21−"X-Generator: Launchpad (build 17686)\n"
20+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
21+"X-Generator: Launchpad (build 17690)\n"
2222"Language: is\n"
2323
2424#: plugins/LightDM/Greeter.cpp:112
po/it.po+3−3
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -374,7 +374,7 @@ msgstr "Passphrase errata"
374374#: qml/Greeter/NarrowView.qml:121
375375msgctxt "passphrase"
376376msgid "Please re-enter"
377−msgstr ""
377+msgstr "Inserire nuovamente"
378378
379379#: qml/Greeter/NarrowView.qml:122
380380msgid "Sorry, incorrect passcode"
po/ja.po+5−5
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
@@ -192,7 +192,7 @@ msgstr "はい"
192192#: qml/Components/Dialogs.qml:152
193193msgctxt "Title: Power off/Restart dialog"
194194msgid "Power"
195−msgstr ""
195+msgstr "電源"
196196
197197#: qml/Components/Dialogs.qml:153
198198msgid ""
@@ -203,12 +203,12 @@ msgstr "本当に電源を切りますか?"
203203#: qml/Components/Dialogs.qml:155
204204msgctxt "Button: Power off the system"
205205msgid "Power off"
206−msgstr ""
206+msgstr "電源を切る"
207207
208208#: qml/Components/Dialogs.qml:164
209209msgctxt "Button: Restart the system"
210210msgid "Restart"
211−msgstr ""
211+msgstr "再起動"
212212
213213#: qml/Components/Lockscreen.qml:245
214214msgid "Return to Call"
po/km.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/kn.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ko.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ku.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ky.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/lo.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/lt.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"(n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/lv.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ml.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/mr.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ms.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/my.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/nb.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/nl.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/nn.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/oc.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/or.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n!=1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/pa.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/pl.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
1818"|| n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/pt.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/pt_BR.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n > 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ro.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n == 1 ? 0: (((n % 100 > 19) || ((n % 100 "
1818"== 0) && (n != 0))) ? 2: 1));\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/ru.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/shn.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=(n == 1) ? 0 : 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/si.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/sk.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/sl.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || "
1818"n%100==4 ? 3 : 0);\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/sq.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:29+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/sr.po+2−2
@@ -17,8 +17,8 @@ msgstr ""
1717"Content-Transfer-Encoding: 8bit\n"
1818"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1919"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
20−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
21−"X-Generator: Launchpad (build 17686)\n"
20+"X-Launchpad-Export-Date: 2015-08-20 06:00+0000\n"
21+"X-Generator: Launchpad (build 17690)\n"
2222"Language: sr\n"
2323
2424#: plugins/LightDM/Greeter.cpp:112
po/sv.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020"Language: sv\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
po/sw.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ta.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020"Language: ta\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
po/te.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/th.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/tr.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/ug.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/uk.po+2−2
@@ -16,8 +16,8 @@ msgstr ""
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
1818"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
20−"X-Generator: Launchpad (build 17686)\n"
19+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
20+"X-Generator: Launchpad (build 17690)\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
2323msgid "Password: "
po/ur.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/uz.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/vi.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/xh.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/zh_CN.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/zh_HK.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020
2121#: plugins/LightDM/Greeter.cpp:112
2222msgid "Password: "
po/zh_TW.po+2−2
@@ -15,8 +15,8 @@ msgstr ""
1515"Content-Type: text/plain; charset=UTF-8\n"
1616"Content-Transfer-Encoding: 8bit\n"
1717"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-08-12 06:30+0000\n"
19−"X-Generator: Launchpad (build 17686)\n"
18+"X-Launchpad-Export-Date: 2015-08-20 06:01+0000\n"
19+"X-Generator: Launchpad (build 17690)\n"
2020"Language: zh_TW\n"
2121
2222#: plugins/LightDM/Greeter.cpp:112
qml/Components/UnityInputInfo/UnityInputInfo.qml+2
@@ -18,6 +18,8 @@ pragma Singleton
1818
1919import QtQuick 2.3
2020import Unity.InputInfo 0.1
21+// Workaround https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1473471
22+import Ubuntu.Components 1.2
2123
2224Item {
2325 id: root
qml/Dash/GenericScopeView.qml+21−15
@@ -99,23 +99,25 @@ FocusScope {
9999 function itemPressedAndHeld(index, result, resultsModel, limitedCategoryItemCount, categoryId) {
100100 clearMaybePreviewData();
101101
102− if (scope.preview(result, categoryId)) {
103− openPreview(index, resultsModel, limitedCategoryItemCount, categoryId);
104− }
102+ openPreview(result, index, resultsModel, limitedCategoryItemCount, categoryId);
105103 }
106104
107− function openPreview(index, resultsModel, limitedCategoryItemCount, categoryId) {
108− if (limitedCategoryItemCount > 0) {
109− previewLimitModel.model = resultsModel;
110− previewLimitModel.limit = limitedCategoryItemCount;
111− subPageLoader.model = previewLimitModel;
112− } else {
113− subPageLoader.model = resultsModel;
105+ function openPreview(result, index, resultsModel, limitedCategoryItemCount, categoryId) {
106+ var previewStack = scope.preview(result, categoryId);
107+ if (previewStack) {
108+ if (limitedCategoryItemCount > 0) {
109+ previewLimitModel.model = resultsModel;
110+ previewLimitModel.limit = limitedCategoryItemCount;
111+ subPageLoader.model = previewLimitModel;
112+ } else {
113+ subPageLoader.model = resultsModel;
114+ }
115+ subPageLoader.initialIndex = -1;
116+ subPageLoader.initialIndex = index;
117+ subPageLoader.categoryId = categoryId;
118+ subPageLoader.previewStack = previewStack;
119+ subPageLoader.openSubPage("preview");
114120 }
115− subPageLoader.initialIndex = -1;
116− subPageLoader.initialIndex = index;
117− subPageLoader.categoryId = categoryId;
118− subPageLoader.openSubPage("preview");
119121 }
120122
121123 Binding {
@@ -163,7 +165,8 @@ FocusScope {
163165 onHideDash: subPageLoader.closeSubPage()
164166 onPreviewRequested: { // (QVariant const& result)
165167 if (result === scopeView.maybePreviewResult) {
166− openPreview(scopeView.maybePreviewIndex,
168+ openPreview(result,
169+ scopeView.maybePreviewIndex,
167170 scopeView.maybePreviewResultsModel,
168171 scopeView.maybePreviewLimitedCategoryItemCount,
169172 scopeView.maybePreviewCategoryId);
@@ -758,6 +761,7 @@ FocusScope {
758761 property var scope: scopeView.scope
759762 property var scopeStyle: scopeView.scopeStyle
760763 property int initialIndex: -1
764+ property var previewStack;
761765 property string categoryId
762766 property var model: null
763767
@@ -791,6 +795,8 @@ FocusScope {
791795 item.initialIndex = Qt.binding(function() { return subPageLoader.initialIndex; } )
792796 item.model = Qt.binding(function() { return subPageLoader.model; } )
793797 item.categoryId = Qt.binding(function() { return subPageLoader.categoryId; } )
798+ item.initialIndexPreviewStack = subPageLoader.previewStack;
799+ subPageLoader.previewStack = null;
794800 }
795801 open = true;
796802 }
qml/Dash/PreviewListView.qml+16−6
@@ -24,9 +24,11 @@ Item {
2424 id: root
2525
2626 property int initialIndex: -1
27+ property var initialIndexPreviewStack: null
2728 property var scope: null
2829 property var scopeStyle: null
2930 property string categoryId
31+ property bool usedInitialIndex: false
3032
3133 property alias showSignatureLine: header.showSignatureLine
3234
@@ -84,10 +86,10 @@ Item {
8486 }
8587 }
8688
87− onCountChanged: {
88− if (count > 0 && initialIndex >= 0) {
89− currentIndex = initialIndex;
90− initialIndex = -1;
89+ onModelChanged: {
90+ if (count > 0 && initialIndex >= 0 && !usedInitialIndex) {
91+ usedInitialIndex = true;
92+ previewListView.positionViewAtIndex(initialIndex, ListView.SnapPosition);
9193 }
9294 }
9395
@@ -100,8 +102,16 @@ Item {
100102 isCurrent: ListView.isCurrentItem
101103
102104 previewModel: {
103− var previewStack = root.scope.preview(result, root.categoryId);
104− return previewStack.getPreviewModel(0);
105+ if (root.open) {
106+ if (index === root.initialIndex) {
107+ return root.initialIndexPreviewStack.getPreviewModel(0);
108+ } else {
109+ var previewStack = root.scope.preview(result, root.categoryId);
110+ return previewStack.getPreviewModel(0);
111+ }
112+ } else {
113+ return null;
114+ }
105115 }
106116 scopeStyle: root.scopeStyle
107117 }
qml/Dash/Previews/PreviewActions.qml+1−1
@@ -25,7 +25,7 @@ import Ubuntu.Components 1.1
2525PreviewWidget {
2626 id: root
2727
28− height: row.height + units.gu(1)
28+ implicitHeight: row.height + units.gu(1)
2929
3030 Row {
3131 id: row
qml/Dash/Previews/PreviewAudioPlayback.qml+1−1
@@ -34,7 +34,7 @@ import Ubuntu.Components 0.1
3434
3535PreviewWidget {
3636 id: root
37− height: childrenRect.height
37+ implicitHeight: childrenRect.height
3838
3939 onIsCurrentPreviewChanged: if (!isCurrentPreview) audio.stop()
4040
qml/Dash/Previews/PreviewHeader.qml+1−1
@@ -30,7 +30,7 @@ import "../"
3030PreviewWidget {
3131 id: root
3232
33− height: childrenRect.height
33+ implicitHeight: childrenRect.height
3434
3535 Item {
3636 id: headerRoot
qml/Dash/Previews/PreviewRatingDisplay.qml+1−1
@@ -38,7 +38,7 @@ import "../../Components"
3838
3939PreviewWidget {
4040 id: root
41− height: childrenRect.height
41+ implicitHeight: childrenRect.height
4242
4343 Column {
4444 anchors { left: parent.left; right: parent.right; }
qml/Launcher/Launcher.qml+2−1
@@ -177,7 +177,8 @@ Item {
177177 }
178178
179179 }
180− MouseArea {
180+
181+ MultiPointTouchArea {
181182 id: closeMouseArea
182183 anchors {
183184 left: launcherDragArea.right
qml/Launcher/LauncherDelegate.qml+12
@@ -24,6 +24,7 @@ Item {
2424 property int count: 0
2525 property bool countVisible: false
2626 property int progress: -1
27+ property bool itemRunning: false
2728 property bool itemFocused: false
2829 property real maxAngle: 0
2930 property bool inverted: false
@@ -216,6 +217,17 @@ Item {
216217 }
217218 }
218219
220+ Image {
221+ objectName: "runningHighlight"
222+ anchors {
223+ left: parent.left
224+ verticalCenter: parent.verticalCenter
225+ }
226+ visible: root.itemRunning
227+ rotation: 180
228+ source: "graphics/focused_app_arrow.png"
229+ }
230+
219231 Image {
220232 objectName: "focusedHighlight"
221233 anchors {
qml/Launcher/LauncherPanel.qml+1
@@ -193,6 +193,7 @@ Rectangle {
193193 count: model.count
194194 countVisible: model.countVisible
195195 progress: model.progress
196+ itemRunning: model.running
196197 itemFocused: model.focused
197198 inverted: root.inverted
198199 alerting: model.alerting
qml/OrientedShell.qml+3
@@ -21,6 +21,9 @@ import GSettings 1.0
2121import "Components"
2222import "Components/UnityInputInfo"
2323import "Rotation"
24+// Backup Workaround https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1473471
25+// in case we remove the UnityInputInfo import
26+import Ubuntu.Components 1.2
2427
2528Rectangle {
2629 id: root
qml/Panel/IndicatorItem.qml+3−3
@@ -31,9 +31,9 @@ IndicatorDelegate {
3131 property bool selected: false
3232 property real iconHeight: units.gu(2)
3333 readonly property color color: {
34− if (!expanded) return "#ededed";
35− if (!selected) return "#4c4c4c";
36− return "#ededed";
34+ if (!expanded) return "#ffffff";
35+ if (!selected) return "#888888";
36+ return "#ffffff";
3737 }
3838
3939 signal clicked()
qml/Panel/IndicatorItemRow.qml+1−1
@@ -31,7 +31,7 @@ Item {
3131 property real unitProgress: 0.0
3232 property real selectionChangeBuffer: units.gu(2)
3333 property bool enableLateralChanges: false
34− property color hightlightColor: "#ededed"
34+ property color hightlightColor: "#ffffff"
3535
3636 property real lateralPosition: -1
3737 onLateralPositionChanged: {
qml/Panel/IndicatorsBar.qml+1−1
@@ -123,7 +123,7 @@ Item {
123123 width: parent.width
124124 anchors.bottom: parent.bottom
125125
126− color: "#4c4c4c"
126+ color: "#888888"
127127 opacity: expanded ? 1.0 : 0.0
128128 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
129129 }
tests/plugins/Unity/Launcher/launchermodeltest.cpp+16
@@ -298,6 +298,22 @@ private Q_SLOTS:
298298 QCOMPARE(launcherModel->rowCount(QModelIndex()), 1);
299299 }
300300
301+ void testApplicationRunning() {
302+ launcherModel->pin("abs-icon");
303+ launcherModel->pin("no-icon");
304+
305+ QCOMPARE(launcherModel->get(0)->running(), true);
306+ QCOMPARE(launcherModel->get(1)->running(), true);
307+
308+ appManager->stopApplication("abs-icon");
309+ QCOMPARE(launcherModel->get(0)->running(), false);
310+ QCOMPARE(launcherModel->get(1)->running(), true);
311+
312+ appManager->stopApplication("no-icon");
313+ QCOMPARE(launcherModel->get(0)->running(), false);
314+ QCOMPARE(launcherModel->get(1)->running(), false);
315+ }
316+
301317 void testApplicationFocused() {
302318 // all apps unfocused at beginning...
303319 QCOMPARE(launcherModel->get(0)->focused(), false);
tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml+147−6
@@ -34,21 +34,122 @@ Rectangle {
3434 "values": [ [ "Long Label 1", "Value 1"], [ "Label 2", "Long Value 2"], [ "Label 3", "Value 3"], [ "Label 4", "Value 4"], [ "Label 5", "Value 5"] ]
3535 }
3636
37+ property var actionsData: {
38+ "actions": [ {"label": "Some Label", "id": "someid"} ]
39+ }
40+
41+ property var audioData: {
42+ "tracks": [ { title: "Some track name", length: "30", source: "/not/existing/path/testsound1" } ]
43+ }
44+
45+ property var commentData: {
46+ "author": "Claire Thompson",
47+ "comment": "C.",
48+ "source": "../../graphics/avatars/amanda@12.png"
49+ }
50+
51+ property var commentInputData: {
52+ "submit-label": "TestSubmitLabel"
53+ }
54+
55+ property var galleryData: {
56+ "sources": [
57+ "../../graphics/phone_background.jpg",
58+ "../../graphics/tablet_background.jpg",
59+ "../../graphics/clock@18.png",
60+ "../../graphics/borked"
61+ ]
62+ }
63+
64+ property var headerData: {
65+ "title": "THE TITLE",
66+ "subtitle": "Something catchy"
67+ }
68+
69+ property var iconActionsData: {
70+ "actions": [ {"label": "10", "id": "s", "icon": Qt.resolvedUrl("../artwork/avatar@12.png") } ]
71+ }
72+
73+ property var imageData: {
74+ "source": "../../graphics/phone_background.jpg",
75+ "zoomable": false
76+ }
77+
78+ property var paymentsData: {
79+ "source": { "price" : 0.99, "currency": "USD", "store_item_id": "com.example.package" }
80+ }
81+
82+ property var progressData: {
83+ "type": "progress",
84+ "source": { "dbus-name" : "somename", "dbus-object": "somestring" }
85+ }
86+
87+ property var ratingInputData: {
88+ "visible": "both",
89+ "required": "both"
90+ }
91+
92+ property var ratingEditData: {
93+ "visible": "both",
94+ "required": "both",
95+ author: "Some dude",
96+ rating: 4.5,
97+ review: "Very cool app"
98+ }
99+
100+ property var reviewsData: {
101+ "reviews": [ { author: "Some dude", rating: 4.5, review: "Very cool app" } ]
102+ }
103+
104+ property var videoData: {
105+ "source": "",
106+ "screenshot": "../../../tests/qmltests/Components/tst_LazyImage/square.png"
107+ }
108+
37109 ListModel {
38110 id: widgetsModel
39111 }
40112
113+ ListModel {
114+ id: allWidgetsModel
115+ }
116+
41117 property var widgetData: {
42118 "title": "Title here",
43119 "collapsed-widgets": 2,
44120 "widgets": widgetsModel
45121 }
46122
123+ property var allWidgetsData: {
124+ "title": "Title here",
125+ "collapsed-widgets": 0,
126+ "widgets": allWidgetsModel
127+ }
128+
129+
47130 Component.onCompleted: {
48131 widgetsModel.append({"type": "text", "widgetId": "text1", "properties": { "text": longText }});
49− widgetsModel.append({"type": "text", "widgetId": "table1", "properties": { "text": tableData }});
132+ widgetsModel.append({"type": "table", "widgetId": "table1", "properties": tableData });
50133 widgetsModel.append({"type": "text", "widgetId": "text3", "properties": { "text": shortText }});
51− widgetsModel.append({"type": "text", "widgetId": "text4", "properties": { "text": longText }});
134+ widgetsModel.append({"type": "text", "widgetId": "text4", "properties": { "text": longText2 }});
135+
136+ allWidgetsModel.append({"type": "actions", "widgetId": "actions1", "properties": actionsData });
137+ allWidgetsModel.append({"type": "audio", "widgetId": "audio1", "properties": audioData });
138+ allWidgetsModel.append({"type": "comment", "widgetId": "comment1", "properties": commentData });
139+ allWidgetsModel.append({"type": "comment-input", "widgetId": "comment-input1", "properties": commentInputData });
140+ // "expandable" For now we're not testing inception of expandables
141+ allWidgetsModel.append({"type": "gallery", "widgetId": "gallery1", "properties": galleryData });
142+ allWidgetsModel.append({"type": "header", "widgetId": "header1", "properties": headerData });
143+ allWidgetsModel.append({"type": "icon-actions", "widgetId": "icon-actions1", "properties": iconActionsData } );
144+ allWidgetsModel.append({"type": "image", "widgetId": "image1", "properties": imageData });
145+ allWidgetsModel.append({"type": "payments", "widgetId": "payments1", "properties": paymentsData });
146+ allWidgetsModel.append({"type": "progress", "widgetId": "progress1", "properties": progressData });
147+ allWidgetsModel.append({"type": "rating-input", "widgetId": "rating-input1", "properties": ratingInputData });
148+ allWidgetsModel.append({"type": "rating-edit", "widgetId": "rating-edit1", "properties": ratingEditData });
149+ allWidgetsModel.append({"type": "reviews", "widgetId": "reviews1", "properties": reviewsData });
150+ allWidgetsModel.append({"type": "table", "widgetId": "table1", "properties": tableData });
151+ allWidgetsModel.append({"type": "text", "widgetId": "text1", "properties": { "text": longText }});
152+ allWidgetsModel.append({"type": "video", "widgetId": "video1", "properties": videoData });
52153 }
53154
54155 PreviewWidgetFactory {
@@ -58,6 +159,12 @@ Rectangle {
58159 widgetData: root.widgetData
59160 }
60161
162+ PreviewWidgetFactory {
163+ id: previewWidgetFactory
164+ anchors { left: parent.left; right: parent.right; top: previewExpandable.bottom }
165+ opacity: 0
166+ }
167+
61168 UT.UnityTestCase {
62169 name: "PreviewExpandableTest"
63170 when: windowShown
@@ -78,13 +185,10 @@ Rectangle {
78185 }
79186
80187 function init() {
188+ previewExpandable.widgetData = widgetData;
81189 checkInitialState();
82190 }
83191
84− function test_collapsed_by_default() {
85− // Nothing init does this already
86− }
87−
88192 function test_expand_collapse() {
89193 var expandButton = findChild(previewExpandable, "expandButton")
90194 mouseClick(expandButton);
@@ -105,5 +209,42 @@ Rectangle {
105209
106210 checkInitialState();
107211 }
212+
213+ function test_all_widgets_height() {
214+ previewExpandable.widgetData = allWidgetsData;
215+
216+ var repeater = findChild(previewExpandable, "repeater")
217+ for (var i = 0; i < repeater.count; ++i) {
218+ tryCompare(repeater.itemAt(i), "height", 0);
219+ }
220+
221+ var expandButton = findChild(previewExpandable, "expandButton")
222+ mouseClick(expandButton);
223+
224+ var repeater = findChild(previewExpandable, "repeater")
225+ for (var i = 0; i < repeater.count; ++i) {
226+ previewWidgetFactory.active = false;
227+ wait(0); // spin the event loop otherwise we get warnings because the previous item from the
228+ // widget factory has still not been deleted and we change the widgetData
229+ previewWidgetFactory.widgetData = allWidgetsModel.get(i).properties;
230+ previewWidgetFactory.widgetType = allWidgetsModel.get(i).type;
231+ previewWidgetFactory.active = true;
232+
233+ // Wait for the height ot settle by waiting twice the time of the
234+ // longest of the height behaviour animations
235+ wait(UbuntuAnimation.SnapDuration * 2);
236+
237+ // Check the item inside the expandable has the same height
238+ // as the one straight from the factory
239+ verify(repeater.itemAt(i).height > 0);
240+ tryCompare(repeater.itemAt(i), "height", previewWidgetFactory.height);
241+ }
242+
243+ mouseClick(expandButton);
244+ compare(previewExpandable.expanded, false);
245+ for (var i = 0; i < repeater.count; ++i) {
246+ tryCompare(repeater.itemAt(i), "height", 0);
247+ }
248+ }
108249 }
109250}
tests/qmltests/Dash/tst_PageHeader.qml+16−12
@@ -33,13 +33,18 @@ Item {
3333
3434 property alias searchEnabled : pageHeader.searchEntryEnabled
3535 property alias searchQuery : pageHeader.searchQuery
36+ property var headerContainer: findChild(pageHeader, "headerContainer")
3637
3738 function doTypeString(text) {
38− var headerContainer = findChild(pageHeader, "headerContainer");
3939 tryCompare(headerContainer, "contentY", 0);
4040 typeString(text);
4141 }
4242
43+ function doResetSearch() {
44+ pageHeader.resetSearch();
45+ tryCompare(headerContainer, "contentY", headerContainer.height);
46+ }
47+
4348 function init() {
4449 searchEnabled = true;
4550
@@ -49,14 +54,13 @@ Item {
4954 pageHeader.searchHistory.clear();
5055
5156 // Check initial state
52− var headerContainer = findChild(pageHeader, "headerContainer");
5357 tryCompareFunction(function() { return headerContainer.popover === null; }, true);
5458 compare(pageHeader.searchHistory.count, 0);
5559 }
5660
5761 function test_search_disabled() {
5862 searchEnabled = false
59− pageHeader.resetSearch()
63+ doResetSearch();
6064
6165 pageHeader.triggerSearch()
6266 keyClick(Qt.Key_S)
@@ -66,7 +70,7 @@ Item {
6670
6771 function test_search_enable() {
6872 searchEnabled = true
69− pageHeader.resetSearch()
73+ doResetSearch();
7074
7175 pageHeader.triggerSearch()
7276 doTypeString("test")
@@ -84,42 +88,42 @@ Item {
8488
8589 function test_reset_search() {
8690 searchEnabled = true
87− pageHeader.resetSearch()
91+ doResetSearch();
8892
8993 pageHeader.triggerSearch()
9094 keyClick(Qt.Key_S)
9195
9296 compare(searchQuery, "s", "Could not type in TextField.")
9397
94− pageHeader.resetSearch()
98+ doResetSearch();
9599 compare(searchQuery, "", "Reset search did not reset searchQuery correctly.")
96100 }
97101
98102 function test_history() {
99103 pageHeader.triggerSearch()
100104 doTypeString("humppa1")
101− pageHeader.resetSearch()
105+ doResetSearch();
102106
103107 tryCompare(pageHeader.searchHistory, "count", 1)
104108 compare(pageHeader.searchHistory.get(0).query, "humppa1")
105109
106110 pageHeader.triggerSearch()
107111 doTypeString("humppa2")
108− pageHeader.resetSearch()
112+ doResetSearch();
109113
110114 compare(pageHeader.searchHistory.count, 2)
111115 compare(pageHeader.searchHistory.get(0).query, "humppa2")
112116
113117 pageHeader.triggerSearch()
114118 doTypeString("humppa3")
115− pageHeader.resetSearch()
119+ doResetSearch();
116120
117121 compare(pageHeader.searchHistory.count, 3)
118122 compare(pageHeader.searchHistory.get(0).query, "humppa3")
119123
120124 pageHeader.triggerSearch()
121125 doTypeString("humppa4")
122− pageHeader.resetSearch()
126+ doResetSearch();
123127
124128 compare(pageHeader.searchHistory.count, 3)
125129 compare(pageHeader.searchHistory.get(0).query, "humppa4")
@@ -139,7 +143,7 @@ Item {
139143 }
140144
141145 function cleanup() {
142− pageHeader.resetSearch();
146+ doResetSearch();
143147 }
144148
145149 function test_popover() {
@@ -223,7 +227,7 @@ Item {
223227 tryCompare(headerContainer, "showSearch", !data.hideSearch);
224228 tryCompareFunction(function() { return headerContainer.popover === null; }, true);
225229
226− pageHeader.resetSearch();
230+ doResetSearch();
227231 }
228232
229233 function test_search_change_shows_search() {
tests/qmltests/Launcher/tst_Launcher.qml+36−5
@@ -382,6 +382,15 @@ Item {
382382 }
383383 }
384384
385+ function test_runningHighlight() {
386+ dragLauncherIntoView();
387+ var launcherListView = findChild(launcher, "launcherListView");
388+ for (var i = 0; i < launcherListView.count; ++i) {
389+ var delegate = findChild(launcherListView, "launcherDelegate" + i)
390+ compare(findChild(delegate, "runningHighlight").visible, LauncherModel.get(i).running)
391+ }
392+ }
393+
385394 function test_focusedHighlight() {
386395 dragLauncherIntoView();
387396 var launcherListView = findChild(launcher, "launcherListView");
@@ -520,7 +529,14 @@ Item {
520529 waitUntilLauncherDisappears();
521530 }
522531
523− function test_dragndrop_cancel() {
532+ function test_dragndrop_cancel_data() {
533+ return [
534+ {tag: "by mouse", mouse: true},
535+ {tag: "by touch", mouse: false}
536+ ]
537+ }
538+
539+ function test_dragndrop_cancel(data) {
524540 dragLauncherIntoView();
525541 var draggedItem = findChild(launcher, "launcherDelegate4")
526542 var item0 = findChild(launcher, "launcherDelegate0")
@@ -529,22 +545,37 @@ Item {
529545 // Doing longpress
530546 var currentMouseX = draggedItem.width / 2
531547 var currentMouseY = draggedItem.height / 2
532− mousePress(draggedItem, currentMouseX, currentMouseY)
548+
549+ if(data.mouse) {
550+ mousePress(draggedItem, currentMouseX, currentMouseY)
551+ } else {
552+ touchPress(draggedItem, currentMouseX, currentMouseY)
553+ }
554+
533555 // DraggedItem needs to hide and fakeDragItem become visible
534556 tryCompare(draggedItem, "itemOpacity", 0)
535557 tryCompare(fakeDragItem, "visible", true)
536558
537559 // Dragging
538560 currentMouseX -= units.gu(20)
539− mouseMove(draggedItem, currentMouseX, currentMouseY)
561+
562+ if(data.mouse) {
563+ mouseMove(draggedItem, currentMouseX, currentMouseY)
564+ } else {
565+ touchMove(draggedItem, currentMouseX, currentMouseY)
566+ }
540567
541568 // Make sure we're in the dragging state
542569 var dndArea = findChild(launcher, "dndArea");
543570 tryCompare(draggedItem, "dragging", true)
544571 tryCompare(dndArea, "draggedIndex", 4)
545572
546− // Tap somewhere in the middle of the screen to close/hide the launcher
547− tap(root)
573+ // Click/Tap somewhere in the middle of the screen to close/hide the launcher
574+ if(data.mouse) {
575+ mouseClick(root)
576+ } else {
577+ tap(root)
578+ }
548579
549580 // Make sure the dnd operation has been stopped
550581 tryCompare(draggedItem, "dragging", false)
tests/qmltests/Panel/tst_IndicatorItem.qml+12−12
@@ -181,25 +181,25 @@ Rectangle {
181181 }
182182
183183 function test_select() {
184− tryCompare(findChild(indicatorItem, "icon0"), "color", "#ededed");
184+ tryCompare(findChild(indicatorItem, "icon0"), "color", "#ffffff");
185185 tryCompare(findChild(indicatorItem, "icon0"), "opacity", 1.0);
186− tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#ededed");
187− tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#ededed");
188− tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#ededed");
186+ tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#ffffff");
187+ tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#ffffff");
188+ tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#ffffff");
189189
190190 indicatorItem.expanded = true;
191− tryCompare(findChild(indicatorItem, "icon0"), "color", "#4c4c4c");
191+ tryCompare(findChild(indicatorItem, "icon0"), "color", "#888888");
192192 tryCompare(findChild(indicatorItem, "icon0"), "opacity", 0.6);
193− tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#4c4c4c");
194− tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#4c4c4c");
195− tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#4c4c4c");
193+ tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#888888");
194+ tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#888888");
195+ tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#888888");
196196
197197 indicatorItem.selected = true;
198− tryCompare(findChild(indicatorItem, "icon0"), "color", "#ededed");
198+ tryCompare(findChild(indicatorItem, "icon0"), "color", "#ffffff");
199199 tryCompare(findChild(indicatorItem, "icon0"), "opacity", 1.0);
200− tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#ededed");
201− tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#ededed");
202− tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#ededed");
200+ tryCompare(findChild(indicatorItem, "leftLabel"), "color", "#ffffff");
201+ tryCompare(findChild(indicatorItem, "rightLabel"), "color", "#ffffff");
202+ tryCompare(findChild(indicatorItem, "indicatorName"), "color", "#ffffff");
203203 }
204204 }
205205}
tests/qmltests/Stages/tst_PhoneStage.qml+1
@@ -295,6 +295,7 @@ Item {
295295 tryCompare(ApplicationManager, "count", oldCount - 1)
296296 }
297297 phoneStage.shellOrientationAngle = 0;
298+ phoneStage.select(ApplicationManager.get(0).appId);
298299 }
299300
300301 function test_focusNewTopMostAppAfterFocusedOneClosesItself() {
tests/qmltests/tst_Shell.qml+3−3
@@ -1505,7 +1505,7 @@ Rectangle {
15051505 while (appRepeater.highlightedIndex != i && x <= 4000) {
15061506 x+=10;
15071507 mouseMove(shell, x, y)
1508− waitForRendering(shell)
1508+ wait(0); // spin the loop so bindings get evaluated
15091509 }
15101510 }
15111511
@@ -1536,7 +1536,7 @@ Rectangle {
15361536 while (appRepeater.highlightedIndex !== 2 && x <= 4000) {
15371537 x+=10;
15381538 mouseMove(shell, x, y)
1539− waitForRendering(shell)
1539+ wait(0); // spin the loop so bindings get evaluated
15401540 }
15411541 tryCompare(closeMouseArea, "enabled", true)
15421542
@@ -1582,7 +1582,7 @@ Rectangle {
15821582 while (appRepeater.highlightedIndex !== 2 && x <= 4000) {
15831583 x+=10;
15841584 mouseMove(shell, x, y)
1585− waitForRendering(shell)
1585+ wait(0); // spin the loop so bindings get evaluated
15861586 }
15871587 tryCompare(decoratedWindow, "highlightShown", true);
15881588
tests/qmltests/tst_ShellWithPin.qml+5−4
@@ -498,12 +498,13 @@ Item {
498498
499499 function test_suspend() {
500500 var greeter = findChild(shell, "greeter");
501+ var applicationsDisplayLoader = findChild(shell, "applicationsDisplayLoader")
501502
502503 // Put it to sleep
503504 Powerd.status = Powerd.Off;
504505
505− // If locked, ApplicationManager.suspended should be true
506− tryCompare(ApplicationManager, "suspended", true);
506+ // If locked, applicationsDisplayLoader.item.suspended should be true
507+ tryCompare(applicationsDisplayLoader.item, "suspended", true);
507508
508509 // And wake up
509510 Powerd.status = Powerd.On;
@@ -513,12 +514,12 @@ Item {
513514 swipeAwayGreeter(true);
514515
515516 // We have a lockscreen, make sure we're still suspended
516− tryCompare(ApplicationManager, "suspended", true);
517+ tryCompare(applicationsDisplayLoader.item, "suspended", true);
517518
518519 enterPin("1234")
519520
520521 // Now that the lockscreen has gone too, make sure we're waking up
521− tryCompare(ApplicationManager, "suspended", false);
522+ tryCompare(applicationsDisplayLoader.item, "suspended", false);
522523
523524 }
524525
tests/utils/modules/Unity/Test/UnityTestCase.qml+9
@@ -351,6 +351,15 @@ TestCase {
351351 event.commit()
352352 }
353353
354+ function touchMove(item, tox, toy) {
355+ var root = fetchRootItem(item)
356+ var rootPoint = item.mapToItem(root, tox, toy)
357+
358+ var event = touchEvent(item);
359+ event.move(0 /* touchId */, rootPoint.x, rootPoint.y);
360+ event.commit();
361+ }
362+
354363 function touchPinch(item, x1Start, y1Start, x1End, y1End, x2Start, y2Start, x2End, y2End) {
355364 // Make sure the item is rendered
356365 waitForRendering(item);