yyoon / azurite-eclipse

Adding Zest to Undoing and Restoring Improves Textual Exploration: A selective undo plug-in for Eclipse
http://www.cs.cmu.edu/~azurite/
9 stars 2 forks source link

Timeline view don't work #7

Closed aVolpe closed 10 years ago

aVolpe commented 10 years ago

The timeline view don't work in my enviroment:

I check and I have installer the libwebkitgtk-1_1-0 installed, th eTimeline View is like: image

The Code History diff and other features that don't include the use of the Timeline View works fine.

The Eclipse error log don't show any message or error related to the plugin.

yyoon commented 10 years ago

Thanks for reporting this. Frankly, I'm not a Linux expert, and only have tested it on Ubuntu environment once. Even on Ubuntu, I had a hard time figuring out the right settings to make it work. I'll try to get OpenSuse installed and see how it works.

aVolpe commented 10 years ago

If you gave me a guide or a checklist of things that need to work, I can help you find what is wrong!, the problem is that I don't see any error o warnings about the plugin, It have a log somewhere?

yyoon commented 10 years ago

No, currently the tool does not leave any error logs. (it probably should..) The key is that the timeline view is dependent on the embedded browser control. The browser engine could be either WebKit or Mozilla on Linux machines, and only WebKit is compatible with Azurite because Mozilla does not support some features Azurite uses.

What I did on Ubuntu was making sure that Eclipse uses WebKit for its embedded browser controls. http://www.eclipse.org/swt/faq.php#browserwebkitgtk The above link or related Q&A sections should help configuring that properly.

By looking at your screenshot, though, it looks like the JavaScript is not working in the timeline. I'll go and check if there is a way to turn it on explicitly.

aVolpe commented 10 years ago

I tried add the following to my eclipse.ini (before the -vmargs part):

-Dorg.eclipse.swt.browser.UseWebKitGTK=true                                                                                                                                                                                           
-Dorg.eclipse.swt.browser.DefaultType=webkit

With the same result, and checking the version of the libraries, all seems fine.

btw, thanks for your time!, it is a great plugin!

yyoon commented 10 years ago

My pleasure. You should probably add those two lines "after" the -vmargs line, by the way.

Interestingly, I just tried installing Azurite on OpenSUSE 13.1 with KDE desktop, with the latest version of Eclipse (Eclipse Luna 4.4), the timeline works fine with the default configuration.

How did you check you have the webkit installed? I'm not very familiar with the package manager in OpenSUSE.

aVolpe commented 10 years ago

Duh!, you are rigth, the parameters go after the -vmars, this fixed the issue, now it's works!

image

The colors are wrong, but that is because the dark theme.

I think the parameters go before the vmargs because it's a SWT param.

Btw, for see the package information in OpenSuse you can use zypper info libwebkitgtk-1_0-0.

Thanks very much for the plugin and for the help.

yyoon commented 10 years ago

Great to see that it's working! Thanks for the information about zypper tool.