nextcloud / nextcloud/richdocuments

New documents are created as US letter even though region is set to Europe

Open
#3,131 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: templates
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
New documents created are created with the US Letter page format

To Reproduce
Steps to reproduce the behavior:

  1. Create a new text document

Expected behavior
Document created is in DIN A4 format

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: macOS
  • Browser Vivaldi, Firefox

Server details

Operating system:

Web server:

Database:

PHP version:

Nextcloud version:
27
Version of the richdocuments app
8.1.1
Version of Collabora Online
COOLWSD version: 23.05.2.2 (git hash: 91c166d (E))
LOKit version: Collabora Office 23.05.2.2 (git hash: 22110b2)
Served by: Debian GNU/Linux 12 (bookworm)
Server ID: 8b898b8d

Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

this is I think similar/the same as https://github.com/nextcloud/richdocuments/issues/2983

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the new text document flow described here and compare it with issue 2983. Trace where the region setting is read during document creation; done means a European-region document opens in DIN A4 instead of US Letter.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.