Opened 4 years ago

Last modified 6 months ago

#3407 reopened bug

'Saved Paths' popup crashes deluge on Wayland

Reported by: pjlbyrne Owned by:
Priority: major Milestone: not applicable
Component: GTK UI Version: master
Keywords: Cc: zahrun@…

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

comment:1 Changed 4 years 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 4 years 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 3 years 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

comment:4 Changed 2 years ago by Cas

  • Milestone changed from 2.0.4 to 2.0.5

Ticket retargeted after milestone closed

comment:5 Changed 2 years ago by Cas

  • Milestone changed from 2.0.5 to 2.0.6

Ticket retargeted after milestone closed

comment:6 Changed 2 years ago by Cas

  • Milestone changed from 2.0.6 to not applicable
  • Resolution set to Upstream
  • Status changed from new to closed

As pjlbyrne suggests, this is not fixable in Deluge

comment:7 Changed 6 months ago by Zahrun

The upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=759738 is marked as RESOLVED FIXED, so why is Deluge still crashing when opening 'Saved Paths' popup on Wayland?

comment:8 Changed 6 months ago by Zahrun

  • Cc zahrun@… added
  • Resolution Upstream deleted
  • Status changed from closed to reopened
Note: See TracTickets for help on using tickets.