gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
275 stars 100 forks source link

Scaling factor causes parts of box to be cut off #280

Open ethanc8 opened 1 month ago

ethanc8 commented 1 month ago

When changing the GSScaleFactor to a number other than 1, parts of the contents of a box may be cut off. This can be seen, for example, in SystemPreferences.app.

How to reproduce

Open a desktop, and make sure that GNUstep isn't using client-side decorations and that SystemPreferences.app is not running. Then:

defaults write NSGlobalDomain GSScaleFactor 1.5
defaults write NSGlobalDomain GSFontHinting 17
SystemPreferences

Screenshots

Scaling factor 0.5, @ethanc8's computer, NesedahRik theme, KDE Plasma 6.1 with KWin Wayland: image

Scaling factor 1.5, @ethanc8's computer, NesedahRik theme, KDE Plasma 6.1 with KWin Wayland: image

Scaling factor 2.0, @ethanc8's computer, NesedahRik theme, KDE Plasma 6.1 with KWin Wayland: image

@pkgdemon's computer: image

ethanc8 commented 1 month ago

Discord discussion with @gcasa @pkgdemon: image image image image image image image