@@ -43,6 +43,10 @@ Rectangle {
4343 if (quickList.state == "open") {
4444 quickList.state = ""
4545 }
46+
47+ if (fakeAlertingItem.visible && fakeAlertingItem.x > units.gu(.5)) {
48+ fakeAlertingItem.x = 72 - parent.visibleWidth
49+ }
4650 }
4751
4852 onAlertIndexChanged: {
@@ -53,27 +57,14 @@ Rectangle {
5357 fakeAlertingItem.index = alertIndex
5458 fakeAlertingItem.iconName = launcherListView.model.get(alertIndex).icon
5559 fakeAlertingItem.y = alertIndex * fakeAlertingItem.itemHeight + launcherListView.anchors.topMargin + launcherListView.topMargin
56− fakeAlertingItem.count = LauncherModel.get(alertIndex).count
57− fakeAlertingItem.progress = LauncherModel.get(alertIndex).progress
60+ fakeAlertingItem.progress = launcherListView.model.get(alertIndex).progress
5861 fakeAlertingItem.alerting = true
5962 fakeAlertingItem.visible = true
60− if (launcher.state !== "visible") {
61− fakeAlertingItem.reveal()
62− }
63− print("y = ", fakeAlertingItem.y)
64− print("index = ", fakeAlertingItem.index)
6563 } else {
66− // set real icon back to visible
67−
6864 // fold
6965
7066 // hide fake-alerting-icon
7167 fakeAlertingItem.alerting = false
72−
73− if (launcher.state !== "visible") {
74− fakeAlertingItem.hide()
75− }
76− //fakeAlertingItem.visible = false
7768 }
7869 }
7970
@@ -216,6 +207,7 @@ Rectangle {
216207 z: -Math.abs(offset)
217208 maxAngle: 55
218209 property bool dragging: false
210+ itemOpacity: index === alertIndex ? 0 : 1
219211
220212 ThinDivider {
221213 id: dropIndicator
@@ -546,15 +538,19 @@ Rectangle {
546538 itemHeight: launcherListView.itemHeight
547539 height: itemHeight
548540 width: itemWidth
549− rotation: root.rotation
541+ rotation: root.rotation1G
550542 alerting: false
551543
552− function reveal() {
553− fakeAlertingItemReveal.start();
554− }
555−
556− function hide() {
557− fakeAlertingItemHide.start();
544+ onAlertingChanged: {
545+ if (alerting) {
546+ if (launcher.state !== "visible") {
547+ fakeAlertingItemReveal.start();
548+ }
549+ } else {
550+ if (launcher.state !== "visible") {
551+ fakeAlertingItemHide.start();
552+ }
553+ }
558554 }
559555
560556 ParallelAnimation {
@@ -569,7 +565,7 @@ Rectangle {
569565 UbuntuNumberAnimation {
570566 target: fakeAlertingItem;
571567 properties: "x";
572− from: 0
568+ from: units.gu(.5)
573569 to: units.gu(1) + launcherListView.width * .5
574570 duration: UbuntuAnimation.BriskDuration
575571 }
@@ -582,15 +578,9 @@ Rectangle {
582578 target: fakeAlertingItem;
583579 properties: "x";
584580 from: units.gu(1) + launcherListView.width * .5
585− to: 0
581+ to: units.gu(.5)
586582 duration: UbuntuAnimation.BriskDuration
587583 }
588−
589− PropertyAction {
590− target: fakeAlertingItem
591− properties: "visible"
592− value: false
593− }
594584 }
595585 }
596586 }