Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No file listed in the Open... dialog box, Mac OS Big Sur #2467

Closed
uwf-fang opened this issue Apr 7, 2022 · 15 comments
Closed

No file listed in the Open... dialog box, Mac OS Big Sur #2467

uwf-fang opened this issue Apr 7, 2022 · 15 comments

Comments

@uwf-fang
Copy link

uwf-fang commented Apr 7, 2022

Expected Behavior

Browse and select a file to open.

Current Behavior

No file listed in the open file dialog box.

Possible Solution

No problem using the 0.9.2 version

Steps to Reproduce

  1. Launch gephi
  2. Select Open... from menu

Context

Your Environment

  • Version used: Gephi 0.9.3
  • Operating System: Mac OS Big Sur
@jacomyma
Copy link
Member

jacomyma commented Apr 7, 2022

Similar issue observed by one of my students. No file appears in the browser.
OS: macOS Monterey 12.1

Screenshots of the situation:
MicrosoftTeams-image

MicrosoftTeams-image 2

@jacomyma
Copy link
Member

jacomyma commented Apr 7, 2022

Workaround: drag-and-dropping a file from the desktop into the bar on top of Gephi (where the three buttons "Overview" etc. are) allows opening the files.

@eduramiba
Copy link
Member

I confirm this happens on my Mac (12.3.1). Still not tested on Windows and Linux

@uwf-fang
Copy link
Author

uwf-fang commented Apr 7, 2022

It happens on my wife's Mac desktop and MacBook Air. Both running 0.9.2 now. I have tried drag and drop on the Mac desktop to the empty area in the window and it does not work. Have not tried the bar though.

Edit: Just tried on another MacBook Pro. Same problem. Drag-and-drop to the bar works. Thanks!

@mbastian
Copy link
Member

mbastian commented Apr 7, 2022

Thanks, we'll investigate what the root cause might be. We (Gephi) don't control this window it might be a JRE or Netbeans problem. I wonder if we could be more precise how to isolate the problem:

  1. Does it happen every time?
  2. Does it happen with every folder?

So far I haven't been able to reproduce it locally (12.2.1). Yet.

@mbastian mbastian added UI and removed To review labels Apr 7, 2022
@mbastian mbastian added this to the 0.9.4 milestone Apr 7, 2022
@uwf-fang
Copy link
Author

uwf-fang commented Apr 7, 2022

I have tried with three Macs (an all-in-one, an MBP and an MBA) all with Big Sur installed. It happened every time. Tried many directories, but most of them have nothing listed with "all files" selected. The only exception I found is a directory with a bunch of .pkl files (Python object serialization files) listed.

@mbastian
Copy link
Member

mbastian commented Apr 8, 2022

Thanks, I'm researching and it may have something to do with security preferences on Mac OS. Can you please try the following and let me know if that works:

  1. Launch Gephi Application from a terminal: /Applications/Gephi.app/Contents/MacOS/gephi
    or
  2. Go to Mac OS Preferences > Security & Privacy > Privacy > Full Disk Access > Add Gephi there.
    Thanks!

@Kameronski
Copy link

Kameronski commented Apr 8, 2022

  1. Launch Gephi Application from a terminal: /Applications/Gephi.app/Contents/MacOS/gephi
    or
    Go to Mac OS Preferences > Security & Privacy > Privacy > Full Disk Access > Add Gephi there.

Tried this way, still not working.

(macOS 12.3.1, M1 Mini)

Confirmed @jacomyma 's work around is working for me. Thank you.

@uwf-fang
Copy link
Author

uwf-fang commented Apr 8, 2022

@mbastian
I have tried both on my MBP. The first method solves the problem. Files are listed correctly. The second method makes no change. Still not listing files. Thank you for the suggestions!

I have done more tests. It seems that certain types of files can be listed in certain directory. Everything in the Download directory is not listed. Certain file types including .csv, .jpg, .mp4, etc. can be listed in some directories. It is very random.

@mbastian
Copy link
Member

Thanks for the inquiry. I found the root cause and I'm working on a fix.

Netbeans ran into the same issue and fortunately provided a solution. I'm looking into how to integrate this solution as well.

As a reminder, there are two workarounds:

  1. Drag the file into the top bar (Overview, Data Laboratory etc.) to open it
  2. Launch Gephi Application from a terminal: /Applications/Gephi.app/Contents/MacOS/gephi

@mbastian mbastian self-assigned this Apr 10, 2022
@mbastian mbastian reopened this Apr 11, 2022
@mbastian
Copy link
Member

Hi folks, we've made a fix that should solve this problem. Could you please download and install the nightly build and let me know if that solves the issue:
https://oss.sonatype.org/service/local/artifact/maven/content?r=snapshots&g=org.gephi&a=gephi&v=0.9.4-SNAPSHOT&c=macos-x64&p=dmg

@uwf-fang
Copy link
Author

I have just tried it and it works well! Thank you so much!

@mbastian
Copy link
Member

Thanks, we'll release a new stable version (0.9.4) soon that will include this fix.

@Adicoh
Copy link

Adicoh commented Apr 12, 2022

Thank you @mbastian . It works now!

@mbastian
Copy link
Member

Hi all, the 0.9.4 version of Gephi has been released. Please download this new version to resolve this issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants