Combine identical infobars, or disable their icon and use vertical button layouts to better fit tall portrait / small-width screens
From the remaining actionable bug in issue #714 (closed), in some situations where the window width is too constrained, infobars have impractical text wrapping going on, for example when trying to open huge (multi-megabytes) files:
The ideal way to avoid this would be to only have one infobar in this particular situation, since it kinda doesn't make sense to show the same infobar twice... but failing that, or in situations where there might be two independent infobars, or one infobar affecting only one side of the diff, we can consider these mitigations:
- Do not show the info/questionmark/lightbulb icon, it's unnecessary and just eats space.
- Set the standard gtk orientation property to "vertical" (or whatever it is) onto the "action_area" GtkButtonBox widget within the infobar widget, the one that contains the two action buttons... I was able to do it with the GTK Inspector to create the screenshot below, so there must be a way to do it in code. This would be the result after setting the buttons layout to vertical: