We have moved to a new Sailfish OS Forum. Please start new discussions there.
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
31

answered 2014-01-08 23:38:30 +0200

chemist gravatar image

updated 2014-10-28 14:21:52 +0200

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... this is nothing like useful at all! Call history in phone is therefor broken for good!

Merge them and show a list to dial from, ordered by last used - add settings.

After unlocking this newly introduced in 1.0.3.8 feature from Settings->Apps->Phone I had the impression that someone thought that linking the history item to the contact is a good pretty fast solution.

There is something gone completely wrong... with 1.0.3.8 you get fwd to the contact-card but still do not see which number was called from as it highlights the first number instead of the one from the history.

Unsaved numbers do open a contact-card too... well that saves the long-tap the save to contact which is missing when deactivating the quick call.

1.0.7.16 introduced the Personal/Work indication, which does not help a thing if not setup on all accounts & still nothing to actually see which number it is :/

Update: now we see Personal or Work both are nice but still I have no clue what number it is, my GF for example has 3 entries as Personal, my sister two, another friend 3 again and so on. I just changed some entries to None to see if the type shows, no, it does not.


Solution

A solution would be to leave the quick-dial-toggle as is but add the number below the contact with designated type

John Doe
  Home +1234567890

Unknown numbers should not have the fwding to a contact-card if quickdial is deactivated. For save as contact this bug is still valid

edit flag offensive delete publish link more

Comments

This is not an answer but a comment, I'd say.

naytsyrhc ( 2014-01-09 11:37:53 +0200 )edit

@naytsyrhc read the last line again... we are asked to give possible solutions as answers so people can vote on.

chemist ( 2014-01-09 11:48:41 +0200 )edit

Ok, it is kind of an answer then. I haven't thought about it that way. Sorry for my comment. I like your suggestion allthough I think there might be problems if two people have the same number. Besides that, I'd like to have it as you sugessted.

naytsyrhc ( 2014-01-09 11:54:03 +0200 )edit

@chemist: I see no fault of forwarding an unknown number to a contact card. You get the save alternative in the pulley. But I agree that the specific number, when a contact has several, should be highlighted when the contact card is shown.

Mohjive ( 2014-03-25 22:15:09 +0200 )edit
2

@Mohjive different action, why would I need a contact card opened? More intuitive would be a page showing call, sms, save, link options instead of having a normal contact-card view. The workaround with the settings is only worth anything when you can actually see the number called/calling, which you don't. Who needs several layers of people integrated in the phone app? Well keep the layers but make them somehow useful and not "adding layers" only!

chemist ( 2014-03-26 00:48:27 +0200 )edit
12

answered 2014-04-02 15:06:10 +0200

roboro gravatar image

Okay folks... this is a complete hack... but it at least provides some immediate relief if you want to be able to see numbers next to your contact names in the call-log.

I opened up /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml in an editor. Inside the 'Row' element, I edited the Labels slightly... so now I have:

Label {
        id: firstNameText
        opacity: privateNumber ? 0.5 : 1.0
        text: people.populated || remoteUid !== undefined
                  ? (!person || (person.primaryName.length === 0 && person.secondaryName.length === 0)
                         ? main.formatNumber(remoteUid)
                         : person.primaryName)
                  : ""
        color: highlighted ? Theme.highlightColor : primaryColor
        truncationMode: TruncationMode.Fade
        width: Math.min(implicitWidth, parent.width)
    }
Label {
        id: secondaryNameText
        text: people.populated && person ? person.secondaryName : ""
        color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
        truncationMode: TruncationMode.Fade
        width: Math.min(implicitWidth, parent.width - firstNameText.width)
        visible: width > 0
    }

Label {
        text: people.populated && person ? "("+main.formatNumber(remoteUid)+")": ""
        color: highlighted ? Theme.highlightColor : primaryColor
        font.pixelSize: Theme.fontSizeExtraSmall
        truncationMode: TruncationMode.Fade
        width: Math.min(implicitWidth, parent.width - firstNameText.width - secondaryNameText.width)
        visible: width > 0
    }

Its not the very best solution around... but at least it gives you something to work with for now. The glory of open-source software is that you can at least implement quick fixes like this...

I realize that this is a 'Jolla' system file... so if you mess this up, you may find that your phone doesn't work so well. So, backup that file before you muck with it. Also, you need root privileges to write to this file... so devel-su

I found that the phone required a reboot before this change became active... I'm not sure why, but maybe the voicecall-ui is preloaded or something.

This works fine for me! Hopefully it will make someone else's day.

edit flag offensive delete publish link more

Comments

Thanks for sharing. I think I'll give it a try. Could you provide a diff or something so that I can see the actual change before applying the hack myself? Sorry for asking, but I'm a bit busy at the moment and thus feel a bit "lazy" doing the diff myself ;-) Thanks i advance.

naytsyrhc ( 2014-04-02 16:51:50 +0200 )edit

can you attach a screen grab of your solution please?

coley ( 2014-04-02 17:27:24 +0200 )edit

mmmm I thought about doing this... but then that would be publicly presenting my own call log along with numbers of my contacts... I'd rather not. The code just adds the number in tiny font after the contact name... something like this: First Last (123456789) date/time

roboro ( 2014-04-02 17:57:32 +0200 )edit

naytsyrhc: I'd be glad to provide a diff... but being me, I went against my own advice and nuked the original version of the file once I had this working :D If someone can send me a copy of the original file... or point me to a version of it online, I'll do the diff for you.

roboro ( 2014-04-02 17:59:34 +0200 )edit

Ok. I did it myself. Will put it as answer here, as I was not able to format it correctly as comment...

naytsyrhc ( 2014-04-02 18:13:48 +0200 )edit
9

answered 2014-04-02 21:16:37 +0200

this post is marked as community wiki

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

updated 2014-04-11 13:58:43 +0200

roboro gravatar image

Right, I've replaced the full file with a diff that can be used to patch the original file. I've also incorporated a fix to have the number appear below the name. The diff follows:

--- CallLogItem.qml 2014-04-11 10:06:47.668188992 +0100
+++ CallLogItem-ro.qml      2014-04-11 11:43:22.981023867 +0100
@@ -38,27 +38,55 @@
         }

         spacing: Theme.paddingSmall
-
-        Label {
-            id: firstNameText
-            opacity: privateNumber ? 0.5 : 1.0
-            text: people.populated || remoteUid !== undefined
+        Item {
+            id: nameItem
+            width: parent.width
+
+            Label {
+                id: firstNameText
+                anchors {
+                    left: parent.left;
+                    verticalCenter: parent.verticalCenter
+                }
+                opacity: privateNumber ? 0.5 : 1.0
+                text: people.populated || remoteUid !== undefined
                       ? (!person || (person.primaryName.length === 0 && person.secondaryName.length === 0)
                              ? main.formatNumber(remoteUid)
-                             : person.primaryName)
+                             : person.primaryName+" ")
                       : ""
+                color: highlighted ? Theme.highlightColor : primaryColor
+                truncationMode: TruncationMode.Fade
+                width: Math.min(implicitWidth, parent.width)
+            }
+            Label {
+                id: secondaryNameText
+                anchors {
+                    left: firstNameText.right;
+                    verticalCenter: parent.verticalCenter;
+                } 
+                text: people.populated && person ? person.secondaryName : ""
+                color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
+                truncationMode: TruncationMode.Fade
+                width: Math.min(implicitWidth, parent.width - firstNameText.width)
+                visible: width > 0
+            }
+            
+            Label {
+                text: people.populated && person ? main.formatNumber(remoteUid): ""
+                anchors {
+                    left: parent.left;
+                    top: firstNameText.bottom;
+                    verticalCenter: parent.verticalCenter;
+                }
+                color: highlighted ? Theme.highlightColor : primaryColor
+                font.pixelSize: Theme.fontSizeExtraSmall
+                truncationMode: TruncationMode.Fade
+                width: Math.min(implicitWidth, parent.width)
+                visible: width > 0
+            }

-            color: highlighted ? Theme.highlightColor : primaryColor
-            truncationMode: TruncationMode.Fade
-            width: Math.min(implicitWidth, parent.width)
-        }
-        Label {
-            text: people.populated && person ? person.secondaryName : ""
-            color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
-            truncationMode: TruncationMode.Fade
-            width: Math.min(implicitWidth, parent.width - firstNameText.width)
-            visible: width > 0
         }
+
     }

     Column {

To incorporate this fix, you can copy the content of the patch above, and save it to /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.patch

Backup your original CallLogItem.qml file. I just copied it to CallLogItem.qml.orig:

cp CallLogItem.qml CallLogItem.qml.orig

Make sure you have 'patch' installed:

pkcon install patch

In /usr/share/voicecall-ui-jolla/qml/pages/calllog/ run:

patch < CallLogItem.patch

To see the change without having to reboot your phone, run the following as the nemo user:

systemctl --user restart voicecall-ui-prestart.service

Reopen your calllog and check that everything looks okay. If not... revert to the original Jolla CallLogItem.qml file.

edit flag offensive delete publish link more

Comments

sorry... formatting may be a little screwy thanks to wiki editing

roboro ( 2014-04-02 21:17:32 +0200 )edit

thanks for the script. how can i change the script so that the number displays under the name? if I have a long name in my contacts the phonenumber only shows a few numbers... and why is my callhistory emptied every day? i tried to look at the original file and there was also this "// less than 24 hours old (246060*1000)" line but my call history never emtied before... Thanks in advance

luigitheluigi ( 2014-04-09 00:13:51 +0200 )edit

Sorry luigitheluigi, I don't know... my original suggestion only changes the items in a row... so it shouldn't affect callhistory length... I think this was something implemented by Jolla. I have updated the post that you commented on to show you how to get the number to display under the name.

roboro ( 2014-04-11 14:00:40 +0200 )edit
1

Incidentally, I created a package for this patch, that can be safely installed using patchmanager. See https://openrepos.net/content/roboro/patchmanager-better-calllog

roboro ( 2014-04-11 18:24:45 +0200 )edit

i don't want to be ungratefull, but the highlight color is now kind of ugly, since it only covers the first row, while the row of the number is still the same.

any way to fix this?

velimir ( 2014-04-11 20:53:44 +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-06-11 12:52:55 +0200

velimir gravatar image

updated 2014-06-11 13:01:50 +0200

Here is a quick modification i put together (for the new update: 1.0.7.16, Saapunki). IMHO looks better this way, plus you have the number displayed too.

--- CallLogItem.qml     2014-06-11 10:57:14.643409228 +0200                                                                                              
+++ CallLogItem.qml_mod 2014-06-11 11:49:10.395167585 +0200
@@ -78,7 +78,7 @@
                 width: Math.min(implicitWidth, parent.width)
             }
             Label {
-                text: people.populated && person ? person.secondaryName : ""
+                text: people.populated && person ? " " + person.secondaryName : ""
                 color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
                 truncationMode: TruncationMode.Fade
                 width: Math.min(implicitWidth, parent.width - firstNameText.width)
@@ -104,16 +104,27 @@
             }
         }
     }
-
     Label {
+       opacity: 0.8
         anchors {
             top: description.bottom
-            right: description.right
+            left: contactNumber.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: contactNumber
+       opacity: 0.8
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: (numberDetail.length && connectionDetail.length ? " | " : "") + main.formatNumber(remoteUid)
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor
+    }
edit flag offensive delete publish link more

Comments

Thanks for this patch! Looks very good! Are you will add it to patchmanager ?

Schturman ( 2014-06-11 16:06:00 +0200 )edit

@schturman, glad you like it. I need to check how one can add something to the patchmanager, but i don't have time for it now. I will give it a shot in a few days :)

velimir ( 2014-06-11 16:37:41 +0200 )edit

Thanks. Meanwhile I can create a simple rpm package for normal users and those who don't want to use patchmanager :)

Schturman ( 2014-06-11 16:52:46 +0200 )edit

awesome, thank you :)

velimir ( 2014-06-11 17:06:01 +0200 )edit

there seems to be a patch in the repository that does this. it looks a bit different, but since it's such a minor difference i won't be uploading mine.

anyway, glad you like :)

velimir ( 2014-06-11 18:18:36 +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
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
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
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
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
Login/Signup to Answer

Question tools

Follow
40 followers

Stats

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

Seen: 12,773 times

Last updated: Apr 23 '18