# Revision history [back]

Thanks community for giving some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff original_file.qml.bak modified_file.qml) for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

153a154
>       re += " | " + remoteUid


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number.

116c116
<         text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
---
>         text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

58c58
<     secondText: person ? person.secondaryName : ""
---
>     secondText: person ? person.secondaryName + remoteUid : remoteUid


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Thanks community for giving sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff original_file.qml.bak modified_file.qml) for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

153a154
>       re += " | " + remoteUid


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number.

116c116
<         text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
---
>         text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

58c58
<     secondText: person ? person.secondaryName : ""
---
>     secondText: person ? person.secondaryName + remoteUid : remoteUid


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

153a154
> --- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number.

116c116
<  --- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
---
>  +        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

58c58
<  --- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
---
>  +    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number.

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number.number (remoteUid).

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history:

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number (remoteUid).

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Possible duplicate: https://together.jolla.com/question/17830/ui-display-recipientsender-phone-type-in-smscall-history-view/

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history:history (used by outgoing/running call too):

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number (remoteUid).

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Possible duplicate: https://together.jolla.com/question/17830/ui-display-recipientsender-phone-type-in-smscall-history-view/

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history (used by outgoing/running outgoing/ongoing call too):

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number (remoteUid).

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Possible duplicate: https://together.jolla.com/question/17830/ui-display-recipientsender-phone-type-in-smscall-history-view/

Thanks community for sharing some locations of Jolla's system apps, hopefully the UI is open source and in QML so you don't need to compile modifications.

I think that we need to see the phone number in SMS conversations, call history and incoming calls and not just show a contact name or indication like "Personal"/"Work"/"Other". When you have a contact with several numbers, you need to know the phone number and sometimes you don't even have an indication shown because you didn't save a number as "Personal" or "Work".

Below are the small modifications I made to display the contact phone number. I'm sharing the diffs with original files (diff -u original_file.qml.bak modified_file.qml) so you can use command "patch < patch_name.patch" for the current update 1.0.8.19 but files may change in future updates and you'll need to adapt changes. Be sure to keep a backup of modified files in the same directory like original_file.qml.bak and follow these steps only if you know what you are doing. It should not be you doing the changes but Jolla allowing you to choose what details you want to see in future updates.

For SMS conversations:

File /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml in label id "timestamp" after var re = Format.formatDate(modelData.startTime, Formatter.Timepoint).

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml.bak 2014-09-25 18:19:46.145971935 +0200
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml 2014-09-27 20:05:30.234271645 +0200
@@ -151,6 +151,7 @@
return qsTrId("messages-message_state_waiting")
} else {
var re = Format.formatDate(modelData.startTime, Formatter.Timepoint)
+       re += " | " + remoteUid
if (modelData.status === CommHistory.DeliveredStatus) {
//% "Delivered"
re += " | " + qsTrId("messages-message_state_delivered")


For call history (used by outgoing/ongoing call too):

File /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml you can replace numberDetail (it means "Personal"/"Work" indications) with the phone number (remoteUid).

--- /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml.bak 2014-09-27 15:21:25.593200743 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml 2014-09-27 16:06:27.116727246 +0200
@@ -113,7 +113,7 @@
right: description.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: person ? remoteUid : "" + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}


For incoming calls:

File /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml at the end of "secondText" information.

--- /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml.bak    2014-09-27 16:13:33.689421940 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calling/IncomingCallView.qml    2014-09-27 16:35:11.865418294 +0200
@@ -55,7 +55,7 @@
active: telephony.incomingCallerDetails ? !telephony.incomingCallerDetails.silenced : false
phoneNumber: remoteUid
firstText: person ? person.primaryName : ""
-    secondText: person ? person.secondaryName : ""
+    secondText: person ? person.secondaryName + remoteUid : remoteUid
callWaiting: (telephony.incomingCall && telephony.primaryCall) ||
(telephony.primaryCall && telephony.heldCall && telephony.primaryCall !== telephony.heldCall)
callCount: telephony.voiceCalls.count


In the future, it would be great if Jolla users can choose what they want to see without modifying source code. But I think we should be able to see the phone number by default next to each message/call in SMS conversations, call history and incoming calls.

Possible duplicate: https://together.jolla.com/question/17830/ui-display-recipientsender-phone-type-in-smscall-history-view/

Update: With SailfishOS update 10 (1.1.1.27), SMSMessageDelegate.qml has not changed so you can apply patch without problem to /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml CallLogItem.qml and IncomingCallView.qml have been moved and got some modifications but patches are still working, you can use them on /usr/share/voicecall-ui-jolla/pages/calllog/CallLogItem.qml and /usr/share/voicecall-ui-jolla/pages/calling/IncomingCallView.qml (files are not in qml folder anymore)