UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lduboeuf
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 44
    • Posts 1,055
    • Groups 0

    lduboeuf

    @lduboeuf

    445
    Reputation
    581
    Profile views
    1.1k
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online
    Location France - Brittany

    lduboeuf Unfollow Follow

    Best posts made by lduboeuf

    • New contact backend story

      Hi all,
      I'm working on the new contact backend, herited from the work of @mardy .
      Full story here: https://gitlab.com/groups/ubports/development/core/-/epics/19

      Carddav integration is in progress ( Nexcloud and generic cardDav works, teaser here https://m.youtube.com/watch?v=VG6i2LLLML0 ).
      Contact to Birthday calendar done
      Some regressions on address book app fixed ( avatar, import, massive delete etc... )

      For the migration, my idea is to only migrate local default address book,
      Add a carddav integrated feature for working around the issue with custom setup and give contact manual sync first.
      We will still be able to backup the current db with some command lines, and import them via the UI.

      This is the first step before a rework of Address book app and have better sync management ( scheduled sync, etc... )

      Technical:
      The idea is to keep for now Evolution Data Server & co.
      Calendar, Alarms , 3rd party apps ? , Ayatanah Datetime, Bluez relies on it...

      Add a doemon for contact to birthday sync. ( by creating a Birthday calendar and storing birthday there )

      Integration of buteo* and friends for cardDav support.

      Still unknown: BT integration for e.g: Car kit contact list

      I would appreciate your help for making this transition as smooth as possible.

      • Address book app: better online account integration, collections management
      • BlueTooth contact sync ( not working too on Focal apprently )
      • Notifications for sync states ( we have some UI report from indicator transfer )
        ...

      At this time of writing, the "how to test" is not ready. Will edit when easier to install.

      posted in OS
      lduboeufL
      lduboeuf
    • Contact custom incoming Call/Notification sound

      Hi,
      I'm starting to implement the custom sound for incoming sound and message.

      What we need:

      A global storage path for the sounds files.
      The custom ringtone and message should be settable and read from Address book / Messaging and Dialer app.
      We could choose between default OS sounds and custom ones.

      What we have:

      QContact provides a detail "ringtone" with 3 property fields:
      FieldAudioRingtoneUrl
      FieldVideoRingtoneUrl
      FieldVibrationRingtoneUrl

      FieldAudioRingtoneUrl should be ok for the incoming call
      But what for incoming message ? I would borrow the FieldVibrationRingtoneUrl property.

      Implementation:

      We could use the standard sounds directory as specified in freedesktop : ~/.local/share/sounds

      Telephony-service approver is the service responsible for playing the sound on incoming call, we already know the "contact" there, so it can just take the custom sound path if allowed and exist, otherwise play the usual sound.
      Same should occur for incoming messaging sound, code is in another place.

      Address-book-app: creates shared components to allow editing the ringtone contact detail ( default sounds + custom ones + allow to import new )

      There will probably need app-arrmor permission rules to add.

      Any things to think more ?
      --=========OBSOLETE===============
      The below notes was for Xenial

      [EDIT]: testable ( devel only):

      sudo ubports-qa install PR_telephony-service_65
      sudo ubports-qa install PR_address-book-app_211
      reboot

      If you don't want to overwrite existing address-book-app, this can be built with clickable but you will not have custom sound preview and messaging-app and dialer-app won't benefit of the click package. just clone and run clickable --arch yourarch
      If someone can help me setup a CI click build

      Note that currently only audio call ringtone is supported and you can only import custom sounds with address book app
      Edit a contact, choose "Ringtone" in the dropdown, select a default system sound or import one.
      Try an incoming call....

      posted in OS
      lduboeufL
      lduboeuf
    • [Guide] Code completion on Qt Creator for Ubuntu.Components

      Hi,
      Just to share my experience for developping Apps with QtCreator:
      ( A rewrite from https://gist.github.com/lduboeuf/dcf22607207d5b7abc8ac966d20942ce )

      To get Ubuntu.Components recognized by QtCreator:

      • If you work on Ubuntu (16.04-18.04) :
      ## Get public Ubports key
      wget -qO - https://repo.ubports.com/pubkey.gpg | sudo apt-key add -
      
      ##add ubports repository
      sudo add-apt-repository "deb https://repo.ubports.com/ [bionic|xenial] main"
      
      ##install Ubuntu.components
      sudo apt install qml-module-ubuntu-components
      
      ##qml components should be installed in "/usr/lib/x86_64-linux-gnu/qt5/qml"
      ##set the environnement variable to profile
      echo "export QML_IMPORT_PATH=/usr/lib/x86_64-linux-gnu/qt5/qml" >> ~/.profile
      
      ##reload env or you might need to logout/login
      source ~/.profile
      
      • A more generic solution using clickable image:
      ##run container clickable
      docker run -i -t --entrypoint /bin/bash clickable/ubuntu-sdk:16.04-amd64
      
      ##in an another terminal, get the container id
      docker ps
      
      ##copy ubuntu components to local folder
      docker cp [container id]:/usr/lib/x86_64-linux-gnu/qt5/qml/ /your/local/directory
      
      ##set the environnement variable to profile
      echo "export QML_IMPORT_PATH=/your/local/directory" >> ~/.profile
      
      ##reload env or you might need to logout/login
      source ~/.profile
      
      ##stop container
      docker stop [container id]
      
      
      • Or running QtCreator in a docker container based from clickable image:

      example here: https://github.com/lduboeuf/ut-qtcreator , use branch "add module" branch for installing also some UT qml modules

      EDIT: Now clickable provide a Qtcreator IDE with clickable ide qtcreator command
      https://docs.ubports.com/en/latest/appdev/index.html#code-editor-integrations

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Get Started On Your First Ubuntu Touch App

      If anyone interested, this is also one of mine, with surely some mistakes and omissions , sorry : https://m.youtube.com/watch?v=TE-s5522v0Y

      In french: https://m.youtube.com/watch?v=lU6J01XB4pc

      posted in News
      lduboeufL
      lduboeuf
    • Test alternative pin code prompt - system settings integration

      Hi all,

      I've managed to try adding an alternate pin code prompt based on that work: http://guidopallemans.blogspot.com/2013/09/some-time-ago-i-saw-beautiful-lock.html

      As stated here: https://github.com/ubports/ubuntu-touch/issues/1940
      One of the task is to add to security system setting a toggle to select the pin code prompt:

      screenshot20220303_104224212.png

      And a demo "tester" to be familiar with this new way:

      screenshot20220303_104226696.png

      I've pushed an app click demo here: https://open-store.io/app/lockertest.ld
      download:( https://open-store.io/api/v3/apps/lockertest.ld/download/xenial/all )

      Any feedback welcome.

      ( For a demo of this pin code prompt integrated in Lomiri: https://user-images.githubusercontent.com/11663835/154673358-5c7c1cfe-f7ce-4d66-98de-e108cd4fba16.mp4 )

      source code : https://github.com/lduboeuf/utpincodetester

      posted in Design
      lduboeufL
      lduboeuf
    • RE: Ubuntu.components ? ( Developpment guidelines )

      Well, my first native app just landed on Openstore. https://open-store.io/app/ttbn.lduboeuf
      I've only used QQC2 components and imported needed svg icons from suru theme.
      I admit that as a QML beginner, it was sometimes hard to make things work and displayed correctly... color theme is still not that good.

      But i'm happy that i can now build for multi os and still use QtCreator.
      Thanks for all your examples

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: no birthdays on contacts?

      @Mystic-X hello, i'm working on it, will land hopefully soon, at least for having a birthday field on the contact app

      follow-up here: https://github.com/ubports/address-book-app/issues/5

      posted in Support
      lduboeufL
      lduboeuf
    • The Cell Broadcast story

      Hi all, trying to work on the Cell-Broadcast feature.
      I'm writing here just as a shared note...

      First step could be to implement only Emergency Alerts.

      That would need a persistent Notification if possible with a specific sound ( see https://forums.ubports.com/topic/7794/cell-broadcast-story-ui/8), a notification in the messaging indicator and a way to read it later.

      We should also have a toggle in settings to enable/disable the feature.
      I know some country are even making the option mandatory.
      Question here: Should that option be in notification category or in cellular related things ?

      As that behaviour is almost like a classic sms, i'm planning to use the current Telepathy Framework by just doing some tweaks ( define a constant sender, MessageType of ChannelTextMessageTypeNotice ).
      Define a fake Contact that have the "warning" as the avatar so that it can be recognized in the messaging-app and popups/notifications.
      We are lucky to have already the phone part, Ofono expose a Dbus interface for CellBroadcast ( not tested yet )

      The work will involve work in telepathy-ofono, telephony-service, history-service (not sure)) , system-settings, gsettings-ubuntu-touch-schemas for the alert sound ).

      telepathy-ofono: Takes inputs from ofono cellbroadcast signals ( https://github.com/ubports/ofono/blob/xenial/doc/cell-broadcast-api.txt ). Currently there are notifications for the ETWS system (EmergencyBroadcast signal) and another for all other channels (IncomingBroadcast).
      My idea here is to merge the 2 signals and send toward Telepathy a TextMessage with the sender identified as "x-ofono-cellbroadcast", the Subject as the channel topic, type of message of ChannelTextMessageTypeNotice, and the body of the alert in text property.

      telephony-service: Listen to Telepathy incoming TextMessage, when message == ChannelTextMessageTypeNotice, sender is "x-cellbroadcast-alert" , and according to Subject, we should display a notification with the corresponding sound.
      Different levels of warning are here dependent of the Subject.
      The alert is also displayed in the message indicator, and a way to open messaging app to see it again.

      history-service: Listen to Telepathy incoming TextMessage ans stores the alert as a message ( message could be of type MessageTypeInformation)

      messaging-app: The alerts are gathered into a Thread, the notification icon could be the "broadcast icon", and messages can be styled differently according to their Subject ( channel ).

      system-settings: Subscribe to channels, toggles to the different type of broadcast

      e.g on Android:
      172725142-ac6bbcf0-df5d-4abe-af46-dd59374b46c3.png

      Issue reference: The issue: https://github.com/ubports/ubuntu-touch/issues/141

      Spec IETSI: https://www.etsi.org/deliver/etsi_ts/102900_102999/102900/01.03.01_60/ts_102900v010301p.pdf
      Spec 3GPP: https://www.3gpp.org/ftp/Specs/archive/23_series/23.041/ ( last one - see 9.4.1.2.2 Message Identifier for the channel list)

      android constants: https://github.com/aosp-mirror/platform_frameworks_base/blob/c5d02da0f6553a00da6b0d833b67d3bbe87341e0/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java

      Help needed for the UX part:
      https://forums.ubports.com/topic/7794/cell-broadcast-story-ui/8

      Currenlty Xenial telepathy-ofono uses a libofono-qt version which does not include the Cellbroadcast API => See with Team

      The test procedure is written here ( see "Test" section) : https://github.com/ubports/ubuntu-touch/issues/2003

      posted in OS
      lduboeufL
      lduboeuf
    • messaging-app: Stickers feature

      hi,

      I've been working in re-enabling the Sticker feature in messaging-app (MMS).
      Here are some screenshots:

      To access it, i've decided to put the "Sticker" icon as part as the attachment panel. Before it was inserted just after the "attachment" icon, but find it a bit annoying to access it.

      screenshot20210113_182527334.png

      To create a new pack, the "+" button is on the right of the tabs

      screenshot20210113_182532145.png

      To import and delete the pack, the buttons are at the bottom-right
      To delete only one sticker, long-press on it

      screenshot20210113_184123731.png

      Any feedbacks ?

      posted in Design
      lduboeufL
      lduboeuf
    • RE: CardDav (contacts) support

      @lduboeuf said in CardDav (contacts) support:

      @gwengui said in CardDav (contacts) support:

      Hi,

      @mardy does not seem to connect to this forum anymore.

      Does anyone has any news about the new address book app and CardDav support ? It was almost there in Xenial OTA 24 before its removal.

      CardDav synchronisation would be a great feature with Focal !

      Hi,

      AFAIK no one have worked on it. I personally fixed some regressions here and there, but there is still the missing piece of contact synchronisation and i have no idea how to do that.
      Hope @mardy or someone can push it back again soon 😉

      FYI i got carddav with new backend working on my device. Still early to celebrate though and with manual config only. Lots of testing and reverse engineering to do.

      posted in OS
      lduboeufL
      lduboeuf

    Latest posts made by lduboeuf

    • RE: SMS Group

      @MV said in SMS Group:

      I was looking for this topic and i find this 'old' thread.
      Is it possible to create group for SMS? If I try to create a group, it seems that the APP consider it as an MMS group that I'm not interested in because in this case the data-connection should be activated (and anyway it doesn't work).
      Is there anyone that a feedback or the situation is the same as posted the 9 June 2020?
      Thank you in advance

      afaik group chat doesn't exist in the SMS protocol. Or i missed something.
      You can broadcast sms to several users, but the answer will be on the sender contact thread.

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Gitlab seems to work again with focal !

      @domubpkm said in Gitlab seems to work again with focal !:

      Hello.

      I noticed this morning that gitlab seems to work again with focal using morph or Sapot on my Volla 22 with the depreciated qt.. whereas it didn't work since a long time... Any explanation ?

      Just that they have modified their website to be compatible with old browsers

      posted in 20.04 Focal Fossa
      lduboeufL
      lduboeuf
    • RE: Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached

      @Martin5 said in Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached:

      @lduboeuf Yes, I checked them. They should be web.vodafone.de and they are.
      For reinstalling UT I got back to Android and installed UT from there. While on Android the mobile data worked just by activating it.
      Is there anything else to be checked?

      Should work.
      Just heard that if IMS is activated on Android, the operator may still use it, and UT does not know how to deal with it.So maybe if you can uncheck it on Android side or in the operator web site.

      posted in Fairphone 4
      lduboeufL
      lduboeuf
    • RE: Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached

      @Martin5 Have you checked the APN settings if they correspond to the ones provided by the telecom operator ?

      The default ones may not be accurate.

      posted in Fairphone 4
      lduboeufL
      lduboeuf
    • RE: Any way to push contacts to car kit?

      @wally said in Any way to push contacts to car kit?:

      My car (Subaru) asked if I wanted to import contacts after initial BT connection, and it all just worked. I was kinda shocked by how simply and successfully it went, both with Oneplus 5T and later a Oneplus Nord N10. I've never had android or iOS, this was definitely all through UT.

      All functions listed by @PhAndersson also work, as well as voice commands such as "Call Yumi" or whatever. Clearly the voice recognition is a feature of the car's OS.
      It also offers to (import/sync, I can't recal) SMS, which I haven't yet tried, but would test if that were useful to anyone.

      I have no experience with either of the BT File Transfer apps, but based on timing, they probably were never updated to 20.04 (probably because they weren't working?)

      Maybe worth a try going through any menus on your car just in case there's a way to import the way that mine did? But maybe I just got lucky with a car that happens to play well with UT.

      humm i'm surprised that it worked for you, thought it was broken since Focal.
      Or maybe just the initial import works.

      posted in Google Pixel 3a/3a XL
      lduboeufL
      lduboeuf
    • RE: Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached

      @Martin5 said in Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached:

      @kugiigi I'm sorry for providing the wrong answer yesterday. It's the same like in your picture: Activating cellular data brings the dots in the Wifi icon.
      @lduboeuf Never used that too and output of

      systemctl --user status batterysaver.service
      

      is

      Unit batterysaver.service could not be found.
      

      ok, so not an issue from that app fortunatly

      posted in Fairphone 4
      lduboeufL
      lduboeuf
    • RE: Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached

      @kugiigi said in Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached:

      @Martin5 What happens when mobile data don't work? I'm actually having an issue on mine too and turning on mobile data will just change the Wifi icon to something like it's trying to connect but never connects. However, there are times mobile data works fine. In my case, there are multiple possible causes. This is a new FP4 I transferred to from my old FP4. I also upgraded to OTA-8 before transferring. And lastly, my new FP4 has an eSim configured on Android but it's inactive in UT.

      humm, did you ever had battery-saver ?
      If so maybe the service is still running if app data hasn't been cleaned ?
      systemctl --user status batterysaver.service

      posted in Fairphone 4
      lduboeufL
      lduboeuf
    • RE: Calendar problem

      @OtaDr said in Calendar problem:

      Calendar problem

      originally did not sync .
      So I tried uninstalling and reinstalling
      Unfortunately, it can no longer be installed.
      Now tested with OTA-8

      Not sure if it is the right group ro ask.
      But i also had that kind of issue.
      iirc i had to remove the Account, reboot, recreate one,

      posted in Google Pixel 3a/3a XL
      lduboeufL
      lduboeuf
    • RE: Error: "Object.hasOwn is not a function" - due to good old Morph browser?

      @uwahl said in Error: "Object.hasOwn is not a function" - due to good old Morph browser?:

      Good evening,
      since a few days I get the error message "Object.hasOwn is not a function" when trying to open for exemple the following page:

      https://www.aerzteblatt.de/news/bundesamt-warnt-vor-sicherheitslucken-bei-wearables-06829337-3cab-4030-81a3-c846a4e1b9d7

      Is the error message due to our old Morph browser, possibly a Java-Script issue? Can I do anything to read again the linked articles...?

      Probably yes, our Browser relies on an engine that has only 4 years old, but seems enough to make some websites not usable anymore...
      The browser upgrade is the next goal after 24.04 if i'm not wrong.

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Call for testing: Ubuntu Touch 20.04 OTA-8

      @Vlad-Nirky said in Call for testing: Ubuntu Touch 20.04 OTA-8:

      @stanwood
      Yes, several times, i have tried too to restart the device.
      And after sync, the event was deleted.
      Now, every event is placed on my google calendar...

      The calendar sync is not as stable as we would like. Sometimes no issues, and sometimes it get stuck for whatever reason, and we have to remove account, reboot, recreate one.
      Hope that the upcoming contact sync framework will make it more robust.

      posted in OS
      lduboeufL
      lduboeuf