Merge lp:~tpeeters/ubuntu-ui-toolkit/OSKvsTextInputPopover into lp:ubuntu-ui-toolkit/staging

Proposed by Tim Peeters
Status: Rejected
Rejected by: Cris Dywan
Proposed branch: lp:~tpeeters/ubuntu-ui-toolkit/OSKvsTextInputPopover
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 38 lines (+4/-4)
2 files modified
modules/Ubuntu/Components/1.2/OrientationHelper.qml (+2/-2)
modules/Ubuntu/Components/1.3/OrientationHelper.qml (+2/-2)
To merge this branch: bzr merge lp:~tpeeters/ubuntu-ui-toolkit/OSKvsTextInputPopover
Reviewer Review Type Date Requested Status
Cris Dywan Disapprove
PS Jenkins bot continuous-integration Approve
Albert Astals Cid (community) non-code Approve
Review via email: mp+259503@code.launchpad.net

Commit message

Fix unity8 search history popover displacement.

Description of the change

Fix unity8 search history popover displacement.

This MR partially reverts https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/langing-popoverfix/+merge/252066 and will need manual testing to make sure it does not break anything.

To post a comment you must log in.
Revision history for this message
Albert Astals Cid (aacid) wrote :

Is there a way we can autotest this so it doesn't happen again?

review: Needs Information
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

@Albert: I thought about that. It is possible to test the y-value. But apparently in this case, what is the correct y-value has changed so a test would not detect it.

Revision history for this message
Albert Astals Cid (aacid) wrote :

Ok, want me to give the bugfix a try? Or not needed?

review: Needs Information
Revision history for this message
Zsombor Egri (zsombi) wrote :

@Albert: test it pls...

Revision history for this message
Albert Astals Cid (aacid) wrote :

Tested the bug and works fine.

review: Approve (non-code)
1510. By Tim Peeters

merge staging

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1511. By Tim Peeters

nothing

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1512. By Tim Peeters

nada

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1513. By Tim Peeters

merge staging

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1514. By Tim Peeters

sync staging

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1515. By Tim Peeters

sync staging

Revision history for this message
Cris Dywan (kalikiana) wrote :

As I've separately come up with the exact same fix now since this wasn't merged.. I demand that we get a test case for it in this time around.

review: Needs Fixing
Revision history for this message
Cris Dywan (kalikiana) wrote :

(I will provide the test for it, which I was already looking to do before I realized that I was fixing a fixed fix).

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote :
review: Disapprove

Unmerged revisions

1515. By Tim Peeters

sync staging

1514. By Tim Peeters

sync staging

1513. By Tim Peeters

merge staging

1512. By Tim Peeters

nada

1511. By Tim Peeters

nothing

1510. By Tim Peeters

merge staging

1509. By Tim Peeters

revert OrientationHelper y-computation change from langing-popoverfix branch

1508. By Tim Peeters

sync staging

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'modules/Ubuntu/Components/1.2/OrientationHelper.qml'
2--- modules/Ubuntu/Components/1.2/OrientationHelper.qml 2015-04-30 08:32:44 +0000
3+++ modules/Ubuntu/Components/1.2/OrientationHelper.qml 2015-06-29 12:10:29 +0000
4@@ -1,5 +1,5 @@
5 /*
6- * Copyright 2013 Canonical Ltd.
7+ * Copyright 2015 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11@@ -98,7 +98,7 @@
12 property bool anchorToKeyboard: false
13
14 x: parent ? (parent.width - width) / 2 : 0
15- y: parent ? (d.availableParentHeight - height) / 2 : 0
16+ y: parent ? (parent.height - height) / 2 : 0
17 width: parent ? (d.flipDimensions ? d.availableParentHeight : parent.width) : 0
18 height: parent ? (d.flipDimensions ? parent.width : d.availableParentHeight) : 0
19
20
21=== modified file 'modules/Ubuntu/Components/1.3/OrientationHelper.qml'
22--- modules/Ubuntu/Components/1.3/OrientationHelper.qml 2015-04-25 08:54:58 +0000
23+++ modules/Ubuntu/Components/1.3/OrientationHelper.qml 2015-06-29 12:10:29 +0000
24@@ -1,5 +1,5 @@
25 /*
26- * Copyright 2013 Canonical Ltd.
27+ * Copyright 2015 Canonical Ltd.
28 *
29 * This program is free software; you can redistribute it and/or modify
30 * it under the terms of the GNU Lesser General Public License as published by
31@@ -98,7 +98,7 @@
32 property bool anchorToKeyboard: false
33
34 x: parent ? (parent.width - width) / 2 : 0
35- y: parent ? (d.availableParentHeight - height) / 2 : 0
36+ y: parent ? (parent.height - height) / 2 : 0
37 width: parent ? (d.flipDimensions ? d.availableParentHeight : parent.width) : 0
38 height: parent ? (d.flipDimensions ? parent.width : d.availableParentHeight) : 0
39

Subscribers

People subscribed via source and target branches