The content hub sharing does not work in the chat window

Bug #1592266 reported by Jin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Telegram app
Fix Released
High
Unassigned

Bug Description

Description:
User can not use content-hub sharing function with Telegram chat window.

Reproduce Steps:
    a) Launch Telegram
    b) Enter a chat to see the messages with the contact
    c) Switch to the app. which supports content-hub sharing (e.g. Gallery)
    d) Select the data and click the sharing button to enter the "Share to" page
    e) Select Telegram to share the data to it
    f) Observe the Telegram current page

Expected Result:
Telegram enters the "Select Chat" page to share the data

Actual Result:
Telegram stays on the same chat window and no sharing page could be entered.

Occurrence:
10/10 (100%)

Software Information:
    com.ubuntu.telegram (2.2.20.0)

Tags: cqa-verified

Related branches

Jin (jindallo)
Changed in telegram-app:
status: New → Confirmed
importance: Undecided → High
milestone: none → m32
Jin (jindallo)
Changed in telegram-app:
milestone: m32 → m33
Jin (jindallo)
Changed in telegram-app:
milestone: m33 → m32
Revision history for this message
Jin (jindallo) wrote :
Revision history for this message
Jin (jindallo) wrote :

Hello Ash,

Please help us to take a look on this,
since it is confirmed, thanks!

Changed in telegram-app:
assignee: nobody → Ash (ashley-richards)
Ash (ashley-richards)
Changed in telegram-app:
status: Confirmed → In Progress
Revision history for this message
Ash (ashley-richards) wrote :

Hi Jin,
Could you clarify what would be the pass requirement?

When a user shares to Telegram, with the app backgrounded, should a confirmation dialog appear confirming whether the user still wants to share the image to the chat? Or would you like the photo to be sent straight away?

At the moment when I share to Telegram, with the app closed, I get a listView with the available chats and I can then 'forward' the image to the selected chat.

Thanks

Revision history for this message
Jin (jindallo) wrote :

@Ash,
Thanks for looking into this.

The best idea is just show the "Select Chat" page,
no matter in below cases:
    1. app does not be launched
    2. app in background as main view (AccountListPage)
    3. app in background as dialog window (AccountDialogPage)
it is a header we have in AccountPage component,
there is a state changing to AccountPage with share_header.

Then the back action need to be defined as:
if the user click the back key on the "Select Chat",
it needs to return to the share page as the original(current) design.

Revision history for this message
Jin (jindallo) wrote :

ug fixed,
and verified pass on developer side.

The change list is submitted as rev. 220,
below is the detail information.
    http://bazaar.launchpad.net/~libqtelegram-team/telegram-app/telegram/revision/220

Device Information:
    current build number: 484
    device name: mako
    channel: ubuntu-touch/rc-proposed/ubuntu
    last update: 2016-07-13 04:21:31
    version version: 484
    version ubuntu: 20160712
    version device: 20160401.1
    version custom: 20160712
    version custom: 20160408.3

Changed in telegram-app:
assignee: Ash (ashley-richards) → Jin (jin.cth)
status: In Progress → Fix Committed
Revision history for this message
Jin (jindallo) wrote :

Please use version 2.2.29.0 as current main trunk build to verify this issue,
many thanks.

Revision history for this message
Ethan Chang (ethan.chang) wrote :

Verified with 2.2.29.0

tags: added: cqa-verified
Jin (jindallo)
Changed in telegram-app:
status: Fix Committed → Fix Released
assignee: Jin (jin.cth) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.