calculator problems with Qt 5.6

Bug #1582262 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
New
High
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I suspect this might be UITK problem so filing there too.

On xenial (ubuntu-touch/staging/ubuntu) + Qt 5.6 (https://wiki.ubuntu.com/Touch/QtTesting) I'm not seeing any numbers in calculator when typing them. There seem to be other problems too. It seems to work better with Qt 5.5 (stock xenial).

Qt 5.6 would be targeted to be used when the switch to xenial is made at some point in the future.

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

Tags: qt5.6
description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

(importance High from perspective of migrating to xenial / Qt 5.6 based images at some point)

Changed in ubuntu-calculator-app:
importance: Undecided → High
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

No change with Qt 5.6.1.

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Do you have any console output while you typing numbers?

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

Yes, each key press produces:

file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/ubuntu-calculator-app.qml:134: TypeError: Cannot call method 'config' of undefined

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

Also line 203. mathJs.config({

So I guess it can't find mathJs or something?

Before that, when starting the application there is (among else):
file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/engine/math.js:2854: TypeError: Cannot assign to read-only property "constructor"

If I comment that line out, I'll get:
file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/engine/math.js:2856: TypeError: Cannot assign to read-only property "name"

then:
file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/engine/math.js:7032: TypeError: Cannot assign to read-only property "constructor"

There are also errors like file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/ui/Screen.qml:107: TypeError: Cannot call method 'format' of undefined and file:///usr/share/click/preinstalled/com.ubuntu.calculator/2.0.233/share/qml/ubuntu-calculator-app.qml:361: TypeError: Cannot read property 'dbId' of null

on startup.

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

Likely not UITK problem anymore, all known Qt 5.6 issues fixed.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → 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.