Bug 1410900
Summary: | Some programs (nm-connection-editor, pavucontrol) crash on Wayland upon dropping any menu/combobox down (via mouse click or spacebar while focused) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pokorný [poki] <jpokorny> |
Component: | wlc | Assignee: | Fabio Alessandro Locati <fale> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | blueowl, cosimo.cecchi, dcbw, fale, ignatenko, lkundrak, mclasen, thaller |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-23 09:58:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Pokorný [poki]
2017-01-06 19:08:16 UTC
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. gtk3-3.22.6-1.fc26.x86_64 gtk2-2.24.31-2.fc26.x86_64 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: [bug 1412958]. 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: https://github.com/Cloudef/wlc/issues/210 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 wlc-0.0.7-2.git12ee978.fc26.x86_64 (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. |