Text file embedded preview does not use a monospace font

(#2162) Bug Fixed mobile

Observed behaviour

A variable-width font is used.

Reproduction steps

  1. Upload a text-based file (.txt, .md, most source code, etc)
  2. Look at the embedded preview

Build information

Version 1.0.0, Beta 61, Channel Beta, Build 68, iOS 26.5 (arm64), Device iPhone14,5, Locale en-AU, Push apns, Flutter 3.47.2, Dart 3.13.2

Platform

iOS

Details

Expected behaviour The content uses a monospace font, matching the desktop client.
  • 03fced2188e44dda8368295e3fe58a884babd9f28efedde65e7aa49b5d3d6081_exif.jpg

    03fced2188e44dda8368295e3fe58a884babd9f28efedde65e7aa49b5d3d6081_exif.jpg

    1170×702 | 122 kB

  1. Rex changed the status from Needs triage to Fixed

Merged posts

These posts were merged into this one. Their comments are now part of the conversation below, marked with where they came from.

Merged from #823 iOS - Text file previews are not monospace

RexSystemoriginally by @Supremekirb on GitHub

Report details

Observed behaviour

As of iOS Testflight beta 1.0.0 build 67, the embedded preview of text files does not use a monospace font. This behaviour doesn't match other platforms.

Reproduction steps

  1. Upload a text file
  2. Observe the embedded preview

Build information

Version 1.0.0, Beta 60, Channel Beta, Build 67, iOS 26.5 (arm64), Device iPhone14,5, Locale en-AU, Push apns, Flutter 3.47.2, Dart 3.13.2

Platform

iOS

Evidence

  • 647903085-d460124f-ff23-423c-ab44-8e85cbc16054.jpeg

    647903085-d460124f-ff23-423c-ab44-8e85cbc16054.jpeg

    1170×702 | 60 kB

9 comments

Sign in with Fluxer to comment and vote.
Off-topic comment by @Artimba
RexSystem 1 vote Merged from #823 originally by @Artimba on GitHub Collapsed as outdated by Rex: Discussion about where to report mobile bugs, from before this feedback site existed.
Hi! I ain't a contributor but I figure given this is a flutter client bug I would throw the issue there https://github.com/fluxerapp/flutter_client However I think the flutter devs mainly process reports via the Fluxer Labs community: https://fluxer.gg/fluxer-labs There is a channel there for how to report bugs for the mobile client. Thanks for taking the time to report though!
Off-topic comment by @Supremekirb
RexSystem 1 vote Merged from #823 originally by @Supremekirb on GitHub Collapsed as outdated by Rex: Discussion about where to report mobile bugs, from before this feedback site existed.
Oh, I see. Don't know how I was meant to know that; the "report a bug" link on the Fluxer website brought me here :p
Off-topic comment by @Artimba
RexSystem 1 vote Merged from #823 originally by @Artimba on GitHub Collapsed as outdated by Rex: Discussion about where to report mobile bugs, from before this feedback site existed.
Yeah definitely a bit confusing there, though I'm sure they'd look here too! I am not too familiar with the teams internal practices. They're super active on fluxer labs though
Off-topic comment by Hampus
HampusStaff 1 vote Merged from #823 originally by @hampus-fluxer on GitHub Collapsed as outdated by Rex: Discussion about where to report mobile bugs, from before this feedback site existed.
I'll make this less confusing on the help centre article!
Comment by bizo
bizoReviewer 1 vote
Can reproduce CR - Version 1.0.0, Beta 62, Channel Beta, Build 69, iOS 26.6 (arm64), Device iPhone13,1, Locale en-GB, Push apns, Flutter 3.47.3, Dart 3.13.3
Comment by PolarSky
Can reproduce CR ;; Version 1.0.0, Beta 63, Channel Beta, Build 2436, Android 16 (arm64), Device samsung SM-S928B, Locale en-GB, Push fcm, Flutter 3.47.3, Dart 3.13.3
Comment by Nerdalie
Can reproduce CR - Version 1.0.0, Beta 63, Channel Beta, Build 2436, Android 16 (arm64), Device Google Pixel 9 Pro, Locale en-US, Push fcm, Flutter 3.47.3, Dart 3.13.3
Comment by SupremeKirb
SupremeKirb OP1 vote Fixed for me
Can no longer reproduce Version 1.0.0, Beta 66, Channel Beta, Build 73, iOS 26.5 (arm64), Device iPhone14,5, Locale en-AU, Push apns, Flutter 3.47.5, Dart 3.13.4