Display contact number in call history

If i have contacts with several phone numbers, i can't see which number called in phone call history.

The phone call history only display contacts name and it's not possible to know the number. A single tap on the contact name make a call but i still don't know which number I’m calling. Long tap shows several options like call duration but still no phone number. Did i miss something?

Upadet (by jukey): For me it the problem is also quite heavy as it is also possible to create messages by tapping a long time to an entry in the list. I wrote several messages to fixed land line accounts…

Updated (hardcodes) Could we please get a sign from Jolla, if they even think about this feature and are willing to implement it?

update: contact number still not shown in SFOS v2.1.2.3

edit retag close delete

40

I would also propose that the phone number should be visible on calling screen and also when receiving call.

( 2013-12-27 15:33:49 +0300 )edit
13

This is necessary because different numbers may respond differently; if I call a work phone outside of office hours, the call may be diverted to a different person or an exchange - even if the person called from their personal number.

( 2013-12-28 19:10:49 +0300 )edit
7

I second that request. Sometimes you want to send a message to caller in history but if you can't see if the call was done by a normal (old) phone that doesn't support SMS, the option "Send message" doesn't make any sense. Thus it would be great to be able to distinguish between those numbers.

( 2014-01-03 12:29:05 +0300 )edit
16

I would also like to see the category and the sub-category of the phone number called. Ex. Mobile/Work or Mobile/Personal.

( 2014-01-03 12:32:51 +0300 )edit
4

I now happen to have all four entries of a single contact on my history and yes I just called the wrong number from it... went to people to figure the right one... this is nothing like useful at all! Call history in phone is therefor broken for good!

( 2014-01-08 23:36:12 +0300 )edit

Sort by » oldest newest most voted

As this seems to be unresolved (this thread still gets views and votes) and the amount of old (partially manually applicable) patches in this discussion thread appears to be confusing:

Ancelad's Voice call combined patch is a current, maintained solution for this issue (needs Patchmanager 2 for installation, which is easily installable via Storeman).

more

I don't think, this is unresolved. Yes, you can't see the number on first glance, but if you long-press on the call entry, the number of the caller is displayed above the options left of the calling duration. I don't have any patches installed that change default behavior of this. This is for Sailfish X but I remember that it had been that way on my Jolla 1 as well.

( 2018-04-22 12:06:13 +0300 )edit

Yes, but AFAIU some users want to see the called number without any further interaction:
This is provided by Voice call combined patch, among a couple of other useful functions.

( 2018-04-22 14:48:46 +0300 )edit

..

The phone call history only display contacts name and it's not possible to know the number. A single tap on the contact name make a call but i still don't know which number I’m calling. Long tap shows several options like call duration but still no phone number. Did i miss something?


Yes you do miss something: Long tap on the name shows the number and the call duration, this is already since about 6 month or 1 year the case. Selecting "open contact" you will see at the bottom the call history of all calls to this contact

more handy: settings -> Apps -> Phone, disable the "direct call or shortcut call" i don't know how is the name in english, after disabled this setting, you can tap the entry in the call history and you reach direct the contact card. At the end, all calls with number and phone type are accessible. Last option on contact card. long tap still works in the contact list.

Does this provide what you did miss?

more

@ misc11 does it help?

( 2017-10-20 12:11:07 +0300 )edit

This feature is implemented with SFOS 1.1.6.

From the release notes:

•View phone number of a contact in the call log via tap-and-hold on the call log entry.

more

6

tap and hold is not "display phone number" - as long as I need an action to see it, this questions stays open!

( 2015-06-26 18:49:02 +0300 )edit
2

@chemist If you are looking just at the title of this question, I agree that you are right. But if you read the text you will see that @Jef wrote: "...Long tap shows several options like call duration but still no phone number...". That's why I thought one could say that the feature is released.

( 2015-06-26 19:20:12 +0300 )edit
1

Please, what sense does that number in context menu make? With quickdial, better than nothing, without quickdial tap+tap is faster than long-tap! @Jef pointed out that not even a long-tap shows the number, so we got the "not even" part covered at least... close it if you need to, I open a new one asking exactly the same, just without the "not even" part (what would be the point to close this then?) and I doubt that the 300+ upvoters are satisfied by this context-menu solution.

( 2015-06-27 11:01:55 +0300 )edit

@chemist Take it easy man. I just explained why I did close the question in the first place. I don't intend to close it again since you have a different opinion. By the way I don't see "not even" anywhere in the text of this post... :)

( 2015-06-27 12:19:03 +0300 )edit

@Neo sry if I came around the wrong way, writing English to the point makes it sound harsh or even aggressive -> "but still" is for me "I looked everywhere, not even context-menu does show useful info there."

( 2015-06-27 12:39:30 +0300 )edit

Display absolute time in call history

Sorry for hijacking this thread, but here are the qml-cracks - and it is also about modifying CallLogItem.qml.

I really would like to have absolute Date/Time in callog. Its nice to know somebody called "yesterday", but sometimes (no, in general: always) I would like to know the time.

There is already #63468, but its a different approach.

The formatting parameter is in line 88, namely "TimepointRelativeCurrentDay". Is there any chance to have DD.MM.YYYY-HH:MM here? If I replace

text: { Qt.application.active, Format.formatDate(time, Formatter.TimepointRelativeCurrentDay) }

with

text: { Qt.application.active, Format.formatDate(time, "ddd dd.MM hh:mm") }

it works somehow. It apparently breaks the formatting and gives the default locale, which in my case is hh:mm DD/MM/YYYY. That does the trick - but its not nice ;)

more

Format.formatDate(model.startTime, Formatter.Timepoint) i use that

( 2015-05-18 20:36:59 +0300 )edit

but i put it into context menu, since it's more clunky

( 2015-05-18 20:37:46 +0300 )edit

I did a bit of googling and there is a formatter object in Sailfish with some options. Coderus found it in file plugins.qmltypes. It is located here: usr/lib/qt5/qml/Sailfish/Silica/plugins.qmltypes. Still would like to have "ddd dd.MM hh:mm"..

( 2015-05-19 13:44:57 +0300 )edit

velimir , Can you update your patch please ? New sys update (1.1.1.27) and new patch needed :)

Thanks

more

I manually edited file CallLogItem.qml from your patch and it work perfectly, I just don't know how to create patch file :)

( 2014-12-25 23:36:29 +0300 )edit

Ok, learned how to do this :) Here is a patch:

--- /usr/share/voicecall-ui-jolla/pages/calllog/CallLogItem.qml.orig    2014-12-07 00:49:01.000000000 +0200
+++ /usr/share/voicecall-ui-jolla/pages/calllog/CallLogItem.qml 2014-12-25 23:29:13.000000000 +0200
@@ -96,12 +96,23 @@
Label {
anchors {
top: description.bottom
-            right: description.right
+            left: phoneNumber.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: " " + numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}
+
+    Label {
+       id: phoneNumber
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: person ? CallLog.formatNumber(remoteUid) : " "
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor
+    }

Image {
id: icon

( 2014-12-25 23:47:21 +0300 )edit

hi,

the last patch worked just fine for me.. what was the problem you had actually?

( 2014-12-26 00:02:47 +0300 )edit

Here is exactly your last patch.The differences is a number of lines, that all. Sorry I didn't try to apply patch from your last post, just edited file manually and noticed that all changes works like expected.

Thanks anyway :)

P.S. Also path is changed a little from this:

/usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml


to this:

/usr/share/voicecall-ui-jolla/pages/calllog/CallLogItem.qml


QML folder not here anymore ;)

( 2014-12-26 00:12:50 +0300 )edit

aah ok. i just applied the patch on the file directly so it worked..

it's fine, no need to appologize ;)

( 2014-12-26 00:25:17 +0300 )edit

After installing update 1.1.0.38 the type of the phone number is displayed on the right column of the list. For me this solves the problem described in the initial Question. Feel free to reopen if you do not agree.

more

I do not agree as it only shows [Work,Personal,None] and not the labels of interest, is it really so hard to have the right thing shown?

( 2014-10-28 14:15:51 +0300 )edit

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.

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)

more

@baptx really useful, thank you :-)

( 2014-09-28 19:58:08 +0300 )edit

Hi, here is the new version. Code is different but you get the same result..

--- CallLogItem.qml     2014-07-15 12:13:40.301305020 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml     2014-07-15 12:12:35.131764359 +0200
@@ -110,12 +110,23 @@ ListItem {
Label {
anchors {
top: description.bottom
-            right: description.right
+            left: phoneNumber.right
}
font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: " " + numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
}
+
+    Label {
+       id: phoneNumber
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: person ? CallLog.formatNumber(remoteUid) : " "
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor
+    }

Image {
id: icon

more

Big big thanks! I'll update my package on openrepos ;)

( 2014-07-15 14:01:59 +0300 )edit

I was kind of annoyed, that numbers from non-contacts are duplicated, so i've just added to phone number to context menu (seems more elegant to me) To do that just add to /usr/share/voicecall-ui-jolla/qml/pages/CallLogPage.qml

MenuLabel {
visible: !privateNumber
height: Theme.itemSizeExtraSmall
text: "Number " + remoteUid
}


just before MenuLabel for call duration

( 2014-07-16 03:33:22 +0300 )edit
2

to avoid duplicates you should maybe add check for person:

person ? CallLog.formatNumber(remoteUid) : ""


or something like that

( 2014-07-16 03:43:18 +0300 )edit

@virgi26, yes, that was a great idea! I fixed it now :)

I didn't notice the duplicates since i don't have any in my calllog at the time.

btw: i didn't quite understand what you did with the "MenuLabel". Can you elaborate a bit more?

Thanks

( 2014-07-16 10:44:24 +0300 )edit
1

if you click and hold, then menu will appear. By default it will contain 3 items (Call, sms, delete) and a label with call duration. I've just added another label with phone number above call duration. So if you think that you don't want always to see call numbers (to my taste, it's too much info on the screen), but still want to know it, you then just click and hold to see it. It's just another alernative to what you did.

( 2014-07-16 11:15:18 +0300 )edit

velimir , after last update (1.0.8.19) your patch not work anymore. Already tried to update manually with lines from your patch, but still not work.

Can you please update it ?

Thanks

more

i was just about to see what is wrong. i just got the update and saw that it doesn't work. give me some time :)

( 2014-07-15 11:36:25 +0300 )edit

thanks, waiting...

( 2014-07-15 12:09:48 +0300 )edit

see below :)

( 2014-07-15 13:43:56 +0300 )edit

Hmm, why this version not create CallLogItem.qml.orig file when you run patch command ? Previous version did it.

( 2014-07-15 15:05:55 +0300 )edit

try patch -b?

( 2014-07-15 18:39:39 +0300 )edit

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Help! I messed up my CallLogItem.qml and lost my .orig backup (basically I only had the one before the last update). Can anyone put up the entire file for 1.0.7.16, Saapunki?

May it can help anyone else facing a similar problem.

Thanks.

more

heh, maybe update it to the new version now. it will overwrite any changes you've made.

( 2014-07-15 13:23:07 +0300 )edit
1

Perhaps a better way is add a small icon for indicate the phone type (mobile, work, etc...)?? But I think that it's a basic feature = must be implement directly by Jolla.

( 2014-09-06 18:20:50 +0300 )edit