Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HiDPi monitor scale problem Qt/Linux #1771

Open
1 task done
skygunner opened this issue Jan 9, 2025 · 2 comments
Open
1 task done

HiDPi monitor scale problem Qt/Linux #1771

skygunner opened this issue Jan 9, 2025 · 2 comments
Assignees

Comments

@skygunner
Copy link

skygunner commented Jan 9, 2025

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

8.2.2-1

Expected Behavior

Hi, just installed only office on MATE desktop environment. I have the 4k monitor, have set 200% scale in display settings and everything else seems to scale properly. However ONLYOFFICE seems to only scale the base board but not the actual editing UI?

I have those in .profile

export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
export QT_SCALE_FACTOR=2
export QT_QPA_PLATFORMTHEME=qt5ct

in .Xresources

Xft.dpi: 192

in .xsessionrc

GTK-3 Scaling

GDK_SCALE=2 export GDK_SCALE
GDK_DPI_SCALE=0.5 export GDK_DPI_SCALE

$ Qt5 Scaling
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCREEN_SCALE_FACTOR=2.0
export QT_SCALE_FACTOR=2.0

Actual Behavior

image

have set the interface scaling to be 200% in onlyoffice

Reproduction Steps

No response

Additional information

My monitor is 4K screen.

@DerBrunoIR
Copy link

DerBrunoIR commented Jan 15, 2025

I got the same problem.
That's my hack for my flatpak installation:
image
After that the working area is normal again.
Somehow the 200% scaling is still applied.
Note: My ~./Xresources dpi is not changed.
Instead is use xrandr --dpi 200 on startup.

However if I want to open a file, the file manager is only at 100% scale...
Could be a flatpak issue though.

@skygunner
Copy link
Author

for me set GDK_SCALE=1 and use xrandr to scale can often cause the fonts blurred out on the screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants