Regression using negative values `GDK_DPI_SCALE` on HiDPI display
Steps to reproduce
- Update from GTK+ 3.22.26 to 3.22.30
- Start gedit (3.22.1 to 3.28.1) with
GDK_SCALE=2 GDK_DPI_SCALE=-1 gedit
(tested on HiDPI display) - Entering text, it’s not visible.
Current behavior
The text in the input field is not visible.
Expected outcome
The text should be visible.
Version information
GTK+ 3.22.30 shows the regression. 3.22.26 does not.
Additional information
Information taken from https://wiki.archlinux.org/index.php?title=HiDPI&oldid=501308#KDE, which is not there on the current Wiki page anymore.
Example for a 15" Retina Macbook Pro (The negative dpi scale ensures that the text is sized correctly):
#!/bin/bash export GDK_SCALE=2 export GDK_DPI_SCALE=-1 export XCURSOR_SIZE=48 /usr/bin/startkde "$@"