#720266 x11-apps: xman aborts closing search window

Package:
x11-apps
Source:
x11-apps
Description:
X applications
Submitter:
Ricardo Mones
Date:
2023-02-18 22:09:35 UTC
Severity:
normal
#720266#5
Date:
2013-08-19 22:44:21 UTC
From:
To:
Hi there,

As subject says, closing search window with close button results
in xman crashing. The following message is printed on terminal:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 578 requests (578 known processed) with 0 events remaining.

(The number of requests is variable)

Steps to reproduce:
 · Start xman
 · Click on "Manual Page" button
 · Open "Options" menu and select "Search" option
 · Click on search window's close button (×) → crash

Closing the window with its own "Cancel" button works, so it's probably
simple to fix. Happens both on KDE and GNOME (classic) so I don't think
is WM or desktop related.

HTH,

#720266#10
Date:
2023-02-18 20:49:46 UTC
From:
To:
This is because xman was not installing a WM_DELETE_WINDOW handler for the
search window, so window managers fall back to XKillClient() to shut down
the entire program when the close button is clicked.

Upstream fix: https://gitlab.freedesktop.org/xorg/app/xman/-/merge_requests/6