question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Notices don't render colours

See original GitHub issue

Describe the bug When sending a m.notice to a channel, the message is displayed unformatted (it ignores the format property). This works properly in Element web

To Reproduce Send a m.notice message that contains formatting

Expected behavior The formatting is shown properly, just like in Element web

Screenshots Screencap from Element Android: image

Screencap from Element Web: image

Smartphone (please complete the following information):

  • Device: Xiamomi Mi 9T
  • OS: Android 10

Additional context

  • App version and store 1.0.12, Google Play store
  • Homeserver: phuks.co

Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
rom4nikcommented, Jun 15, 2022

Even if this doesn’t solve the underlying issue, removing italics would make formatting in line with Web/Desktop, where m.notices are not italicized.

Is there any reason as to why it’s in italics on Android and regular on Web/Desktop?

1reaction
xPMocommented, May 12, 2021

Additionally, m.notice messages ignore code blocks.

This is a a total armchair guess, but it seems that span { text; textStyle="italic"; textColor=foo } overrides nested codeblocks and colors: https://github.com/vector-im/element-android/blob/64a37c251d76aefcdafa6aad2d19a4b3c9702659/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt#L506

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Washed out colors on After Effects when rendering
It is important to notice that the colors vary when you render the video inside AE or when you use the Adobe Media...
Read more >
"render image" no colors, although you can see them through ...
The problem is that when I look through the camera I see colors, but when I want to "render image" (F12) the colors...
Read more >
Vegas Pro 19.0 Completly different colours after rendering video
Hello,when i today started Vegas Pro 19.0 and wanted render my video. It change completly colours after rendering.
Read more >
OpenGL not rendering colors - c++ - Stack Overflow
For some reason the colors are not rendering when I run my program. With the addition of glm, I have been running into...
Read more >
OpenSCAD User Manual/First Steps/Changing the color of an ...
Note: changing the colors works only in Preview mode (F5); render mode (F6) ... translate([6,0,0]) { color([0,0,1]) // notice that there is NO...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found