Merge lp:~tiagosh/phone-app/phone-app-1181362 into lp:phone-app

Proposed by Bill Filler
Status: Merged
Approved by: Bill Filler
Approved revision: 660
Merged at revision: 660
Proposed branch: lp:~tiagosh/phone-app/phone-app-1181362
Merge into: lp:phone-app
Diff against target: 59 lines (+25/-2)
3 files modified
debian/changelog (+4/-2)
src/qml/PanelCommunications/CommunicationsPanel.qml (+10/-0)
src/qml/PanelContacts/ContactsPanel.qml (+11/-0)
To merge this branch: bzr merge lp:~tiagosh/phone-app/phone-app-1181362
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Bill Filler (community) Approve
Review via email: mp+166133@code.launchpad.net

This proposal supersedes a proposal from 2013-05-27.

Commit message

Prevent the search field from being partially covered by the view header

Description of the change

Prevent the search field from being partially covered by the view header

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:657
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~tiagosh/phone-app/phone-app-1181362/+merge/165921/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/phone-app-ci/118/
Executed test runs:
    FAILURE: http://jenkins.qa.ubuntu.com/job/phone-app-raring-amd64-ci/42/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/phone-app-raring-armhf-ci/91
        deb: http://jenkins.qa.ubuntu.com/job/phone-app-raring-armhf-ci/91/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/phone-app-raring-i386-ci/91/console

Click here to trigger a rebuild:
http://s-jenkins:8080/job/phone-app-ci/118/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

tested, works

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
658. By Tiago Salem Herrmann

* Allow toggling favorite even when not editing a contact (LP: #1185064).
* Added rotation support;
* Added i18n support;

659. By Tiago Salem Herrmann

update changelog

660. By Tiago Salem Herrmann

remove old code

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

approved

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-05-29 03:13:19 +0000
3+++ debian/changelog 2013-05-29 18:13:25 +0000
4@@ -1,8 +1,10 @@
5-phone-app (0.59.12-0ubuntu2) UNRELEASED; urgency=low
6+phone-app (0.59.12-0ubuntu2) raring; urgency=low
7
8 * Allow toggling favorite even when not editing a contact (LP: #1185064).
9+ * Prevent the search field from being partially covered by the
10+ view header (LP: 1181362).
11
12- -- Tiago Salem Herrmann <tiago.herrmann@canonical.com> Wed, 29 May 2013 00:10:30 -0300
13+ -- Tiago Salem Herrmann <tiago.herrmann@canonical.com> Wed, 29 May 2013 15:06:30 -0300
14
15 phone-app (0.59.12-0ubuntu1) raring; urgency=low
16
17
18=== modified file 'src/qml/PanelCommunications/CommunicationsPanel.qml'
19--- src/qml/PanelCommunications/CommunicationsPanel.qml 2013-05-24 13:08:32 +0000
20+++ src/qml/PanelCommunications/CommunicationsPanel.qml 2013-05-29 18:13:25 +0000
21@@ -26,6 +26,16 @@
22 id: messageList
23 objectName: "communicationPanel"
24 title: i18n.tr("Conversations")
25+ onActiveChanged: {
26+ // workaround to scroll ListView to the top.
27+ // We currently place the search bar inside the
28+ // ListView header, and it is not taken into
29+ // account when calculating the header offset.
30+ // Ref.: https://bugs.launchpad.net/phone-app/+bug/1181362
31+ if (active) {
32+ communicationsList.contentY = -communicationsList.headerItem.height-header.height
33+ }
34+ }
35 tools: ToolbarActions {
36 Action {
37 iconSource: Qt.resolvedUrl("../assets/compose.png")
38
39=== modified file 'src/qml/PanelContacts/ContactsPanel.qml'
40--- src/qml/PanelContacts/ContactsPanel.qml 2013-05-24 13:08:32 +0000
41+++ src/qml/PanelContacts/ContactsPanel.qml 2013-05-29 18:13:25 +0000
42@@ -26,6 +26,17 @@
43 LocalWidgets.PhonePage {
44 id: contactsPanel
45 title: i18n.tr("Contacts")
46+ onActiveChanged: {
47+ // workaround to scroll ListView to the top.
48+ // We currently place the search bar inside the
49+ // ListView header, and it is not taken into
50+ // account when calculating the header offset.
51+ // Ref.: https://bugs.launchpad.net/phone-app/+bug/1181362
52+ if (active) {
53+ contactsList.contentY = -contactsList.headerItem.height-
54+header.height
55+ }
56+ }
57
58 tools: ToolbarActions {
59 Action {

Subscribers

People subscribed via source and target branches