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

    lduboeuf

    @lduboeuf

    508
    Reputation
    606
    Profile views
    1.2k
    Posts
    4
    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
    • RE: New contact backend story

      Hello all,

      It has been decided to postpone the new contact backend to 26.04.x to avoid slowing down the overall roadmap.
      We will try to move also at that time to the new calendar backend.. 2 major internal changes in a row.

      I keep you informed.

      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
    • RE: New contact backend story

      Updates 2026-04-21

      On 24.04.2.x, we are able to install the new backend for testing!

      This is a bit early in the process, but got my address book, and contacts from Nextcloud working.
      The first shot is only for address-book-app and carddav ( google will wait :)), others components are still in WIP.
      We had to wait for the big pending work of synchronizing from debian and ubuntu touch for some components.

      The next goal is to ship it in the 24.04.2.x image so that it is more widely and easily tested.
      I will make an announcement hopefully soon-ish.

      The issue board is here before it will land in 24.04.2.x:
      https://gitlab.com/groups/ubports/development/-/boards/10037857?label_name[]=Topic%3A+qtcontacts-sqlite

      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

    Latest posts made by lduboeuf

    • RE: Looking for Testers: Ubuntu Touch 26.04-1.x (Early version)

      @kugiigi said:

      @lduboeuf Do we have the new contacts backend and syncing in 26.04?

      Yes + new calendar backend.
      But not easy to test for now, it needs a bunch of ubports-qa + apt install

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Bug: data mobile interface looses ip

      did you reported the issue to the porter ?.
      i personaly have some issues on FP4 regrding network too:
      e.g Noticed that QNetworkConfigurationManager

      @kugiigi said in Looking for Testers: Ubuntu Touch 26.04-1.x (Early version):

      @lduboeuf Do we have the new contacts backend and syncing in 26.04?

      Yes new contact + calendar backend.
      Not easily testable though for now, it need a bunch of ubports-qa and apt install...

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Bug: data mobile interface looses ip

      Have you filed a bug somewhere ?

      Notice issues with F

      @kugiigi said in Looking for Testers: Ubuntu Touch 26.04-1.x (Early version):

      @lduboeuf Do we have the new contacts backend and syncing in 26.04?

      Yes all seems to work.
      Not easily testable though since it needs some ubports-qa + apt installs for now

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Looking for Testers: Ubuntu Touch 26.04-1.x (Early version)

      very good experience btw, on FP5, i have caldav + cardav working with new PIM backends, not tested with SIM yet

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Looking for Testers: Ubuntu Touch 26.04-1.x (Early version)

      @Vlad-Nirky said:

      @mariogrip
      Hello Marius.
      As the NP1 doesn’t have a fingerprint reader, I’d like to temporarily disable the login password.
      I’ve tried everything in Settings/Security/Lock & Unlock
      to change how the device is unlocked or to change the password, but nothing works.
      Is it the same for you?
      The UI returns wrong passphrase...
      Even change password doesn't work.

      confirmed for me as well ( FP5)

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Looking for Testers: Ubuntu Touch 26.04-1.x (Early version)

      @gpatel-fr
      Sapot browser works on 26.04

      posted in OS
      lduboeufL
      lduboeuf
    • RE: MMS issue with the lomiri messaging app

      @laaglu
      Are you on 24.04.2.x daily ? because 24.04.4 LTS doesn't exist on UT.
      Also which device ?

      Never heard of such issue. Or maybe with volTE or if you set on Android previously RCS message, the provider think you are still with this setting ?

      posted in Support
      lduboeufL
      lduboeuf
    • RE: MMS issue with the lomiri messaging app

      @laaglu said:

      Hello,

      I am having a problem with the lomiri messaging app (Ubuntu 24.04.4 LTS / lomiri-messaging-app 2.0.1+0~20250905202428.1+ubports24.04.1~1.gbp83639a) on a fairphone 5. SMS work fine, but
      I tried sending a MMS with 4 pictures to a contact. The message did not go through (wheel icon spinning indefinitely). Now all subsequent SMS to the same contact also display the wheel icon spinning indefinitely (the pipepline in clogged). Other SMS to other contacts work fine.

      How can I reset the pipeline / cache or whatever data is stuck so that I can resume sending regular SMS to my contact ?
      Many thanks
      Lukas

      Some logs may help. You said that SMS to that contact worked before sending MMS ?
      Sounds weird. Last work around, is like @gpatel-fr said, removing the Thread or the individual message that can cause issue.

      posted in Support
      lduboeufL
      lduboeuf
    • RE: New contact backend story

      Hello all,

      It has been decided to postpone the new contact backend to 26.04.x to avoid slowing down the overall roadmap.
      We will try to move also at that time to the new calendar backend.. 2 major internal changes in a row.

      I keep you informed.

      posted in OS
      lduboeufL
      lduboeuf
    • RE: How to add a new kind of account into Accounts?

      @CiberSheep said:

      I think I didn't explain myself correctly XD
      I was thinking in adding a new service Provider that is not in the system.

      Maybe here:
      https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s

      ah, ok, apparently notes app is the only app that install providers, services etc... We know that it doesn't work anymore, but that gives the idea :

      https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/src/account-plugin/data/providers/evernote.provider.in?ref_type=heads

      The provider and service are stored under ~/.local/share/accounts, it is done by the click hook that we can see here:
      https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L14

      For an app to declare the usage of a service, it has to be declared like this : https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/notes.ubports_notes.application?ref_type=heads

      Hope that helps

      posted in App Development
      lduboeufL
      lduboeuf