Skip to content

Linked spreadsheet: Inconsistent fonts #1972

@matthijskooijman

Description

@matthijskooijman

I previously posted this as feedback on the PR before it was applied (#1758 (comment)), but since it was out of scope for the initial PR, I'm reposting this here.

Describe the bug
When letting the form plugin write its results to an external spreadsheet automatically (as recently supported with merging #1758), I've noticed that the font used for form data (Calibri) is different from the default font my libreoffice uses when adding data to empty cells (Liberation Sans). I'm not at all sure how this works and if this is a matter of system-dependent defaults or not (I have not tested with collabora, since I do not have it on my test Nextcloud instance), but it is a bit unexpected.

I suspect that the forms plugin might hardcoded the font to use, while there probably is a file-wide default font that it could be using? If so, this would be a bug in the forms plugin (but maybe it's a bug in my expectations or not really a bug - I'm not entirely sure).

To Reproduce
Steps to reproduce the behavior:

  1. Set up writing results to an external spreadsheet
  2. Open the spreadsheet in e.g. libreoffice
  3. Add some data to an empty cell
  4. See the font is different from the existing data

Expected behavior
The data added by the forms plugin should use the same font as other data manually added.

Screenshots
image

Nextcloud (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't workingneeds infoNot enough information provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions