In terminal, following goodbye message is logged at that moment:
> (nm-connection-editor:5214): Gdk-WARNING **:
> Error 71 (Protocol error) dispatching to Wayland display.
$ rpm -q nm-connection-editor xorg-x11-server-Xwayland
Similar to [bug 1397096].
...or [bug 1350060] that even have some clues.
Note that I am able to select the desired option from the drop down
if I carefully avoid displaying the whole menu, but switch the focus
to the selection component (if not already) and use up/down keys for
selection instead. This uniformly applies to all the occurrences
-- I was able to get pass the initial issue this the said trick, but
later observed the same behavior, e.g., in "add wifi" dialog with
another drop down. Note that the behavior is furthermore inconsistent
in that now I cannot even open the "add wifi" dialog anymore as
nm-connection-editor crashes even earlier.
I realize I should get some verbose log but currently have no pointers
to this area.
In fact I can observe this crashing/forced close behavior with any drop
down menus at the very moment of "expose options" if the program in
question seems gtk-based (except for firefox that handles drop downs
correctly (perhaps it renders them on its own all the time).
Noting again that I observe this behavior when on Wayland (sway WM).
Hence moving the bug for gtk component as an estimation of the real
root cause component. Please move further if suitable.
In contrast, gimp (2.8.18-3.fc26.x86_64) is not affected AFAICT.
Confirmed this bug may indeed have something to do with gtk3 thanks
to gtk3-demo from gtk3-devel -- all the combo boxes from the palette
expose this issue.
Note that gtk2-demo works just fine on this Wayland setup.
Also affected (from gtk3-demo):
- Pickers: Folder + Mail
- Menus: any click on the main menu
- Size Groups: another reproducer for the drop downs
- Printing - Page Setup: Format for + Paper size (ditto dropdowns)
Searching through other bugs, this seems to be a regression,
reintroduction of [bug 1293993].
Note that running affected applications with GDK_BACKEND=x11 in the
environment helps (modulo one new segfault in one particular case:
The results are still suboptimal, though, exposed comboboxes are
immediately overlaid by the originating dialog/window once the cursor
move a single pixel.
Found that wlc (compositor library beneath sway on which I reproduce
the issues) is likely the culprit:
Switching the component respectively.
Thanks for reporting, but it seems like it's an upstream problem.
I'm going to link this bug on the upstream discussion, and we are going to wait for upstream to fix it.
Also, in https://github.com/SirCmpwn/sway/issues/986 you can notice that someone put a 20$ bounty on that bug, so hopefully this will be fixed soon.
I close this bug, since the upstream bug has been fixed by https://github.com/Cloudef/wlc/commit/208b18c81886282f4b41d6c65fdf8e5a203dda91
Confirming forced exits are gone in those cases with
(modulo [bug 1412958], which is not bound to wlc, though)
Unfortunately, the current results are still suboptimal, the dropdown
appears in an unexpected location (top right corner, no relative
positioning in relation with original dialog/window). That may have
something to do with gtk3 internals.
Sorry, in fact it is top left corner.