Xpra: Ticket #2680: GTK programmatic iconification of the deepin-music window does not work

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:



Wed, 25 Mar 2020 14:39:07 GMT - Antoine Martin: status, description, summary changed

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.


Sun, 10 May 2020 09:06:06 GMT - Antoine Martin: milestone changed

Will release with the "new" VM and fix later..


Tue, 21 Jul 2020 16:41:16 GMT - Antoine Martin:

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()

Tue, 11 Aug 2020 05:34:10 GMT - Antoine Martin: status changed; resolution set

Reported upstream: undecorated windows can no longer be iconified on macos

(see also #2822)


Sat, 23 Jan 2021 05:57:55 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2680