Patch: Settings for Messages layout

Your rating: None Average: 4.7 (27 votes)

Adds features to Messages app:

  • option to show/hide bubbles
  • settings for bubble opacity
  • option for press and hold to send message
  • shows cover action also on single message cover
  • shows an additional cover action in single message view to go back to main page
  • option to display contact avatar as the conversation background (thanks Niccco following Coderus's patch) (Yet to be implemented in 3.1.0)
  • option to swap sides of sent and received messages; i.e. to have received messages on the left and the sent ones on the right (dropped in 3.1.0)
  • option to have date and time for IMs which sets alignments just like SMSes (dropped in 3.1.0)
  • option for context-aware text alignment in message bubbles (dropped in 3.1.0)


Help translate into your language!
Currently available in Chinese (China), Czech, Dutch, Dutch (Belgium), English, Finnish, French, German, Hungarian, Italian, Polish, Russian, Slovenian, Spanish, Swedish. Thanks translation team!

After applying the patch, restart Settings app and go to Settings > Apps > Messages.

Requires patchamanger

Thanks @Dax89, I used SailorGram revese color function for link color.
Source on GitHub.
Donations are welcome ;)

PayPal - The safer, easier way to pay online!



  • Fixed text input menu button behavior – old unseen bug :) (thanks to atlochowski)
  • SFOS compatibility update + dropping obsolete features

3.0.0-4: Updated Dutch, Slovenian, Spanish, Finnish, Polish + added Chinese (China) **Happy New Year**


  • Updated for SFOS 3
  • Added an option to display contact avatar in the conversation background
  • Updated colors to support light themes
  • Options now under an extending section

2.2.0-2: SFOS compatibility update + Solved compatibility issue with patchmanager 3

2.1.4-10: Added a cover action to single message view to go back to main page + Updated translations


  • Added option to use context-aware text alignment in message bubbles
  • Single message cover fixed, showing more lines
  • Updated translations, added Slovenian

2.1.4-4 - Layout settings now available in Flight Mode or with No SIM card


  • Update version numbers based on SFOS version
  • Bubble opacity now affects cover as well
  • Updated translations, added Dutch, Hungarian

0.7-1: Updated for SFOS 2.1.3 (Only due to two spaces, it's just unfair!)

0.6-1: Updated for SFOS 2.1.2
Updated for SFOS 2.1.0

0.4-1: Show cover action also on single message cover


  • Solved conflict with SFOS 2.0.5
  • Updated translations: Italian, Russian


  • Updated for SFOS 2.0.2
  • Added option to press and hold to send
  • Added option for bubble opacity


  • Updated bubble colors to make it consistent with SailorGram (white for inbound and theme highlight for outbound)
  • Added bubble pointers
  • Requires SFOS 2.0.1 (due to icons for bubble pointers)


  • Bug fixes: bubble link color, retry icon color, increased vertical padding between bubbles
  • Added translations: Czech, Swedish, French, Spanish, Russian, German, Polish, Italian, Finnish


gaelic's picture

Unfortunately qml changed again with 2.1.3 :(

alina's picture

Oh, it's a real pain!

vpp612's picture

I agree, but is it possible to get an update again, because this patch is the most useful I've seen during my time of Jolla/SFOS user. Thanks a lot!

olf's picture


olf's picture

Thanks for v0.6-1, which applies fine under SailfishOS

R1v3r's picture

Works also on Jolla C now, when I found out that update does not found, but it had to "upgrade"

alina's picture

Every version of the patch has a least SFOS version requirement to avoid compatibility issues; i.e. two devices with different SFOS versions can enjoy the same patch using different versions of the patch.

rdomschk's picture

Nice patch - Thank You

Could you update this for because it is not possible to activate it now. I think some qml files under /usr/share/jolla-messages/ are changed. Thanks a lot

olf's picture

+1: Please update this nice and useful Patch to apply under SFOS

olf's picture

All features of this Patch advertised here are working well and constitute a significant enhancement of the Jolla Messages app look & feel.  Kudos to you, Alina, for this effort. 

But in the description of your Patch "Remove white background from Messages cover" you state, "Merged in Settings for Messages Layout patch to enable text background consistently on cover and inside.", but with the recent version of "Settings for Messages layout" (v0.5-1) installed on my Jolla 1 phone under SFOS, the white background is removed in the Messages app, but *not* on its cover, and I am unable to find the a setting for disabling the white background of the messages on the Messages app cover in Settings --> Apps --> Messages.

Actually a setting is not needed IMHO, the white background should just be consistently removed in the Messages app and on its cover.
So can you please reactivate (or adapt) the code from "Remove white background from Messages cover" in "Settings for Message ms layout", again.  Or am I missing something or doing something wrong?


alina's picture

As you say, a separate setting entry isn't needed and the patch should work as you expect; i.e. remove white background both in app and on cover by disabling text bubbles in settings. I will check the code again as it works well in my Jolla.

olf's picture

> > [...] Or am I missing something or doing something wrong?
> [...] the patch should work as you expect; i.e. remove white background both in app and on cover by disabling text bubbles in settings.
It does.

Sorry, this turned out to be a minor usability issue (but not a technical one), as I perceive the explanation "Increases message legibility showing rectangular backgrounds" of the setting "Text bubbles" somewhat hard to comprehend. Maybe "Increase readability of message text by highlighted background" is easier to understand.

But, while one can disable the "Text bubbles" (and this is, what I wanted: Thanks!), having it enabled does not seem to work properly:

  • There are no "Text bubbles" in the Messages app, only on its cover.
  • Altering the "Opacity" slider does not seem to change the opacity of the message text background.

Thanks for your help.

alina's picture

Your efforts and suggestions are much appreciated. About your last two points:

  • The bubbles are shown in conversations not in the main page. I can work on it to add them also to the main page.
  • The opacity affects again only the conversations not the cover. I should add this too.
olf's picture

Well, I am happy since you pointed out how to switch the the white background off.
So my primary suggestion is still to enhance the description of "Text bubbles" to "Increase readability of message text by highlighted background" or so, no matter if you are going to change anything technical or not.

IMHO the two technical enhancements you are considering would add consistency WRT look & feel, in line with your old statement (for the predecessor patch): "Merged in Settings for Messages Layout patch to enable text background *consistently* on cover *and* inside."

Alternatively (and with much less effort) you may change nothing technically, but also change the text string "Bubble opacity" to "Bubble opacity in conversations".
Although I have to admit that applying the text bubbles and their opacity setting consistently (cover, received list, conversations) sounds appealing (but personally I still prefer the look without them).

Anyway (regardless of how you decide to proceed), this Patch already is an extremely valuable enhancement of the look & feel of Jolla's Messages app. Thanks!

P.S. / Side note: IIRC the "Opacity" slider's default setting was "100%" (I am not sure though, as I played with this setting numerous times), which results in a harsh, very white look of the text bubble background.
IMO a value of 80% looks a bit softer and hence nicer, so that would be a more suitable default.

giskard's picture

Is it possible to add this patch to the web catalog of Patchmanager 2.0?

gaelic's picture

Short notice: failed to install in 2.0.5 preview.

alina's picture

Thanks for the report! Please update to the latest release! The single message cover is now translated making conflicts.

atlochowski's picture

same for me

Mohjive's picture

Could you make the long press to send an option or separate patch? I really like the layout part, but can't use this patch as I can't stand the long press to send.

Edit: My fault having missed the setting for long press to send.

alina's picture

Of course there's an option. Please go to Settings > Apps > Messages, and disable "press and hold to send".

Mohjive's picture

How can I have missed that? I was there looking for the option twice before I made the comment. :)

Great patch!

DameCENO's picture

Alina, could we get an update for this patch for 2.0.4.x? Thank you...

alina's picture

The latest version works on 2.0.4 too. I'm currently using it.

giskard's picture

If you are interested, the italian translation has been updated in transifex.

pelle22's picture

Hi Alina


thanks for a god job!

How to install sailfishos-patch-messages-layout-0.2-1_2.0.1.noarch.rpm


It copied to Jolla phone/downloads

i find it out my self.


Nice job


kibet85's picture

please add opacity level for bubbles like that on sailorgram

alina's picture

Sorry for late answer. I've been in obligatory military service, with minimal access to internet and no time for developing.

I just updated the package for SFOS 2.0.2 also with some new features including basic opacity level (not so smart as Sailorgram’s). As soon as translators finish their works, I'll publish it.

Ancelad's picture

It would be nice to make links more readable

alina's picture

Thanks for reporting! Fixed in the next release.

Rikudou_Sennin's picture

Do you think, it would be possible to add a speech bubble pointer, like in Android?