Whether or not this bug triggers an accidental minimize seems to depend on the style of the headerbar.
For gedit, the window is accidentally minimized as the bubble menu also appears too high (so the user is now unwittingly selecting Minimize). For Terminal however, the accidental minimize does not happen.
Maybe we need a separate bug for those bubble menus appearing too high, but it's very closely related to this one right now.
Whether or not this bug triggers an accidental minimize seems to depend on the style of the headerbar.
For gedit, the window is accidentally minimized as the bubble menu also appears too high (so the user is now unwittingly selecting Minimize). For Terminal however, the accidental minimize does not happen.
Maybe we need a separate bug for those bubble menus appearing too high, but it's very closely related to this one right now.