Variety menu shows up in left corner, instead of under the icon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Low
|
Unassigned | ||
Variety |
Fix Released
|
Critical
|
Unassigned | ||
variety (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Every time I click the Variety icon in the Mate panel, it shows the menu in the far left corner. It's been this way for several weeks now. I think it may have something to do with gtk 3.20. I'm using ArchLinux, and this behavior started about the time gtk 3.20 got pushed out.
This error shows up when running Variety in verbose log mode and clicking the icon:
TypeError: pos() takes exactly 2 arguments (4 given)
I also attached the log.
ArchLinux (x64, rolling), Linux desktop 4.6.3-1-ck
Variety 6.0
gtk 3.20
mate 1.12
----
Below is the SRU template (James Lu):
[Impact]
With newer versions of GTK+ / python-gi, some menus in Variety are showing up in the top left corner of the screen, instead of where the mouse clicks. Although this has no immediate impact on the menus' functionality, this bug is very noticeable when triggered and has been reported numerous times.
[Test Case]
A fair bit of menus are affected by this bug, including:
* The menu that opens when clicking the "Add" button in Variety Preferences-
* The menu when right clicking a picture in the Wallpaper Selector
* Some reporters have stated that this affects the menu that pops up from the Variety tray icon, but I haven't been able to reproduce this.
[Regression Potential]
I think the regression potential here is low, but any potential syntax errors or variable typos could break menus or cause the program to not start at all.
Upstream suggests testing the following in particular:
- Add and Remove buttons in Preferences should popup the menu exactly below the pressed button (like a dropdown).
- Thumbs window's right-click menu should popup at mouse position (e.g. History, Wallpaper Selector)
- Indicator should work both when using the indicator API (e.g. under Unity, or under Gnome with AppIndicator support extension installed - https:/
Also, other things I haven't tried include multi-monitor support, and menus on DEs other than Cinnamon and Xfce.
[Other Info]
Some time between Ubuntu 14.04 and 16.04 (from what I can gather from https:/
The other half of the fix is for the Variety indicator, and replaces a custom MenuPositionFunc using the old argument set with a static Gtk.StatusIcon.
Related branches
Changed in variety: | |
status: | New → Confirmed |
summary: |
- Variety menu in left corner, Mate DE + Variety menu shows up in left corner, instead of under the icon |
Changed in variety: | |
importance: | Undecided → High |
Changed in variety (Ubuntu): | |
status: | New → Confirmed |
Changed in variety (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Low |
status: | Confirmed → Triaged |
Changed in variety: | |
assignee: | James Lu (glolol) → nobody |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in variety: | |
status: | Confirmed → Triaged |
Changed in hundredpapercuts: | |
status: | Confirmed → Triaged |
Changed in variety: | |
importance: | High → Critical |
description: | updated |
Changed in variety: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.6.4 |
Have been using Ubuntu 16 Mate, and the menu icon itself is fine, but when I right click the wallpaper selector reel the menu pops up in the left corner.