#836935 libreoffice-gtk3: Setting GDK_SCALE and GDK_DPI_SCALE to values other than 1 screws up rendering #836935
- Package:
- libreoffice-gtk3
- Source:
- libreoffice
- Description:
- office productivity suite -- GTK+ 3 integration
- Submitter:
- Christian Gogolin
- Date:
- 2025-08-08 14:20:03 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, libreoffice with the libreoffice-gtk3 package installed fails to render correctly when the environment variables GDK_SCALE and/or GDK_DPI_SCALE are set to values not equal to 1. This can be verified by starting libreoffice as follows: $ GDK_SCALE=2; GDK_DPI_SCALE=1; libreoffice Background: These variables are used be people with high density screens (such as those in modern laptops) to obtain a reasonable widget and font size. A common setup is to export export GDK_SCALE=2 export GDK_DPI_SCALE=0.5 in .xinitrx or similar. Thereby GTK_SCALE=2 scales all widgets in gnome applications by a a factor of 2 and GDK_DPI_SCALE=0.5 reduces the font size back to the original size, as modern fonts are already rendered in a way that takes into account the dpi of the screen. Somewhat surprisingly for me, libreoffice, as opposed to other Gnome apps, already looks reasonable on a high dpi screen with GDK_SCALE=1 and GDK_DPI_SCALE=1. So a workaround for the reported problem is to always start libreoffice with: $ GDK_SCALE=1; GDK_DPI_SCALE=1; libreoffice
Hello, I tested with your command and LO 5.4.1-1 and the result is not bad. Could you look into my screenshot Christian? Regards,
The screenshot is attached.
Dear submitter, as the package libreoffice has just been removed from the Debian archive experimental we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1069123 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
Humanitarian Grant of 1.5M for you. Reply for claims