undefined reference to mainView breaks many usage cases

Bug #1183456 reported by Bill Filler
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phone-app
Fix Released
High
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Raring
Won't Fix
Undecided
Unassigned

Bug Description

Build 133
Galaxy Nexus

Happens before and after apt-get update/upgrade. These versions are on the system:
phone-app: 0.59.10-0ubuntu2
qtdeclarative5-ubuntu-ui-toolkit-plugin: 0.1.46daily13.05.23.2ubuntu.unity.next-0ubuntu1

Steps to reproduce:
- Open phone-app
- Go to contacts tab
- Select a contact that has a phone number
- Click on the phone number from the contact detail view

Expected Results:
- Dialer view should be shown with the phone number populated

Actual Results:
- Nothing happens, get this error:
file:///usr/share/phone-app/DetailViewContact/ContactDetails.qml:251: ReferenceError: mainView is not defined

Another case broken by this error:
- Try to text someone from the conversation view
- type in message and press send button
- nothing happens, message is not sent
- message only gets sent if press enter key from keyboard

Tags: iso-testing

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :

Similar error if try to click on a phone number from the conversations view:
file:///usr/share/phone-app/DetailViewCommunication/CommunicationView.qml:182: ReferenceError: mainView is not defined

Changed in phone-app:
milestone: none → ubuntu-13.05
importance: Undecided → High
Revision history for this message
Bill Filler (bfiller) wrote :

Third error related:
- Make a phone call
- Hang up phone call
- Active call screen won't go away because of this error:
file:///usr/share/phone-app/DetailViewLiveCall/LiveCall.qml:62: ReferenceError: mainView is not defined

Revision history for this message
Florian Boucault (fboucault) wrote :

Culprit is ubuntu-ui-toolkit revision 501: change in modules/Ubuntu/Components/PageWrapperUtils.js

Revision history for this message
Florian Boucault (fboucault) wrote :

Fix is ready, happroved and landing now.

Changed in phone-app:
status: New → In Progress
assignee: nobody → Tim Peeters (tpeeters)
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1183456

tags: added: iso-testing
description: updated
Bill Filler (bfiller)
Changed in phone-app:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (23.9 KiB)

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46daily13.06.05.1-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46daily13.06.05.1-0ubuntu1) saucy; urgency=low

  [ Zoltán Balogh ]
  * update the example app for the latest UI Toolkit.
  * A simple app to check few locales.
  * Add qttools5-dev-tools to build dependencies to provide
    qhelpgenerator for creating QtC help files from documentation.
  * Build documentation and publish the qch file.
  * Offer symlinks for qmlscene via 'qmlrunner' package. See package
    description for usage instructions. (LP: #1155634). (LP: #1155634)

  [ Loïc Molinari ]
  * [UbuntuShape] Correctly stored the current material. (LP: #1132771)
  * [UbuntuShape] Ensured the texture is available in updatePaintNode().
    (LP: #1171437)

  [ Kaleo ]
  * QML_IMPORT_PATH is deprecated for QtQuick 2.0. Switch to
    QML2_IMPORT_PATH.
  * Added syntax description for CHANGES file in CHANGES.syntax.
  * UCScalingImageProvider: respect 'requestedSize' parameter. That
    ensures that the 'sourceSize' property of Image is respected even
    when the toolkit automatically scales the asset for the device. (LP:
    #1130120)
  * Added documentation for bitmap suffixes in the resolution
    independence page. (LP: #1092051)
  * Revamped component showcase now called 'Ubuntu UI Toolkit Gallery'.
    Works on Ubuntu Touch. (LP: #1130603)
  * Benchmarks for time critical components.
  * Added ListItem.ValueSelector example. Fixed incorrect 'Multi value'
    label. (LP: #1172663)
  * Toolkit Gallery: added examples for Sheets.
  * Automatic rotation of applications depending on the device
    orientation. For applications that are using MainView, they opt-in
    by setting 'automaticOrientation' to true. New component
    OrientationHelper for applications that do not use MainView but
    still need an easy way to automatically rotate.
  * UbuntuShape: fix slight distortion of image when set. This
    distortion was quite disturbing when the content has text in it, as
    it is often the case in Popups and Popovers. (LP: #1170878)
  * Use standard animation ubuntu snap beat for popups fade in.
  * Removed unnecessary clipping from Tabs, Popover, Dialog and
    MainView.
  * All ListItems: set default contents right and left margins to 2 gu.
    ListItems Base, Standard and ValueSelector: deprecated private
    properties __leftIconMargin and __rightIconMargin IconVisual
    (private): removed properties leftIconMargin and rightIconMargin
    Standard: removed ugly progression highlight background when there
    is no split.
  * ListItems: constrain size of the icon by default. Deprecated private
    properties __iconWidth and __iconHeight.
  * Ubuntu UI Toolkit Gallery tweaks: - Made window wider and left
    column the width of the phone: 40gu. - Removed 'slider.' from Slider
    example's labels. - Renamed 'Switches' into 'Toggles'. Renamed
    'Progress Bars' into 'Progress and activity'. - Use resolution
    independence for navigation example screenshots.
  * Support source with quotes in .sci files. (LP: #1080719)
  * Reverted unjustified changes to ubuntu-ui-toolkit-gallery.desktop.
  * Popover: simplified com...

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in phone-app:
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

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