Bug 81273 - drop down menus in iceweasel are clickable, but do nothing.
Summary: drop down menus in iceweasel are clickable, but do nothing.
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: 1.5.0
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-12 20:26 UTC by Andrew Engelbrecht
Modified: 2014-09-04 12:21 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Andrew Engelbrecht 2014-07-12 20:26:43 UTC
in weston master (and 1.5.0), when clicking a menu title in iceweasel, a drop down menu appears. as the mouse moves up and down the menu, the item colors change.

when i click an option, nothing happens. i've tried clicking multiple menu titles and entries.
Comment 1 Adam Williamson 2014-07-26 02:33:02 UTC
I see much the same in Fedora 21, with xorg-x11-server-Xwayland-1.15.99.904-4.fc21.x86_64 , the rest at 1.5.0. For me with Firefox, the entries don't even highlight as I mouse over them. As Andrew says, clicking them doesn't work.
Comment 2 Boyan Ding 2014-08-27 10:27:11 UTC
Moving it to weston since firefox seems to work all right in GNOME on wayland.
Comment 3 chbrauner 2014-08-27 10:43:47 UTC
This bug affects firefox and chromium as well. Here is a video illustrating the problem: https://www.dropbox.com/s/547phqk0qpuz9ag/weston.webm?dl=0

I use wayland, xwayland and weston 1.5.0 on archlinux.
Comment 4 Boyan Ding 2014-08-28 13:10:06 UTC
Traced it in xwayland and found that in mutter-wayland the surface of menu received a press event and a release event from wl_pointer, while in weston, only the press event is observed.

Don't know if this difference matters.
Comment 5 chbrauner 2014-08-28 14:15:54 UTC
Given the video I attached in my previous comment that could be what is happening, since it looks like the focus is never returned to the window. Is there an easy fix for this?
Comment 6 Boyan Ding 2014-08-30 02:36:46 UTC
(In reply to comment #5)
> Given the video I attached in my previous comment that could be what is
> happening, since it looks like the focus is never returned to the window.

That's the point, weston at present will set input focus to the menu, which is an override redirect window. Actually that is wrong, and it causes this bug (but programs like firefox and so on are also strange enough to care that).

> Is there an easy fix for this?

Yes. Patch posted at http://lists.freedesktop.org/archives/wayland-devel/2014-August/016984.html
Comment 7 Pekka Paalanen 2014-09-04 12:21:44 UTC
Should be fixed by:

commit b9f863ca57e16b0b630be93af9998bb5d4c598fe
Author: Boyan Ding <stu_dby@126.com>
Date:   Sat Aug 30 10:33:23 2014 +0800

    xwm: Do not activate override redirect windows


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.