I just downloaded the standalone Memory Analyzer 1.2.0 release for Linux x86. I'm trying to run it on Ubuntu 11.04 but I'm getting a weird GUI issue -- there is no main menu. For example, I can't open a heap dump using File > Open Snapshot as described in the basic tutorial. The only way I see is to go from the Welcome/Overview screen.
Does anybody have an idea of what's wrong? Can someone suggest a way to fix this?
Unfortunately we can't try if the standalone MAT versions on all platforms are working correctly before we publish them. (don't have the hadrware for it). We rely on the build tools to do the proper job there, and on our users to tell us if something went wrong. So thanks for the feedback!
I managed to find a pretty old Ubunto image (8.4) and installed MAT 1.2.0 on it. I also took the x86 version and it worked just fine - all menus are there. So it doesn't seem that the installation is fully broken.
I will be interested to hear what is the experience of others - if they also face the same problem as you, and if/how this could be fixed.
I found a fix, of sorts. The problem is with Ubuntu's Global Menu (part of the Unity UI). The menu bar for any window is at the top, rather than with the window itself. It's hidden by defauult; you see the options when you hover over the bar. I've attached a screenshot showing how the options do not appear for MAT.
By disabling the global menu, I see the options again.
This is more of a workaround than anything though. A fix should be made so the options appear even if you are using the global menu bar.
On a different topic, is the tutorial out of date? It says to use File > Open Snapshot, but the actual option (now that I can see it) appears to be File > Open Heapdump.
As I already said I can't try this our at the moment, but I hope I can get somewhere access to the proper OS to test it. Btw, do you have this problem only with MAT, or with Eclipse IDE in general? I don't think MAT is having any special handling there.
Not using Eclipse right now and there are no plans to install it, so I can't say. Sorry! As I said above, it appears that the problem is just with Unity's global menu. After disabling it, the menu options are visible again. Ubuntu 11.10 may exhibit the same issue as it also uses the global menu. I'm not sure about Ubuntu 12.04. Sorry i can't be of more help!