Mir

Image flickers when switching to/from fullscreen

Bug #1445265 reported by Arthur Mello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
mir (Ubuntu)
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Invalid
Medium
Tim Peeters

Bug Description

With vivid-proposed on mako.

We have a Image component with PreserveAspectRatio set as fillMode filling all the Page. When the application is going fullscreen / non-fullscreen on device the Image flickers during the process. Hiding the header too seems to make the result worse. This is the scenario for gallery-app during media viewer.

On this branch [0] we have a sample app that seems to trigger the issue. Just tap the picture to go fullscreen / non-fullscreen.

[0] lp:~artmello/+junk/fullscreen_issue

Revision history for this message
Arthur Mello (artmello) wrote :

After some tests with sdk team, this does not seem to be an ui-toolkit issue. The problem still happens if we use only an Item and not the MainView/Page components. The sample code was updated to show that.

Revision history for this message
Tim Peeters (tpeeters) wrote :

It turns out that the flickering occurs even when the UITK is not used, so this is probably a bug for another project (I don't know which project, though).

Revision history for this message
Arthur Mello (artmello) wrote :

We did some more tests on this issue. It seems that even if the flickering does happen when we do not use any ubuntu-ui-toolkit it is worse when we have ManView/Page components. Especially when we hide/show the header during the process.

Here[0] there is a new branch that shows the problem. Talking with timp he mentioned that the header.visible property will be deprecated on version 1.3 of ubuntu-ui-toolkit , but during the tests the problem seems to still happen.

[0] lp:~artmello/+junk/fullscreen_issue_header

Revision history for this message
Tim Peeters (tpeeters) wrote :
Revision history for this message
Bill Filler (bfiller) wrote :

This is not related to the https://bugs.launchpad.net/tangxi/+bug/1417006 I don't believe as that bug is arale specific and this issue can be observed on mako and krillin.

summary: - Image flickers when application going fullscreen on device
+ sdk header flickers when hide/show going in and out of fullscreen
Revision history for this message
Bill Filler (bfiller) wrote : Re: sdk header flickers when hide/show going in and out of fullscreen

also in our testing the flickering has nothing to do with an Image being displayed. The issue can be observed even with no image present, by toggling the window fullscreen and hiding/showing the header. The header clearly shows flicking and repainting issues in this scenario. Try the sample app here: lp:~artmello/+junk/fullscreen_issue_header

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Tim Peeters (tpeeters)
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like it could be one of the Mir on Android bugs:
   https://bugs.launchpad.net/mir/+bugs?field.tag=android

Although only bug 1441553 mentions "flicker". That's a relatively new bug and has been seen in a few different scenarios.

Other bugs in the above list may cause "stutter" but that's different and less likely to happen under Unity8 right now (we have built-in workarounds for most of them).

Revision history for this message
Tim Peeters (tpeeters) wrote :

Closing for UITK.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → Invalid
summary: - sdk header flickers when hide/show going in and out of fullscreen
+ Image flickers when switching to/from fullscreen
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

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.