'Save changes?' close popup buttons can be outside the screen
Not very crucial but I can imagine a scenario where someone taking notes on Gedit while working with multiple windows could get frustrated by this bug if they accidentally click on the 'close' button.
Found on Ubuntu 20.04 with the default install of Gedit (version is 3.36.2):
If you happen to have moved your Gedit window a bit down your screen, then the buttons of popup windows can be located outside of the screen.
So one can end up with all buttons being unclickable (focus is on the popup window so the main window buttons are unclickable too), which leaves the GUI in a stuck state with no way out -> in this situation, if you clicked on the 'close' button without realizing you had unsaved changes, you basically lose them.
Interestingly, it looks like the issue has already been identified because the popup window seems to stick to the bottom of the screen when the main window is too far down:
But it seems like the reference bottom edge for the popup window is this line:
So, maybe it's just about adding some offset to the existing logic that calculates the position of the popup windows?