Bug 85473 - Random position of context popup menus
Summary: Random position of context popup menus
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 09:38 UTC by Jonas Heinrich
Modified: 2014-10-27 14:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Epiphany GTK log wrong position of menus (1.72 KB, text/plain)
2014-10-27 09:09 UTC, Jonas Heinrich
Details

Description Jonas Heinrich 2014-10-26 09:38:34 UTC
Hi,
using the latest Weston and Wayland version 1.6, context menu popups are displayed in random positions on the screen.
For example right clicking on a file in Nautilus, the context menu opens but on a random position.
Comment 1 Pekka Paalanen 2014-10-27 07:10:53 UTC
Is this with Xwayland, or is Nautilus a native Wayland app?
Comment 2 Jonas Heinrich 2014-10-27 08:16:36 UTC
Here's an example with the browser Epiphany: http://imgur.com/vwy6bF1.png
But this also happens with Xwayland- and other native programs.
Comment 3 Pekka Paalanen 2014-10-27 08:27:59 UTC
Is this related to a specific toolkit?

E.g. if you open a context menu in weston-terminal's terminal area to pick, say, "Open Terminal", is that menu randomly positioned too?

Problems with Xwayland are a separate category from native Wayland apps, you should work in different bug reports on them. I recall Xwayland may have some problems in handling some window types, as X11 applications do not always tell what the parent window is, or something. You might want to check the existing Xwayland bug reports.

Let's track the native Wayland app problem in this report, shall we?
Comment 4 Jonas Heinrich 2014-10-27 09:05:54 UTC
Thanks for your replay :)
Of course we can stick to native Wayland apps and I guess in case of Nautilus and Epiphany it's a GTK related bug.
I have to be more precise that not all context menus are affected by this bug.

Weston-terminal has the popup on the right position, where as for example Nautilus has some context menus on the wrong position.
Comment 5 Jonas Heinrich 2014-10-27 09:09:00 UTC
Created attachment 108498 [details]
Epiphany GTK log wrong position of menus

Here is a log file from the browser Epiphany:
- Starting on line 11: Right clicking on a link. This context menu is on the correct position.
- Starting on line 18: Right click on tab. This context menu is displayed randomly. There are some GTK warnings/errors.
- Starting with line 22: Wrong position of main menu. No warning in log file :/
Comment 6 Daniel Stone 2014-10-27 14:29:41 UTC
Yeah, please file this as a GTK+ bug in their Bugzilla.


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.