#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 )
Change History (4)
comment:1 Changed 10 months ago by
Description: | modified (diff) |
---|---|
Status: | new → assigned |
Summary: | GTK programmatic iconification broken with macos 10.14.x build VM → GTK programmatic iconification of the deepin-music window does not work |
comment:2 Changed 9 months ago by
Milestone: | 4.0 → 4.1 |
---|
Will release with the "new" VM and fix later..
comment:3 Changed 6 months ago by
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()
comment:4 Changed 5 months ago by
Resolution: | → upstream |
---|---|
Status: | assigned → closed |
Reported upstream: undecorated windows can no longer be iconified on macos
(see also #2822)
Note: See
TracTickets for help on using
tickets.
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.