Skip to content

Draw file names as plain text - #177

Merged
dhh merged 1 commit into
mainfrom
plain-names
Nov 21, 2026
Merged

dhh merged 1 commit into
mainfrom
plain-names

Conversation

@dhh

@dhh dhh commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

A file named like markup, such as `bold.txt`, drew as rich text, bold and without its tag, because the labels that show names took Text's AutoText default, which guesses from the text whether it's markup. Every label that shows a file, folder, drive or app name, and the lines that quote one (the notice, a dialog's title, a rename's problem, the search field's hint and a search that found nothing), now draws plain text.

Based on #55 by @thisisgm.

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

The PR makes file, folder, drive, and app names draw as written instead of treating them as markup.

  • File-manager labels show names and quoted text as written.

Reviews (6) · Last reviewed commit: "Draw file names as plain text" · Reviewed by Greptile

Comment thread src/PreviewWindow.qml Resolved
@dhh

dhh commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Before (main) on the left, after (this branch) on the right, with made-up files named <b>bold.txt, <i>tilted.png, <font color=red>red alert.md and <s>struck out.txt. On main the names draw bold, italic and struck through with their tags hidden; here they read exactly as named.

List view:

List view before and after

Columns view, where the details column title shows the same:

Columns view and details before and after

A file named like markup, such as "<b>bold.txt", drew as rich text, bold
and without its tag, because the labels that show names took Text's
AutoText default, which guesses from the text whether it's markup. Every
label that shows a file, folder, drive or app name, and the lines that
quote one (the notice, a dialog's title, a rename's problem, the search
field's hint and a search that found nothing), now draws plain text.

Co-Authored-By: GM <gianmarcomorales@icloud.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh

dhh commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

Fresh screenshots after rebasing onto today's main: before (main) on the left, after (this branch) on the right, with made-up files named like markup. On main the names draw underlined, bold, italic and struck through with their tags hidden; here they read exactly as named.

List view:

List view before and after

Grid view:

Grid view before and after

@dhh
dhh merged commit aaefe0a into main Nov 21, 2026
2 checks passed
@dhh
dhh deleted the plain-names branch November 21, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant