- Package:
- libgdiplus
- Source:
- libgdiplus
- Description:
- interface library for System.Drawing of Mono
- Submitter:
- Date:
- 2024-06-23 05:03:03 UTC
- Severity:
- normal
Some Button Text Does Not Display with 6.1 Release The version of libgdiplus that ships with Debian Bookworm causes a display error in KeePass 2, nunit-gui, and likely other mono applications. In KeePass it causes an important multi-option dialog box to display three buttons with no text in them. I've tracked down the change where the problem started. The problem started with the change to this line: https://salsa.debian.org/dotnet-team/libgdiplus/-/commit/09def42ba0bce63c1e1d372f86ba869b6a1cf2a3#87db583be5c13c1f7b3c958b10e03d67b6a2ca06_67_74 The removal of ` && pango <= $PANGO_MAX_VERSION` causes libgdiplus to be compiled with libpango support. When this line is restored (along with the PANGO_MAX_VERSION declaration), the problem goes away. I verified the prior release of libgdiplus was not compiled with libpango support by running `strings /usr/lib/libgdiplus.so | grep pango`. The output of this command returns very different and convincing results on Debian Bullseye versus Debian Bookworm. I can't find a way to disable libpango support without changing configure.ac. I've attached screen shots showing the button differences. I also reported this bug downstream here: https://bugs.launchpad.net/ubuntu/+source/libgdiplus/+bug/2069473 Please let me know if you have any questions or need more information.
I really want KeePass 2 to work again. I'm probably willing to submit a patch to fix this issue if someone can give me some direction about what an acceptable patch is. I can think of three potential solutions: 1) Restore the PANGO_MAX_VERSION lines. This would be the easiest change. 2) Disable pango in a more direct way. I'm not sure if pango support is even desired. 3) Fix pango support to render the text correctly. This would require a lot more investigation. Any guidance would be appreciated. Thank you.