xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 22 months ago

Closed 18 months ago

Last modified 12 months ago

#2680 closed defect (upstream)

GTK programmatic iconification of the deepin-music window does not work

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.1
Component: platforms Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

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:

  • make the release builds using the old VM?
  • release without iconification support
  • find the bug (hard?)

Change History (5)

comment:1 Changed 22 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned
Summary: GTK programmatic iconification broken with macos 10.14.x build VMGTK programmatic iconification of the deepin-music window does not work

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.

comment:2 Changed 21 months ago by Antoine Martin

Milestone: 4.04.1

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

comment:3 Changed 19 months ago by 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.connect("delete_event", Gtk.main_quit)
	b = Gtk.Button(label="Iconify")
	b.connect('clicked', lambda b : w.iconify())

if __name__ == "__main__":

comment:4 Changed 18 months ago by Antoine Martin

Resolution: upstream
Status: assignedclosed
Last edited 17 months ago by Antoine Martin (previous) (diff)

comment:5 Changed 12 months ago by migration script

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

Note: See TracTickets for help on using tickets.