Some dialogs displayed fullscreen if Inkscape window is fullscreen on macOS

Summary:

On macOS, if the Inkscape window is fullscreen, some popup dialogs are displayed fullscreen as well, which looks very confusing and broken.

Important: this is NOT the only popup window with this problem, other windows, like color pickers also show the same behaviour. I merely used the "about" dialog as an example.

Steps to reproduce:

  • open Inkscape on macOS
  • click the green fullscreen button in the Inksacape main window
  • move your mouse pointer to the top of the screen to show the application menu
  • select "Inkscape" -> "About Inkscape"

What happened?

The about dialog is displayed fullscreen - it looks ugly, confusing and broken

What should have happened?

The dialog should obviously open as a popover with a specific size

Attached screenshot of fullscreen "about" dialog

Screenshot_2022-07-04_at_13.29.00

Version info

Inkscape 1.2 (dc2aeda, 2022-05-15)

    GLib version:     2.70.5
    GTK version:      3.24.33
    glibmm version:   2.60.0
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.6
    Pango version:    1.50.6
    HarfBuzz version: 2.9.1

    OS version:       macOS 12.4 (21F79)