Merge lp:~mterry/unity8/no-greeter-drag-if-hidden into lp:unity8

Proposed by Michael Terry
Status: Merged
Approved by: Michael Zanetti
Approved revision: 1451
Merged at revision: 1467
Proposed branch: lp:~mterry/unity8/no-greeter-drag-if-hidden
Merge into: lp:unity8
Diff against target: 12 lines (+1/-1)
1 file modified
qml/Shell.qml (+1/-1)
To merge this branch: bzr merge lp:~mterry/unity8/no-greeter-drag-if-hidden
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+242545@code.launchpad.net

Commit message

Don't allow dragging the greeter out from the left edge if it's hidden there.

Description of the change

Don't allow dragging the greeter out from the left edge if it's hidden there.

== Checklist ==

 * Are there any related MPs required for this MP to build/function as expected? Please list.
 No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
 Yes

 * Did you make sure that your branch does not contain spurious tags?
 Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
 NA

 * If you changed the UI, has there been a design review?
 NA

To post a comment you must log in.
1450. By Michael Terry

Don't let user drag greeter out from left edge of screen when it's hidden

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

tested, works fine, but...

tags :/

review: Needs Fixing
1451. By Michael Terry

Merge from trunk

Revision history for this message
Michael Terry (mterry) wrote :

Try now? I didn't have tags in my local branch. But I merged from trunk, checked again, and pushed again. Maybe this will do the trick.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

> Try now? I didn't have tags in my local branch. But I merged from trunk,
> checked again, and pushed again. Maybe this will do the trick.

http://paste.ubuntu.com/9214916/

Revision history for this message
Michael Terry (mterry) wrote :

OK, try *now*. I guess fixing locally and pushing doesn't solve it (unless I pass --overwrite). So I pointed the strip script at the remote branch and it cleaned things up.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

Looks fine to me:

⟫ ./strip-tags.py lp:~mterry/unity8/no-greeter-drag-if-hidden
lp:~mterry/unity8/no-greeter-drag-if-hidden: clean

Hint: there's a modernized script that does not have a hardcoded list
any more: http://people.canonical.com/~msawicz/unity8/strip-tags.py

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Yep, looks good now.

 * Did you perform an exploratory manual test run of the code change and any related functionality?

yes

 * Did CI run pass? If not, please explain why.

The known failures which are fixed in trunk now.

 * Did you make sure that the branch does not contain spurious tags?

Yes, fine now.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Shell.qml'
2--- qml/Shell.qml 2014-11-17 13:47:59 +0000
3+++ qml/Shell.qml 2014-11-24 13:32:49 +0000
4@@ -495,7 +495,7 @@
5 // Just a tiny wrapper to adjust greeter's x without messing with its own dragging
6 id: greeterWrapper
7 objectName: "greeterWrapper"
8- x: greeter.narrowMode ? launcher.progress : 0
9+ x: (greeter.narrowMode && greeter.showProgress > 0) ? launcher.progress : 0
10 y: panel.panelHeight
11 width: parent.width
12 height: parent.height - panel.panelHeight

Subscribers

People subscribed via source and target branches