ddavisqa / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

Headless operation on OS X leaves Dock icon bouncing #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add -Drefine.headless=true to OS X's Refine info.plist
2. restart Refine

What is the expected output? What do you see instead?

I'd expect the app icon in the dock to stop bouncing and show as loaded once 
it's loaded & running. What happens instead is the icon keeps bouncing even 
though the app is running headlessly quite fine. (I guess it's waiting for a 
Menu bar or something.)

What version of Google Refine are you using?

2.0 1836

What operating system and browser are you using?

OS X

Is this problem specific to the type of browser you're using or it happens
in all the browsers you tried?

Not browser specific

Original issue reported on code.google.com by paulm%pa...@gtempaccount.com on 13 Apr 2011 at 4:55

GoogleCodeExporter commented 9 years ago
Does anyone use Google Refine on mac?  Can you say if this problem still exists?

Who knows exactly what headless mode does?  I expect that mostly, it doesn't 
try to run the web browser.  Anything else?

We are trying to automate Google Refine through command-line and scripting 
environment, and we are not finding a lot of instances where anyone else has 
done this.  I have successfully built a Selenium test case that executes the 
actions that we want to have done, but my boss has the idea that if any part of 
a desktop OS is needed to do ETL with Google Refine, then it's not happening 
for us.

Anyone out there using headless mode now?

Original comment by XULRunne...@gmail.com on 20 Apr 2012 at 6:39

GoogleCodeExporter commented 9 years ago
The relevant code is in 
/home/tfmorris/workspace/grefine-all/server/src/com/google/refine/Refine.java 

In addition to not using the Java Desktop APIs to open a new browser window, 
headless mode also skips some Mac-specific code to create a menu item.

The developer list is the best place to ask questions.  The issue tracker is 
for bug reports and enhancement requests. (But please rephrase your bosses 
objection in a way that a software engineer would understand when reposting to 
the dev list).

Original comment by tfmorris on 20 Apr 2012 at 11:00

GoogleCodeExporter commented 9 years ago
r2492 includes a fix which I believe will make this problem go away, but I 
don't have a Mac to test with.

Paul (or anyone else with a Mac) - please verify and reopen if this doesn't 
cure the problem.

Original comment by tfmorris on 20 Apr 2012 at 11:12

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 5:38