GNOME Bugzilla – Bug 647772
Ubuntu appmenu breaks test cases
Last modified: 2013-04-13 22:24:05 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.
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
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.
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.
Created attachment 187597 [details] Crash stacktrace
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
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?
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?
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.