Opened 5 years ago

Last modified 7 months ago

#3407 reopened bug

'Saved Paths' popup crashes deluge on Wayland

Reported by: Pat Owned by:
Priority: major Milestone: not applicable
Component: GTK UI Version: master
Keywords: Cc: zahrun@murena.io, stetzen1

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

comment:1 by Pat, 5 years ago

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 by Pat, 5 years ago

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

comment:3 by Calum, 4 years ago

Milestone: needs verified2.0.4
Summary: 'Saved Paths' popup crashes deluge'Saved Paths' popup crashes deluge on Wayland

comment:4 by Calum, 3 years ago

Milestone: 2.0.42.0.5

Ticket retargeted after milestone closed

comment:5 by Calum, 3 years ago

Milestone: 2.0.52.0.6

Ticket retargeted after milestone closed

comment:6 by Calum, 3 years ago

Milestone: 2.0.6not applicable
Resolution: Upstream
Status: newclosed

As pjlbyrne suggests, this is not fixable in Deluge

comment:7 by Aroun, 14 months ago

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 by Aroun, 14 months ago

Cc: zahrun@murena.io added
Resolution: Upstream
Status: closedreopened

comment:9 by stetzen1, 7 months ago

The problem is still here. With Plasma6 release, which uses Wayland by default, more people will be facing the issue, so it probably worth fixing.

comment:10 by stetzen1, 7 months ago

Cc: stetzen1 added
Note: See TracTickets for help on using tickets.