Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

How to change default scaling?

Open zilexa opened this issue 2 years ago • 13 comments

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.

zilexa avatar Sep 17 '23 16:09 zilexa

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.

igwyd avatar Oct 12 '23 07:10 igwyd

@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.

zilexa avatar Oct 12 '23 12:10 zilexa

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?

igwyd avatar Oct 13 '23 06:10 igwyd

@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?

igwyd avatar Oct 13 '23 13:10 igwyd

@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

zilexa avatar Oct 19 '23 14:10 zilexa

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.

igwyd avatar Dec 28 '23 09:12 igwyd

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.

zilexa avatar Dec 28 '23 14:12 zilexa

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.

igwyd avatar Dec 29 '23 07:12 igwyd

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

nrvale0 avatar Nov 19 '24 16:11 nrvale0

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.

zilexa avatar Nov 20 '24 04:11 zilexa

@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.

igwyd avatar Nov 20 '24 06:11 igwyd

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.

nrvale0 avatar Nov 20 '24 15:11 nrvale0

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.

igwyd avatar Nov 21 '24 04:11 igwyd

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

igwyd avatar Aug 29 '25 11:08 igwyd