Ask / Submit
408

Display contact number in call history

asked 2013-12-25 17:17:17 +0200

Jef gravatar image

updated 2017-10-19 20:17:04 +0200

misc11 gravatar image

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 flag offensive close delete

Comments

40

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

Kreso ( 2013-12-27 15:33:49 +0200 )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.

jsiren ( 2013-12-28 19:10:49 +0200 )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.

naytsyrhc ( 2014-01-03 12:29:05 +0200 )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.

plipp ( 2014-01-03 12:32:51 +0200 )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!

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

14 Answers

Sort by » oldest newest most voted
1

answered 2018-04-22 03:59:33 +0200

olf gravatar image

updated 2018-04-23 16:41:32 +0200

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).

edit flag offensive delete publish link more

Comments

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.

Amboss ( 2018-04-22 12:06:13 +0200 )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.

olf ( 2018-04-22 14:48:46 +0200 )edit
2

answered 2017-10-19 20:55:34 +0200

poddl gravatar image

updated 2017-10-19 20:57:10 +0200

..

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?

edit flag offensive delete publish link more

Comments

@ misc11 does it help?

poddl ( 2017-10-20 12:11:07 +0200 )edit
2

answered 2015-06-26 17:50:07 +0200

Neo gravatar image

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.

edit flag offensive delete publish link more

Comments

6

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

chemist ( 2015-06-26 18:49:02 +0200 )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.

Neo ( 2015-06-26 19:20:12 +0200 )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.

chemist ( 2015-06-27 11:01:55 +0200 )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... :)

Neo ( 2015-06-27 12:19:03 +0200 )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."

chemist ( 2015-06-27 12:39:30 +0200 )edit
3

answered 2015-05-18 19:06:59 +0200

femtopeta gravatar image

updated 2015-05-18 20:38:36 +0200

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 ;)

(edit: bad hack solution)

edit flag offensive delete publish link more

Comments

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

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

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

virgi26 ( 2015-05-18 20:37:46 +0200 )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"..

femtopeta ( 2015-05-19 13:44:57 +0200 )edit
1

answered 2014-12-25 21:11:02 +0200

Schturman gravatar image

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

Thanks

edit flag offensive delete publish link more

Comments

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

Schturman ( 2014-12-25 23:36:29 +0200 )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
Schturman ( 2014-12-25 23:47:21 +0200 )edit

hi,

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

velimir ( 2014-12-26 00:02:47 +0200 )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 ;)

Schturman ( 2014-12-26 00:12:50 +0200 )edit

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

it's fine, no need to appologize ;)

velimir ( 2014-12-26 00:25:17 +0200 )edit
0

answered 2014-10-28 14:10:08 +0200

jukey gravatar image

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.

edit flag offensive delete publish link more

Comments

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?

chemist ( 2014-10-28 14:15:51 +0200 )edit
5

answered 2014-09-27 22:15:00 +0200

baptx gravatar image

updated 2015-01-11 22:40:51 +0200

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)

edit flag offensive delete publish link more

Comments

@baptx really useful, thank you :-)

ced117 ( 2014-09-28 19:58:08 +0200 )edit
3

answered 2014-07-15 13:22:20 +0200

velimir gravatar image

updated 2014-07-16 10:42:39 +0200

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
edit flag offensive delete publish link more

Comments

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

Schturman ( 2014-07-15 14:01:59 +0200 )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
                        verticalOffset: Theme.paddingSmall
                        height: Theme.itemSizeExtraSmall
                        text: "Number " + remoteUid
                    }

just before MenuLabel for call duration

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

to avoid duplicates you should maybe add check for person:

person ? CallLog.formatNumber(remoteUid) : ""

or something like that

virgi26 ( 2014-07-16 03:43:18 +0200 )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

velimir ( 2014-07-16 10:44:24 +0200 )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.

virgi26 ( 2014-07-16 11:15:18 +0200 )edit
0

answered 2014-07-14 23:14:46 +0200

Schturman gravatar image

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

edit flag offensive delete publish link more

Comments

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 :)

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

thanks, waiting...

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

see below :)

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

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

Schturman ( 2014-07-15 15:05:55 +0200 )edit

try patch -b?

velimir ( 2014-07-15 18:39:39 +0200 )edit
0

answered 2014-07-04 23:19:18 +0200

this post is marked as community wiki

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

updated 2014-07-04 23:19:18 +0200

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.

edit flag offensive delete publish link more

Comments

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

velimir ( 2014-07-15 13:23:07 +0200 )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.

M1CK431 ( 2014-09-06 18:20:50 +0200 )edit
Login/Signup to Answer

Question tools

Follow
41 followers

Stats

Asked: 2013-12-25 17:17:17 +0200

Seen: 7,726 times

Last updated: Apr 23 '18