Skip to content

[BUG] emoji breaks the title #3851

Closed
Closed

Description

@luginf

Expected behaviour

I have checked "allow name of file differ from title" in "folders" prefs. (I just translate from French, but you see the option)

image

I just want to keep the original name of my note, and display their name in the list.

Actual behaviour

if you put an emoji at the beginning of the file content, it will break the expected behavior:

image

I have 3 files in the folder: test.01.txt test.02.txt test.03.txt, whenever I use an emoji it breaks the rule. in the screenshot, test.03 has just some ascii text before the emoji.

I couldn't reproduce it, but the first time I encountered this, it even renamed my file. Maybe I clicked somewhere and it validated the "new name".

Steps to reproduce

Steps to reproduce the behavior:

  1. just use an emoji as first item in a file (you can have line break before and it will show the same behavior)
  2. if you put a space before, it won't do it

Screenshots

see above

Activity

  1. luginf commented on Nov 14, 2026

    @luginf
    Author

    I suppose it is a side effect of this: #2190

  2. added a commit that references this issue on Nov 15, 2026
  3. pbek commented on Nov 15, 2026

    @pbek
    Owner

    Fixed in b8b2ff430 for the upcoming QOwnNotes 26.11.10 release.

    From the changelog:

    Fixed emoji headings replacing filenames in the note list when filenames are allowed to differ from note headings, so filenames can be edited in the list again.

    The filename now stays independent of the heading, while the heading’s leading emoji can still be shown as the note icon. The application build and full unit-test suite passed, including seven new regression cases.

  4. added
    Severity: Low
    and removed on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Severity: LowType: Bug - Regression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions