Tested with 4.0-r25775 on the old build VM (10.11.x) and the new one (10.14.x #2505). Only works on the former.
Not sure what to do:
The "iconify" button in the "window states" toolbox does work, both running native and through xpra, so there must be something different about the deepin-music
window I've used for testing.
Will release with the "new" VM and fix later..
Found the bug using the xpra toolbox
"states" tool, GTK fails to minimize windows which are not decorated.
Here's the reproducer:
import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk def main(): w = Gtk.Window(type=Gtk.WindowType.TOPLEVEL) w.set_title("Window Iconify") w.set_size_request(320, 200) w.set_position(Gtk.WindowPosition.CENTER) w.set_decorated(False) w.connect("delete_event", Gtk.main_quit) b = Gtk.Button(label="Iconify") b.connect('clicked', lambda b : w.iconify()) w.add(b) w.show_all() Gtk.main() if __name__ == "__main__": main()
Reported upstream: undecorated windows can no longer be iconified on macos
(see also #2822)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2680