[GH-ISSUE #665] How to change default scaling? #299

Closed
opened 2026-02-26 10:31:42 +03:00 by kerem · 14 comments
Owner

Originally created by @zilexa on GitHub (Sep 17, 2023).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/665

Running DocumentServer via docker, all works, but how can I change the interface scaling?
Everything looks pretty tiny. I can zoom into the document but the UI elements stay small.

I also use Desktopeditors and I am able to set 125% permanently.

Originally created by @zilexa on GitHub (Sep 17, 2023). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/665 Running DocumentServer via docker, all works, but how can I change the interface scaling? Everything looks pretty tiny. I can zoom into the document but the UI elements stay small. I also use Desktopeditors and I am able to set 125% permanently.
kerem 2026-02-26 10:31:42 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@igwyd commented on GitHub (Oct 12, 2023):

Hello @zilexa, sorry for the late reply. You can use this parameter https://api.onlyoffice.com/editors/config/editor/customization#zoom to constantly change the document scale.

<!-- gh-comment-id:1759121791 --> @igwyd commented on GitHub (Oct 12, 2023): Hello @zilexa, sorry for the late reply. You can use this parameter https://api.onlyoffice.com/editors/config/editor/customization#zoom to constantly change the document scale.
Author
Owner

@zilexa commented on GitHub (Oct 12, 2023):

@igwyd no, that is document zooming, I am clearly asking about UI scaling.
This is supported in Desktopeditors for example in the settings.

Many people have HiDPI screens especially on laptops. Making DocumentServer very difficult to use.

<!-- gh-comment-id:1759532026 --> @zilexa commented on GitHub (Oct 12, 2023): @igwyd no, that is _document zooming_, I am clearly asking about UI scaling. This is supported in Desktopeditors for example in the settings. Many people have HiDPI screens especially on laptops. Making DocumentServer very difficult to use.
Author
Owner

@igwyd commented on GitHub (Oct 13, 2023):

You can scale the interface in the browser or, for example, in the operating system and documentserver support this. Do you want to scale using the documentserver configuration separately from scaling in the browser or OS?

<!-- gh-comment-id:1760976940 --> @igwyd commented on GitHub (Oct 13, 2023): You can scale the interface in the browser or, for example, in the operating system and documentserver support this. Do you want to scale using the documentserver configuration separately from scaling in the browser or OS?
Author
Owner

@igwyd commented on GitHub (Oct 13, 2023):

@zilexa please describe your request in more detail, could you provide the resolution and monitor size, as well as a screenshot of what your interface looks like?

<!-- gh-comment-id:1761564357 --> @igwyd commented on GitHub (Oct 13, 2023): @zilexa please describe your request in more detail, could you provide the resolution and monitor size, as well as a screenshot of what your interface looks like?
Author
Owner

@zilexa commented on GitHub (Oct 19, 2023):

@igwyd my description is spot on. I explicitly mention UI scaling, not document zoom. That should clarify it completely.

Using the browser to zoom only affects the document itself == just like the document zoom option bottom right only affects the document itself. Meanwhile, the UI elements stay tiny. Below I used CTRL + in Firefox 118 to increase page size. As you can see, only the document itself is now huge. The UI elements stay tiny on my 1920x1280 screen on 13.5" HP Spectre x360:

Screenshot from 2023-10-19 16-08-06
I would indeed expect Firefox zoom options to increase the GUI of OnlyOffice, that is the expected behaviour. However, that is not how it currently behaves. This is unusable. OnlyOffice Documentserver GUI is actually much smaller than my Firefox GUI which scales nicely with the operating system display configuration.

Compare this with OnlyOffice DesktopEditors, which has a dedicated option for scaling (not the document, but the GUI itself):
Screenshot from 2023-10-19 16-11-37

<!-- gh-comment-id:1771084375 --> @zilexa commented on GitHub (Oct 19, 2023): @igwyd my description is spot on. I explicitly mention UI scaling, not document zoom. That should clarify it completely. Using the browser to zoom only affects the document itself == just like the document zoom option bottom right only affects the document itself. Meanwhile, the UI elements stay tiny. Below I used CTRL + in Firefox 118 to increase page size. As you can see, only the document itself is now huge. The UI elements stay tiny on my 1920x1280 screen on 13.5" HP Spectre x360: ![Screenshot from 2023-10-19 16-08-06](https://github.com/ONLYOFFICE/Docker-DocumentServer/assets/3430004/7193664e-98d9-4595-bd2c-568915f43ed1) I would indeed expect Firefox zoom options to increase the GUI of OnlyOffice, that is the expected behaviour. However, that is not how it currently behaves. This is unusable. OnlyOffice Documentserver GUI is actually much smaller than my Firefox GUI which scales nicely with the operating system display configuration. Compare this with OnlyOffice DesktopEditors, which has a dedicated option for scaling (not the document, but the GUI itself): ![Screenshot from 2023-10-19 16-11-37](https://github.com/ONLYOFFICE/Docker-DocumentServer/assets/3430004/24d4730e-f3ea-4829-9b5b-01610d310906)
Author
Owner

@igwyd commented on GitHub (Dec 28, 2023):

If you increase the browser zoom(or OS zoom) before open the document and then open it you will see that the UI incresed too, we focus on zoom in the browser.

screen

I see you point, you want to set up interface scaling via configuration independently of the scaling of the system or browser. I asked the developers a question about it.

<!-- gh-comment-id:1870995246 --> @igwyd commented on GitHub (Dec 28, 2023): If you increase the browser zoom(or OS zoom) before open the document and then open it you will see that the UI incresed too, we focus on zoom in the browser. ![screen](https://github.com/ONLYOFFICE/Docker-DocumentServer/assets/67538082/666d619f-b0c8-4c78-9c65-141d57c5e35a) I see you point, you want to set up interface scaling via configuration independently of the scaling of the system or browser. I asked the developers a question about it.
Author
Owner

@zilexa commented on GitHub (Dec 28, 2023):

Currently it does not work like it does on ANY other website.
When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases.
Indeed, if there is no document open, the UI will finally increase. But that makes no sense. Especially if you use other fileservers and open files directly in OnlyOffice, there is no way to make the UI bigger.

Since there is already a UI element to zoom into the document itself, as you pointed out with the red circle, the browser zoom capabilities should zoom the entire web application, not just 1 item inside it. Just like it does, on every other website.

<!-- gh-comment-id:1871207355 --> @zilexa commented on GitHub (Dec 28, 2023): Currently it does not work like it does on ANY other website. When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases. Indeed, if there is no document open, the UI will finally increase. But that makes no sense. Especially if you use other fileservers and open files directly in OnlyOffice, there is no way to make the UI bigger. Since there is already a UI element to zoom into the document itself, as you pointed out with the red circle, the browser zoom capabilities should zoom the entire web application, not just 1 item inside it. Just like it does, on every other website.
Author
Owner

@igwyd commented on GitHub (Dec 29, 2023):

When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases.

Actually our UI can to make bigger with CTRL + mouse scroll UP, you shuld to move the mouse cursor over the toolbar and then use the CTRL + mouse scroll UP.

<!-- gh-comment-id:1871797305 --> @igwyd commented on GitHub (Dec 29, 2023): >When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases. Actually our UI can to make bigger with ```CTRL + mouse scroll UP```, you shuld to move the mouse cursor over the toolbar and then use the ```CTRL + mouse scroll UP```.
Author
Owner

@nrvale0 commented on GitHub (Nov 19, 2024):

When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases.

Actually our UI can to make bigger with CTRL + mouse scroll UP, you shuld to move the mouse cursor over the toolbar and then use the CTRL + mouse scroll UP.

On my Linux machine this only scales the view of the document itself and not the UI elements (menu text, buttons, etc). I believe the OP is interested in how to scale the UI elements. As am I.

thx

<!-- gh-comment-id:2486128082 --> @nrvale0 commented on GitHub (Nov 19, 2024): > > When you open a document in Onlyoffice and the UI is too small, you hit CTRL+ to make it bigger, like on any other site. Or use the browser menu. The bug/issue: the document itself increases. > > Actually our UI can to make bigger with `CTRL + mouse scroll UP`, you shuld to move the mouse cursor over the toolbar and then use the `CTRL + mouse scroll UP`. On my Linux machine this only scales the view of the document itself and not the UI elements (menu text, buttons, etc). I believe the OP is interested in how to scale the UI elements. As am I. thx
Author
Owner

@zilexa commented on GitHub (Nov 20, 2024):

A year later, the issue has been explained by me and others several times. Yet the responses are still not related to the actual issue.

<!-- gh-comment-id:2487381377 --> @zilexa commented on GitHub (Nov 20, 2024): A year later, the issue has been explained by me and others several times. Yet the responses are still not related to the actual issue.
Author
Owner

@igwyd commented on GitHub (Nov 20, 2024):

@nrvale0 i understand it and I tried to explain how it works for us. I checked on my test linux PC, all right.

https://github.com/user-attachments/assets/0ca7c7d1-cab2-4cce-a9bc-dd6ba108d989

@zilexa I thought we had figured everything out. As i write before here the developer explained to me that we won’t be able to set this using configuration parameters because we are focusing on the browser scale.

<!-- gh-comment-id:2487568903 --> @igwyd commented on GitHub (Nov 20, 2024): @nrvale0 i understand it and I tried to explain how it works for us. I checked on my test linux PC, all right. https://github.com/user-attachments/assets/0ca7c7d1-cab2-4cce-a9bc-dd6ba108d989 @zilexa I thought we had figured everything out. As i write [before](https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/665#issuecomment-1870995246) here the developer explained to me that we won’t be able to set this using configuration parameters because we are focusing on the browser scale.
Author
Owner

@nrvale0 commented on GitHub (Nov 20, 2024):

I don't know if this is the case for the OP but in my case I am running OnlyOffice via .desktop XDG launching and so there is no browser open before the application and document and thus no opportunity to pre-scale UI elements. From digging around in /opt, it looks like when launched in this manner OnlyOffice is running in the context of a sandboxed Chromium browser. So perhaps there's a config file which can be tweaked in /opt pre-startup?

The ability to scale the document itself is unrelated.

<!-- gh-comment-id:2488843854 --> @nrvale0 commented on GitHub (Nov 20, 2024): I don't know if this is the case for the OP but in my case I am running OnlyOffice via .desktop XDG launching and so there is no browser open before the application and document and thus no opportunity to pre-scale UI elements. From digging around in /opt, it looks like when launched in this manner OnlyOffice is running in the context of a sandboxed Chromium browser. So perhaps there's a config file which can be tweaked in /opt pre-startup? The ability to scale the document itself is unrelated.
Author
Owner

@igwyd commented on GitHub (Nov 21, 2024):

I am running OnlyOffice via .desktop XDG launching

I think you have a other case, please crete a new issue and detailed fill out the form, we will check it.

<!-- gh-comment-id:2490070482 --> @igwyd commented on GitHub (Nov 21, 2024): > I am running OnlyOffice via .desktop XDG launching I think you have a other case, please crete a new issue and detailed fill out the form, we will check it.
Author
Owner

@igwyd commented on GitHub (Aug 29, 2025):

We have no plans to change this behavior, so we will close it for now as is not planned.

<!-- gh-comment-id:3236706918 --> @igwyd commented on GitHub (Aug 29, 2025): We have no plans to change this behavior, so we will close it for now as is not planned.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#299
No description provided.