Opened 16 months ago

Last modified 7 months ago

#3407 new bug

'Saved Paths' popup crashes deluge on Wayland

Reported by: pjlbyrne Owned by:
Priority: major Milestone: 2.0.4
Component: GTK UI Version: master
Keywords: Cc:

Description

When you click on the 'Saved Paths' dropdown in the 'Move Download Folder' dialog, deluge crashes.

stderr shows: Gdk-Message: 14:36:53.552: Window 0x560dbb915830 is a temporary window without parent, application will not be able to position it on screen.

(deluge:183142): Gdk-WARNING : 14:36:53.552: Couldn't map as window 0x560dbb915830 as popup because it doesn't have a parent

Then ~13000 copies of: (deluge:183142): Gdk-WARNING : 14:36:53.553: Window 0x560dbb915830 is already mapped at the time of grabbing. gdk_seat_grab() should be used to simultanously grab input and show this popup. You may find oddities ahead.

Then: Gdk-Message: 14:36:54.581: Error 11 (Resource temporarily unavailable) dispatching to Wayland display

Change History (3)

comment:1 Changed 16 months ago by pjlbyrne

I'm guessing this is related to:

https://mail.gnome.org/archives/commits-list/2016-January/msg02035.html

Quite a few applications use GTK_WINDOW_POPUP to create various temporary windows and place then on screen. That works fine on X11 but on Wayland there is no global coordinate system for regular surfaces.

If the application is using a gdk temp window and set a parent with gtk_window_transient_for(), the gdk wayland backend has all it needs to create a subsurface that can be placed at will by the application.

comment:2 Changed 16 months ago by pjlbyrne

If I login to a 'GNOME Xorg' session this problem does not occur. So it is related to Wayland.

comment:3 Changed 7 months ago by Cas

  • Milestone changed from needs verified to 2.0.4
  • Summary changed from 'Saved Paths' popup crashes deluge to 'Saved Paths' popup crashes deluge on Wayland
Note: See TracTickets for help on using tickets.