Id and objectName properties of QML Item/Objects should be in sync

Bug #1416068 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
Low
Stefano Verzegnassi

Bug Description

In "ubuntu-docviewer-app.qml" we have the following properties for MainView:

MainView {
    id: mainView
    objectName: "docviewer"
...
}

DESIRED SOLUTION:
According to [1], the id and objectName properties should be the same value. Use "mainView" or "root" instead.
Also, we need to check if this happens in all the QML files.

[1]: https://qt.gitorious.org/qt-components/pages/CodingStyle#toc_10

Related branches

summary: - Id and objectName properties of QML Item/Objects should be consistent
+ Id and objectName properties of QML Item/Objects should be in sync
Changed in ubuntu-docviewer-app:
assignee: nobody → Stefano Verzegnassi (verzegnassi-stefano)
status: Triaged → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-docviewer-app at revision 62, scheduled for release in ubuntu-docviewer-app, milestone 2014-10-30

Changed in ubuntu-docviewer-app:
status: In Progress → Fix Committed
Changed in ubuntu-docviewer-app:
status: Fix Committed → 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.