Merge lp:~d.filoni/telegram-app/fix1642971_1642637 into lp:telegram-app

Proposed by Devid Antonio Filoni
Status: Merged
Approved by: Jin
Approved revision: 250
Merged at revision: 252
Proposed branch: lp:~d.filoni/telegram-app/fix1642971_1642637
Merge into: lp:telegram-app
Diff against target: 31 lines (+7/-3)
2 files modified
telegram/app/qml/AccountDialogList.qml (+1/-3)
telegram/app/qml/AddContactPage.qml (+6/-0)
To merge this branch: bzr merge lp:~d.filoni/telegram-app/fix1642971_1642637
Reviewer Review Type Date Requested Status
Jin (community) Approve
Roberto Mier Escandon (community) Approve
Review via email: mp+311353@code.launchpad.net

Description of the change

This MR fixes bug #1642971. Tested on desktop.

To post a comment you must log in.
250. By Devid Antonio Filoni

Fix bug #1642637

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Commit #250 fixes bug #1642637 . I decided to push it in the same branch because commit #249 is trivial. I tested both commits on desktop (xenial) and mobile (mako).

Revision history for this message
Roberto Mier Escandon (rmescandon) wrote :

I cannot reproduce 1642637 with current trunk but 1642971 is fixed with this change

review: Approve
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Hi Roberto, you can reproduce 1642637 in desktop (you have to enlarge the window to have two columns). Thank you for the review!

Revision history for this message
Jin (jindallo) wrote :

@Devid,

Please see my inline comment below.

review: Needs Fixing
Revision history for this message
Jin (jindallo) wrote :

@Devid,

Please see my inline comment below.

review: Needs Fixing
Revision history for this message
Devid Antonio Filoni (d.filoni) :
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Hi Jin,
I tried again removing currentDialog = telegramObject.nullDialog; line however without it, bug 1642637 is not fixed, the issue is still there when you have two columns (so desktop or tablet mode) and you forward a message to the same chat/user (e.g. I'm chatting with A and I forward a message from A chat to A chat). It works fine keeping that code line.

Revision history for this message
Jin (jindallo) wrote :

@Devid,

Well, it is weird but I can accept the way if some comments added for the line,
for the other developers.

I approve and will do that,
you could have a check from our main trunk later.

Thanks for the contribution!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'telegram/app/qml/AccountDialogList.qml'
2--- telegram/app/qml/AccountDialogList.qml 2016-11-09 10:32:21 +0000
3+++ telegram/app/qml/AccountDialogList.qml 2016-11-20 21:37:36 +0000
4@@ -104,9 +104,7 @@
5 }
6
7 onCurrentDialogChanged: {
8- if (list_item.width > units.gu(35)) {
9- currentDialog = telegramObject.nullDialog;
10- }
11+ currentDialog = telegramObject.nullDialog;
12 currentDialog = dialog;
13 }
14
15
16=== modified file 'telegram/app/qml/AddContactPage.qml'
17--- telegram/app/qml/AddContactPage.qml 2016-06-23 09:57:19 +0000
18+++ telegram/app/qml/AddContactPage.qml 2016-11-20 21:37:36 +0000
19@@ -37,6 +37,12 @@
20 onTriggered: addContact()
21 }
22 ]
23+ leadingActionBar.actions: Action {
24+ id: back_action
25+ objectName: "backAction"
26+ iconName: "back"
27+ onTriggered: pageStack.removePages(page);
28+ }
29 }
30
31 Item {

Subscribers

People subscribed via source and target branches

to status/vote changes: