[Calculator app] Calculator locks while scrolling

Bug #1217876 reported by David Planella
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
Fix Released
Critical
Gustavo Pichorim Boiko

Bug Description

Testing the calculator on a device, when there are a few previously saved calculations, scrolling up completely locks the app: that is, it stays frozen and it does not take any kind of input. Only a restart gets the app back up and running

Steps to reproduce:

- Start the app, do 3 calculations, tearing each one to save them.
- Close and restart the app
- Try to swipe up to the previous calculations
- The app locks and does not take any input

Tags: avengers

Related branches

David Planella (dpm)
Changed in ubuntu-calculator-app:
status: New → Triaged
importance: Undecided → Critical
milestone: none → coreapps-13.10-beta
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Steps to reproduce on PC:

- Start the app, do 3 calculations, tearing each one to save them.
- Close and restart the app
- Scroll up and down very fast with mouse wheel
- The app locks and does not take any input

Changed in ubuntu-calculator-app:
status: Triaged → In Progress
assignee: nobody → Riccardo Padovani (rpadovani)
summary: - Calculator locks while scrolling
+ [Calculator app] Calculator locks while scrolling
Changed in ubuntu-calculator-app:
status: In Progress → Triaged
Changed in ubuntu-calculator-app:
assignee: Riccardo Padovani (rpadovani) → nobody
Changed in ubuntu-calculator-app:
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

I did some investigation on this, and I found something: if I increase the cacheBuffer size of the ListView (to have more delegates created in the background), the freezing does not happen.

So it is either something inside the Screen.qml object creation that is causing the problem, or the fact that the Screen delegate is too complex to be created on time while scrolling. This needs more investigation.

David Planella (dpm)
tags: added: avengers
Revision history for this message
Max Brustkern (nuclearbob) wrote :

I'm not sure if I have this bug or a similar bug. When I try swiping up repeatedly and jamming the other buttons while doing so, I can make the app freeze or crash pretty often. I don't have an exact recreate, though.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 160, scheduled for release in ubuntu-calculator-app, milestone alpha-1

Changed in ubuntu-calculator-app:
status: Triaged → Fix Committed
Revision history for this message
Max Brustkern (nuclearbob) wrote :

This seems fixed on a maguro running image 99.

David Planella (dpm)
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.