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

    lduboeuf

    @lduboeuf

    481
    Reputation
    601
    Profile views
    1.2k
    Posts
    5
    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: 24.04-1.2 not announced on forum?

      @WillemHexspoor said:

      @arubislander said:
      24.04-2.x

      I'm referring to 24.04-1.x 🙂

      indeed, i don't see the annoncement in forum or on Telegram news channel, but we can see the blog post:
      https://ubports.com/blog/ubports-news-1/ubuntu-touch-24-04-1-2-and-20-04-ota-12-release-3987

      posted in General
      lduboeufL
      lduboeuf
    • RE: calendar-app: call for translations

      said:

      Hello,

      With the next calendar-app release coming, a bunch of new strings are waiting to be translated, thanks for looking into it:

      https://hosted.weblate.org/projects/lomiri/lomiri-calendar-app/

      Lionel

      oops forgot to mention the forum post about it: ( arf can't paste the link here), look into category OS->Call for testing: calendar-app)

      posted in Translations
      lduboeufL
      lduboeuf
    • RE: Erreur on the hour : UTC ?

      @DJac hmm i think it is device specific, in the past there were the same issue on abother one

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Erreur on the hour : UTC ?

      @DJac said in Erreur on the hour : UTC ?:

      hello
      since I switch to UT24.04, I have an error on the hour indicate on the device interface : he give me 1h less. I have to go to the parameter menu > date & hour... and it comme back to the good time (without other manip).
      It appends 'sometimes' : i don't see the paterne.
      I suppose it is a probleme with the UTC (I am +1).

      On which device ?.
      I thought it was fixed, but apparently not

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Poor sound quality in phonecalls

      @Charly said in Poor sound quality in phonecalls:

      @Kjetil

      Hello,
      I also have the feeling that the call quality is not good. What you say would explain that.

      I have a fairly modern mobile phone, a Volla X23.

      I've been testing VoLTE for a while now. As expected, the voice quality is better. Unfortunately, Volte uses a lot of battery.

      Weird i've heard the contrary ( at least when idle but can't remember the device )

      Greetings
      Charly

      posted in Support
      lduboeufL
      lduboeuf
    • RE: unstable keyboard

      said in unstable keyboard:

      said in unstable keyboard:

      @DJac said in unstable keyboard:

      Since i switch on 24.04 (stable).
      in my daily usadge, i see that the keyboard is 'unstable' (he popout sometimes). it appends when i switch between letters/numbers, but not anytime.
      Is it a provisory probleme ? : i read that it woold be better with qt6 (? - i don't understand the details of that)

      It happens more frequently for me since 24.04, was rare on 20.04, frequent on 16.04, but it tends to happen less with the current build. This is something related to the prediction engine ( the thing that give some suggestions when typing ), i've tried to dig it a bit, but i'm afraid it is too low level for me, and giving the fact that it is random, very hard to tackle.

      For the record...: https://github.com/ubports/ubuntu-touch/issues/1244

      oh, maybe found something:
      https://gitlab.com/ubports/development/core/lomiri-keyboard/-/merge_requests/243

      posted in Support
      lduboeufL
      lduboeuf
    • RE: unstable keyboard

      said in unstable keyboard:

      @DJac said in unstable keyboard:

      Since i switch on 24.04 (stable).
      in my daily usadge, i see that the keyboard is 'unstable' (he popout sometimes). it appends when i switch between letters/numbers, but not anytime.
      Is it a provisory probleme ? : i read that it woold be better with qt6 (? - i don't understand the details of that)

      It happens more frequently for me since 24.04, was rare on 20.04, frequent on 16.04, but it tends to happen less with the current build. This is something related to the prediction engine ( the thing that give some suggestions when typing ), i've tried to dig it a bit, but i'm afraid it is too low level for me, and giving the fact that it is random, very hard to tackle.

      For the record...: https://github.com/ubports/ubuntu-touch/issues/1244

      posted in Support
      lduboeufL
      lduboeuf
    • RE: unstable keyboard

      @DJac said in unstable keyboard:

      Since i switch on 24.04 (stable).
      in my daily usadge, i see that the keyboard is 'unstable' (he popout sometimes). it appends when i switch between letters/numbers, but not anytime.
      Is it a provisory probleme ? : i read that it woold be better with qt6 (? - i don't understand the details of that)

      It happens more frequently for me since 24.04, was rare on 20.04, frequent on 16.04, but it tends to happen less with the current build. This is something related to the prediction engine ( the thing that give some suggestions when typing ), i've tried to dig it a bit, but i'm afraid it is too low level for me, and giving the fact that it is random, very hard to tackle.

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Call for testing: calendar-app

      @projectmoon said in Call for testing: calendar-app:

      @lduboeuf said in Call for testing: calendar-app:

      @projectmoon said in Call for testing: calendar-app:

      @lduboeuf So unfortunately, calendar sync is still broken. The calendar that was syncing (connection to Nextcloud via generic caldav instead of built-in Nextcloud integration) is no longer syncing. Only thing I see in Evolution logs is something about i_cal_time_compare < 0 failed.

      I turned the Nextcloud integration itself back on for Calendar, and that synced fine... But I don't know if it will sync more later.

      Sorry, i don't understand, you mean it works or not 🙂 ? Please also precise on which OS version are you .
      The sync can be sometimes unstable ( and it always has been). It is sometimes needed to recreate all accounts ( remove them all, reboot, recreate them)

      Stable 1.2, and the accounts were previously already cleared and removed from Evolution. Re-re-(re?)-creating the accounts shouldn't be necessary, I would hope.

      What I mean is that the Generic CalDAV Account seemed to stop syncing. But when I re-enabled the Nextcloud Account, that synced fine. I have two Online Accounts set up on the phone. Both point to my Nextcloud instance. Just one is the "proper" Nextcloud Online Account and the other is Generic CalDAV.

      Yes, there are reports where sometimes it happens and we don't know what is happening. Only by removing the account, then rebooting, then re-creating it fixed the issue. The new backend is more stable regarding that, but not here yet.

      posted in OS
      lduboeufL
      lduboeuf
    • RE: Call for testing: calendar-app

      Also, before release, there is a need for translations update :
      https://forums.ubports.com/topic/12008/calendar-app-call-for-translations

      posted in OS
      lduboeufL
      lduboeuf