Skip to content

[Bug] v3.0.1 - Copy-pasting text within multi-line asset text boxes changes the text's appearance #30

@clockworkprince

Description

@clockworkprince

When I paste text into a multi-line textbox, the pasted text's font changes to the font settings I use for writing chapters and also applies the light mode text colour (meaning the text after pasting looks black, even though I always use night mode).

Screenshot:
Wrong font settings when copy-pasting within assets

(Circled text is the original text, rectangular border marked text is pasted.)

Some findings when testing out how to trigger this bug:

  • This bug does not happen when pasting text within single-line textboxes from what I've tested, but I might've missed something.
  • The bug does happen in light mode, but does not change the text colour to night mode.
  • Curiously, the one way to prevent this bug is to copy text from single-line textboxes within Quoll; externally copied text from Notepad changes font properties, as does text copied from multi-line textboxes within Quoll.
  • The bug does not happen if you edit an empty multi-line textbox and then paste the copied text immediately, so without typing anything before pasting. If there are any characters already in the textbox (even line breaks), the bug occurs.
  • Saving the multi-line textbox's contents and then starting to edit it again has no effect on whether the bug occurs or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions