App crashes when using StyledItem + Ubuntu.Layouts

Bug #1567924 reported by Stefano Verzegnassi on 2016-04-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Zsombor Egri

Bug Description

This is something that I've seen often while testing Ubuntu Document Viewer on desktop.

*** Using Document Viewer:

1) Launch DocViewer
2) Open a LibreOffice presentation document
3) A sidebar with the list of slides is placed at the left of the window
4) Resize the window so that its width is less than
5) The list of slides is now visible at the bottom of the window
6) If the app hasn't crashed yet, resize the window so that: width >
7) Repeat 3, 4, 5, 6.

- What happens?
DocViewer crash.

*** Using the minimal example below:

1) Launch the .qml file
2) A blue rectangle is visible on the screen
3) On a phone: rotate the screen to landscape (from portrait)
     On a desktop: resize the window so that height > width
4) On a phone: rotate back to portrait
     On a desktop: resize the window so that width > height

 - What should happen?
The rectangle becomes yellow.

- What happens?
On the phone: the rectangle is still blue. A black surface becomes visible on the bottom. The app has crashed.
On the desktop: the app crashes.


Tested on a BQ E5, with rc-proposed (r302)
Tested on desktop, vivid+overlay, UITK version: 1.3.1872+201602271301-staging-0+1.3.1795+16.04.20160106~ubuntu15.04.1

Andrea Bernabei (faenil) wrote :

Replacing ScrollView with StyledItem yields the same result, renaming the bug title

summary: - App crashes when using ScrollView + Ubuntu.Layouts
+ App crashes when using StyledItem + Ubuntu.Layouts
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
importance: Undecided → High
importance: High → Undecided
status: New → Confirmed
Zsombor Egri (zsombi) wrote :

I see the crash happening when the conditional layouts are trying to set a property which for some reason bothers the theming implementation. The ascendant themed item lookup may be in trouble there, so it seems a theming FW bug.

Zsombor Egri (zsombi) wrote :

Does it happen with any other setup than ScrollView?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers