pictures uploaded from gallery are plain black on mako only
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
David Barth | ||
| | The Webapps-core project |
High
|
Alexandre Abreu | ||
| | webapps-sprint |
High
|
Alexandre Abreu | ||
| | webbrowser-app (Ubuntu) |
High
|
Olivier Tilloy | ||
Bug Description
When I upload a picture to twitter via the webapp from my Ubuntu phone, the pictures appear as just plain black in the web. The preview in the webapp looks o.k.
The Bug is reproducable for me on this specific device. I have no other devices to test it further.
There are no errors and the connection type doesn't matter.
Device is mako | Version: RTM Ubuntu 14.10 (r11)
| Dario Cavedon (dcavedon) wrote : | #1 |
| Andreas Jung (docjuhnk) wrote : | #2 |
Right now I'm having this bug when the phone is connected via w-lan.
-> https:/
When I use mobile web connection the upload works jus fine.
-> https:/
I could reproduce this with two tweets. One on r14, the other was sent from r15. (Device: mako)
| Alexandre Abreu (abreu-alexandre) wrote : | #4 |
To be noted: I am re-assigning to the proper ubuntu phone webapp project
| no longer affects: | unity-webapps-twitter |
| Alexandre Abreu (abreu-alexandre) wrote : | #5 |
I was able to repro it using #95 on mako, it works fine on RTM > #232
| Changed in webapps-core: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
| Alexandre Abreu (abreu-alexandre) wrote : | #6 |
There seem to be a race somewhere, ... if one "Tweets" the picture as soon as it has been selected from the content picker it appears black, otherwise if one waits a bit (10 sec) *after* the picture has appeared in the tweet message box, then it shows up properly.
| Changed in webapps-core: | |
| status: | Confirmed → In Progress |
| Changed in webapps-sprint: | |
| milestone: | none → sprint-8 |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
| Changed in webapps-sprint: | |
| milestone: | sprint-8 → sprint-9 |
| Changed in webapps-sprint: | |
| milestone: | sprint-9 → sprint-10 |
| Zachary Igielman (zacharyi123) wrote : | #7 |
Is this being fixed? It is still a problem.
| Alexandre Abreu (abreu-alexandre) wrote : | #8 |
Yes it is being worked on and planned for this work sprint
| Zachary Igielman (zacharyi123) wrote : | #9 |
Great, what do you mean by work sprint? When will this be fixed for me in the app? Great work, thanks man, you're awesome :D
| Changed in webapps-sprint: | |
| milestone: | sprint-10 → sprint-11 |
| Changed in webapps-sprint: | |
| milestone: | sprint-11 → sprint-12 |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → David Barth (dbarth) |
| importance: | Undecided → High |
| milestone: | none → ww34-2015 |
| status: | New → In Progress |
| tags: | added: hotfix |
| Changed in webbrowser-app (Ubuntu): | |
| assignee: | nobody → Olivier Tilloy (osomon) |
| status: | New → In Progress |
| importance: | Undecided → High |
| summary: |
- pictures uploaded from gallery are plain black + pictures uploaded from gallery are plain black on mako only |
| Changed in canonical-devices-system-image: | |
| milestone: | ww34-2015 → ww40-2015 |
| Alexandre Abreu (abreu-alexandre) wrote : | #10 |
The initial fix that tweaked the accept timer for the content picker dialog was a red herring. It seemed to work but it was most likely timing related.
As of now I cannot repro the scenario highlighted above: waiting a bit after the picture appeared in the composition dialog before posting it to make it work.
After inspecting the logs, I found this suspicious line
[0819/192717:
right after posting the image, and that does not appear in other non mako contexts.
It *might* (still under investigation) be triggered when twitter reads back from the canvas that displays the image in the message composition dialog to get access to its content ... and seems be gpu related (GL_BGRA_EXT not being supported)
| Changed in webapps-sprint: | |
| milestone: | sprint-12 → sprint-14 |
| Changed in canonical-devices-system-image: | |
| milestone: | ww40-2015 → ww46-2015 |
| David Barth (dbarth) wrote : | #11 |
The issue is most probably due to a GL operation that is not well supported on mako.
A complete fix may not be possible if this is a hardware limitation. And disabling the GL operation support might impact things like HTML games for example.
Since it's mako only, I would recommend to freeze that as a known-issue on this platform.
| Changed in webapps-sprint: | |
| milestone: | sprint-14 → sprint-15 |
| Changed in webapps-sprint: | |
| milestone: | sprint-15 → sprint-16 |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Won't Fix |
| milestone: | ww46-2015 → none |
| Changed in webapps-sprint: | |
| milestone: | sprint-16 → sprint-17 |
| Changed in webapps-sprint: | |
| milestone: | sprint-17 → sprint-18 |
| Changed in webapps-core: | |
| status: | In Progress → Won't Fix |
| Changed in webapps-sprint: | |
| status: | In Progress → Won't Fix |
| Changed in webbrowser-app (Ubuntu): | |
| status: | In Progress → Won't Fix |

I confirm the problem, you can see a test at this link:
https:/ /twitter. com/dcavedon/ status/ 560516977161416 704
You can reproduce this error every time:
- open Twitter web app
- write a new tweet
- insert a picture
- take the picture from the gallery or from file manager
- tweet it!
The result is a tweet with a completely black picture.
My device is mako, with Ubuntu 14.10 (r14).