After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647772 - Ubuntu appmenu breaks test cases
Ubuntu appmenu breaks test cases
Status: RESOLVED OBSOLETE
Product: java-gnome
Classification: Bindings
Component: GNOME
4.1.x
Other Linux
: Normal normal
: 4.1.2
Assigned To: Guillaume Mazoyer
java-gnome bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-14 13:41 UTC by Guillaume Mazoyer
Modified: 2013-04-13 22:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Crash stacktrace (956 bytes, text/plain)
2011-05-10 20:54 UTC, Guillaume Mazoyer
  Details
Patch for documentation (4.77 KB, patch)
2011-10-12 20:21 UTC, Guillaume Mazoyer
none Details | Review

Description Guillaume Mazoyer 2011-04-14 13:41:38 UTC
There is a major break of some of our test cases when using Ubuntu and its appmenu. ValidateComboBox and ValidateFileChoosing don't pass the test.
Unsetting the UBUNTU_MENUPROXY environment variable fix the problem.
Comment 1 Andrew Cowie 2011-04-14 13:48:08 UTC
So you're saying that:

    combo = new ComboBox(model);

breaks on Ubuntu with their global menu enabled? And:

$ UBUNTU_MENUPROXY=  make test 

is the workaround? That would mean for the test suite (at lesat) we need to forceibly unset that variable. The real question is whether this is a unit test problem (which run inside Xvfb) or whether it impacts applications as well. If it's the latter, then we have a huge problem.

AfC
Comment 2 Guillaume Mazoyer 2011-04-14 13:56:06 UTC
Yes this is what I'm saying.
In a build environment (eg pbuilder) the problem will not appear (no appmenu, no unity). We must, once we got our 4.1 branch fixed, test if applications are broken because of that bug.
Comment 3 Guillaume Mazoyer 2011-05-10 20:54:05 UTC
I just tested 2 applications (GNOME Split and Quill) they both crash because of this bug. So it is actually a severe bug.

The crash occurs when the first menu is being created. In attachment a stacktrace of the crash (from GNOME Split). I guess the first line in not relevant.
Comment 4 Guillaume Mazoyer 2011-05-10 20:54:23 UTC
Created attachment 187597 [details]
Crash stacktrace
Comment 5 Andrew Cowie 2011-05-11 00:58:46 UTC
Surely other apps or bindings must be running into this? Any hint of how they're dealing with it?

Since I'm running GNOME 3 and gnome-shell, I removed Unity and appmenu-gtk from my system. So I am no longer encountering this problem, but that's not a workaround we should expect most people to want to do :/

AfC
Comment 6 Guillaume Mazoyer 2011-09-29 07:10:50 UTC
This bug appears to be fixed in 11.10.
Tests pass without any problem even if the Ubuntu global menu is enabled.
Should we consider closing this bug and document this issue for Ubuntu 11.04 users?
Comment 7 Guillaume Mazoyer 2011-10-12 20:21:44 UTC
Created attachment 198882 [details] [review]
Patch for documentation

Here is a patch that add a paragraph in the HACKING file about tests. It probably needs some improvements but for now it documents this bug that we are not really responsible of.

Andrew: Can you give me some feedback on this patch?
Comment 8 Guillaume Mazoyer 2013-04-13 22:24:05 UTC
11.04 is and end-of-life release of Ubuntu. It is not supported anymore by Canonical. So we do not need to take care of it too.