ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.39k stars 482 forks source link

How to change default scaling? #665

Open zilexa opened 1 year ago

zilexa commented 1 year ago

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.

igwyd commented 12 months ago

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.

zilexa commented 11 months ago

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

igwyd commented 11 months ago

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 commented 11 months ago

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

zilexa commented 11 months ago

@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

igwyd commented 9 months ago

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.

zilexa commented 9 months ago

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.

igwyd commented 9 months ago

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.