App crashes when using StyledItem + Ubuntu.Layouts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| ubuntu-ui-toolkit (Ubuntu) |
Undecided
|
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 units.gu(120)
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 > units.gu(120)
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+
Andrea Bernabei (faenil) wrote : | #3 |
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 : | #4 |
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 : | #5 |
Does it happen with any other setup than ScrollView?
Replacing ScrollView with StyledItem yields the same result, renaming the bug title