We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

[bug,3.2.1] Messages are strikethrough in long conversation history

Tracked by Jolla (In release)

asked 2019-12-13 01:05:27 +0200

rastakajakwanna gravatar image

updated 2020-04-03 03:38:58 +0200

It seems like bug to me and I couldn't find it in other conversations in Messages.

I have a really long conversation history with my wife and our child and most of the messages are strikethrough for unknown reason. See the printscreen attached.

Other conversations are short, this one has hundreds of lines of messages, some long sms (over 3-5? sms). It is probably related.

It's nothing cryptic, our daughter doesn't read and write yet (if you are wondering what language is that...).

Update1: 3.3.0.14 release did no fix the issue. When the bubble is reshaped while tapping for details, the strikethrough disappers and appears back after another tap to reduce the information. It seems now that only one-line messagges are affected, the strikethrough is not present on one-line message stuck on 'sending'.

Screenshot_20191213_001.png

Xperia XA2 Ultra

edit retag flag offensive close delete

Comments

I have this issue too on my Xperia XA2 Ultra. Identical to your problem. At least we have confirmation that it's not just a weird issue affecting one of us. :)

Edit: also, mine doesn't just appear with long conversation histories. Even new conversations on the freshly flashed XA2 Ultra show the same behavior.

Edit 2: I think this is related to screen scaling due to the 6+" screen on the XA2 Ultra. If I use dconf write /desktop/jolla/theme/font/sizeMultiplier 1.5 (default is 1.0), the strikethrough disappears entirely. I'd be OK with this, but the fonts are HUGE, and I can't use it like that.

Anyone have any ideas?

deprecated ( 2020-04-16 01:17:25 +0200 )edit
1

Confirming with 3.3.0.14 EA, with the new bubble design, too. Requirements:

  • Sony XA2 Ultra
  • SMS conversation with short messages aka. oneliners
  • Text size in Settings must be "Normal"; doesn't appear with "Large" or "Huge"

In my experience the conversation doesn't have to be long; I was able to reproduce it with a single SMS to myself

This could be "a simple layout issue" and as I have such device, I might be able to have a look at it... No promises nor schedules ;)

Direc ( 2020-04-16 12:16:38 +0200 )edit
1

Will be fixed in the next OS update following 3.3.0.

jovirkku ( 2020-04-21 09:56:07 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-04-17 15:37:03 +0200

Direc gravatar image

updated 2020-04-17 15:54:20 +0200

It looks like the horizontal line is a glitch rendered when the radius is more than 1/2 of the element height. I fixed it for myself like this:

--- /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate-backup.qml
+++ /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml
@@ -121,7 +121,7 @@
             bottomMargin: (groupFirst ? Theme.paddingSmall : 0)
         }

-        radius: Theme.paddingLarge
+        radius: Math.min(height / 2, Theme.paddingLarge)
         roundedCorners: {
             // Note: MessagesView has a BottomToTop layout direction, so groupFirst is the bottom-most
             var result = BubbleBackground.NoCorners

In my case, height / 2 is 54 pixels but Theme.paddingLarge is 56 pixels - thus enabling the glitch with the Normal text size. When using Large, the sizes are 58px and 56px respectively, and with Huge they are 62px and 56px respectively.

I would have set the minimum height for the element so that the radius size would always be the same, but that wasn't a trivial thing to do, so I did this instead. Thanks!

edit flag offensive delete publish link more

Comments

1

@Direc Fantastic! This fixes it. To confirm that this fix works at other multipliers, I applied dconf write /desktop/jolla/theme/font/sizeMultiplier multiplier (where multiplier was anywhere from default [1.0] to my favorite, 0.65) and all of them work without the strikethrough bug.

Excellent work, my friend!

Now all I'm missing is a fix to prevent the messages app from going "dim", requiring it to be closed and reopened before I can read it again.

deprecated ( 2020-04-17 17:00:30 +0200 )edit

Thanks! Now let's hope this gets picked up - or a proper height developed!

What do you mean "going dim"?

Direc ( 2020-04-17 17:46:10 +0200 )edit

@Direc I'm sure it'll get picked up. I've been in contact with Jolla via zendesk over this issue, and I've cited your work here, pretty sure they'll work it in.

As far as "going dim", sometimes if I get a messages notification, unlock the phone to read the message, the text has gone dim, almost completely unreadable. It returns to normal if I close the messages app and reopen it. It's not consistent. I think it might be related to the dynamic brightness, which I've disabled for the time being to see if I can reproduce the problem.

deprecated ( 2020-04-17 17:59:40 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2019-12-13 01:05:27 +0200

Seen: 568 times

Last updated: Apr 17 '20