Unity8 scopes squeezed on Qt 5.6

Bug #1565763 reported by Timo Jyrinki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
High
Albert Astals Cid

Bug Description

See attached screenshot. One can scroll it up/down and it stays like that. Seems to be just Unity 8 though, applications look normal.

More information about Qt 5.6 at https://wiki.ubuntu.com/Touch/QtTesting

Tags: qt5.6

Related branches

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

I feel the problem here is that the view is just a few GUs wide on the left - it's not off-set, but rather squeezed.

summary: - Unity8 app scope wrongly offset on Qt 5.6
+ Unity8 scopes squeezed on Qt 5.6
Revision history for this message
Michał Sawicz (saviq) wrote :

Can you please have a look whether this is app-scope-specific, or a general issue for all scopes?

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Right, seems not just apps.

Revision history for this message
Gerry Boland (gerboland) wrote :

Log file has a lot of these messages for each scope:
<Unknown File>:7:1: QML AbstractButton: Binding loop detected for property "implicitWidth"

Revision history for this message
Albert Astals Cid (aacid) wrote :
Revision history for this message
Gerry Boland (gerboland) wrote :

I've looked into this a bit. Seems there's a change in behaviour between Qt5.5 and 5.6 in how the Flickable's contentItem->width is initially set - and this impacts the LVWPH

Try this demo Qt5.6 and LVWPH:
http://pastebin.ubuntu.com/16348569/

If you use anchors.fill, the contentItem width stays at 0. But setting width explicitly yields a correct contentItem width. I presume there's a widthChanged signal somewhere that needs to be listened to.

Gerry Boland (gerboland)
Changed in unity8 (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Albert Astals Cid (aacid)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.12+16.10.20160527-0ubuntu1

---------------
unity8 (8.12+16.10.20160527-0ubuntu1) yakkety; urgency=medium

  [ Albert Astals Cid ]
  * Activate on click for SimpleMessages (LP: #1421696)
  * Add override
  * Change the art back to the cardData value if it changes from broken
    to valid image (LP: #1533577)
  * Concierge mode generated code optimization
  * Don't use context properties but properties of the delegates
  * Listen to contentItem::widthChanged instead of
    Flickable::contentWidthChanged (LP: #1565763)
  * Make some AP code faster
  * Make tests a bit more stable
  * Make unity8 and unity8-dash handle termination signals
  * Remove workaround not needed anymore (LP: #1475643)
  * Resolve cardArtStyle on compile time
  * Set the theme earlier (LP: #1574048)

  [ Albert Astals Cid, Daniel d'Andrada ]
  * Remove DirectionalDragArea and libs/UbuntuGestures and port to SDK
    equivalents

  [ Andrea Cimitan ]
  * Hide the preview review input field when a rating is required (LP:
    #1541971)

  [ CI Train Bot ]
  * Resync trunk.

  [ Daniel d'Andrada ]
  * Fix DragHandle so it works in all directions
  * Support animated cursors
  * WindowInputMonitor - also map Qt::Key_HomePage to our home key
  * plugins/Cursor: properly register to the screen's QPlatformCursor
    when screen changes (LP: #1579742)

  [ Josh Arenson ]
  * Close the PageHeaderExtraPanel when a filter option is selected (LP:
    #1569498)
  * Wrap primaryFilter in a flickable to make it behave nicely. (LP:
    #1569492)

  [ Lukáš Tinkl ]
  * First snap decision should always be expanded, unless user decides
    otherwise (LP: #1580090, #1575045)
  * Fullscreen notification bug fixes (LP: #1583944, #1581498, #1422711)
  * Implement maximizing windows horizontally/vertically
  * Lock the session when putting the laptop into sleep (LP: #1581063)

  [ Lukáš Tinkl, Michael Terry ]
  * With a maximized window, "dragging" the panel down should restore it

  [ Michael Terry ]
  * Change some dash button colors from orange to green. (LP: #1581047)
  * Use PageHeader instead Ambiance's PageHeadStyle
  * Use new setTimeZone method to set user-friendly timezone name in the
    wizard. (LP: #1566295)

  [ Michael Zanetti ]
  * Remove the background dimming when the launcher is revealed by a
    drag (LP: #1575137)
  * reenable or drop disabled tests

 -- Michael Terry <email address hidden> Fri, 27 May 2016 13:54:44 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
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.