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

    lduboeuf

    @lduboeuf

    451
    Reputation
    582
    Profile views
    1.1k
    Posts
    2
    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: 20.04 Focal: uNav freezes with GPS enabled

      @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

      @lduboeuf Yes, he said it's working for him under noble. But It think he's using a Fairphone 4 or 5.
      I don't think it's a device issue because there are multiple affected devices and under these, there are Mediatek and Qualcomm chipsets.
      But, like @haagch said, it would be nice to know, how to debug this issue to help get this annoying bug fixed.

      Just tested on Noble, FP4 with Unav and i have the freeze issue.
      @AppLee do you confirm it is working for you on FP5 ?

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: 20.04 Focal: uNav freezes with GPS enabled

      @haagch said in 20.04 Focal: uNav freezes with GPS enabled:

      Also happens on Volla Quintus with Morph, unav, etc, on latest 20.04 OTA-9. To reproduce in morph you can go to maps.google.com, tap the location thing once, once it got your location, tap it again. The entire UI freezes, including the tab chooser thing. Freezing a whole browser with multiple tabs is kind of annoying.

      Since this seems to have been broken for more than 2 years now.

      • Is there any phone where it actually works without freezing?
      • Any info on how this can be debugged? On desktop linux I'd start by starting the app with strace and see what call it freezes on. Can that be done on ubuntu touch too?

      If i'm not wrong @AppLee in the Q&A said that he uses uNav, pureMaps without issue. Does it mean that is is a device issue ? ( i do have the issue too on P3a since Focal)

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: How can I have Vietnamese keyboard?

      @Ian said in How can I have Vietnamese keyboard?:

      @AnhVu Facinsting. If you drag from the left of thre screen and open 'settings' then click on 'language and text' and then on 'keyboard layouts' you get a restricted list of possible keyboards.

      If you pull down from the top of the screen, scroll across and select 'keyboard' and then click on 'keyboard settings' you get a much BIGGER list of keyboards.

      Try that and let us know how you got on.

      ah i always confused with that, the list from the top is for hardware keyboards iirc, whereas the one you reached from "keyboard layouts'" is for the On screen keyboard. So if i'm not wrong there is no Vietnamese OSK

      posted in Support
      lduboeufL
      lduboeuf
    • RE: How can I have Vietnamese keyboard?

      @HarryBass said in How can I have Vietnamese keyboard?:

      Can not confirm that. When choosing the keyboard layout on top of the main screen you have to scroll all the long way down to find Vietnamese, which in this order is one of the last opportunities in that row being offered.

      ah so maybe my setup, but can't find the plugin though

      posted in Support
      lduboeufL
      lduboeuf
    • RE: How can I have Vietnamese keyboard?

      @AnhVu said in How can I have Vietnamese keyboard?:

      Hello UBports team. I love Ubuntu phone when it's first release at 2013 and I have own one finally now.

      So I wants to ask for how to setup Vietnamese keyboard to use on phone? I try to search but nowhere can found tutorial. But yes, I can use waydroid and install Gboard to use android app.. But I wants to use native keyboard on Ubuntu-touch

      Sorry for my English not best.

      Unfortunatly there is no Vietnameese keyboard layout afaik. If you are a developer you could add one ?:
      https://gitlab.com/ubports/development/core/lomiri-keyboard/-/tree/main/plugins

      posted in Support
      lduboeufL
      lduboeuf
    • RE: https://flohmarkt.social doesn't work, probably as of old Chromium ?

      Yes, Morph is relying on an obsolete browser...
      New Morph upgrade is the next goal, but involves lots of work, we will need to wait.

      Meanwhile have you tried Mimi browser ?

      posted in Support
      lduboeufL
      lduboeuf
    • RE: I have a problem with clickable to compile for Noble.

      is your clickable and docker images up to date ?

      Maybe some old 20.04 builds there ? i had sometimes to clean the build and .clickable directory to ensure we are ok.

      posted in App Development
      lduboeufL
      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