winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.86k stars 757 forks source link

UGS 2.1.2 sees empty folders in MacOS Catalina #2383

Closed pmap1993 closed 7 months ago

pmap1993 commented 7 months ago

Version

2.1.2

Hardware / Firmware

GRBL 1.1

What happened

Good day, UGS works well when it's the older version, but I decided to use the newer version today.

I had given Full Disk Access in the Security part of Settings and this is what I see. Screenshot below: Screen Shot 2023-12-08 at 9 20 55 PM

Please note that the version 2.0.20 is perfectly fine! Screenshot below: Screen Shot 2023-12-08 at 9 23 27 PM

This is a newly reformatted laptop, I'm using an old 2012 MacBook for CNC only. Is there something wrong with my program? or I have done something wrong?

How to reproduce

Use the Open File dialog using latest version 2.1.

Operating System

macOS Catalina 10.15.7

Anything else

Older version 2.0.20 didn't even need to have Full Disk Access to be set and it works fine.

pmap1993 commented 7 months ago

UGS 2.1 with Full Disk Access.

Screen Shot 2023-12-08 at 9 26 38 PM

breiler commented 7 months ago

Can you start UGS 2.1.2, click on the menu Tool -> Open log directory and then drag the messages.log file to github.

breiler commented 7 months ago

Never mind, I managed to reproduce the error. I am looking into what happened.

breiler commented 7 months ago

Please try the latest nightly build here: https://github.com/winder/Universal-G-Code-Sender#downloads

pmap1993 commented 7 months ago

Please try the latest nightly build here: https://github.com/winder/Universal-G-Code-Sender#downloads

Sorry for the delay, it gave a similar issue: Screen Shot 2023-12-09 at 10 21 42 PM

I wonder why. I deleted all UGS versions for this Nightly Build test. Also provided Full Disk Access for this build as well..

pmap1993 commented 7 months ago

If it makes a difference, when using UGS 2.0 for the first time (like a new download) in Mac, it asks 'it would like to access your Desktop folder'.. compared to the latest one where it does not.

pmap1993 commented 7 months ago

Screen Shot 2023-12-12 at 6 51 47 PM

Screen Shot 2023-12-12 at 6 53 44 PM

Screen Shot 2023-12-12 at 6 54 56 PM

Hello! I tried the latest 2.1.3, and It still cannot access Desktop, Documents and other User folders. But somehow, it can access files in the 'home' folder. It CAN, however, save a new UGS Project in Desktop despite it being empty in view. It just can't see files in the Finder view of .gcode or .nc files.

There's Full Disk Access for UGS as well.

Screen Shot 2023-12-12 at 6 57 28 PM

This is what it says if I try to open an existing file in Desktop from the Welcome Page (Recent files)... I do apologize for the long post

breiler commented 7 months ago

I do apologize for the long post

No need to apologize, thanks for taking your time testing.

I booted up my old iMac and I was able to reproduce the problem. I have read about other Java based programs that experience the same problem. This seems to be a bug either in the access rights system in MacOSX or in the integration with Java.

I don't think that we can do much about this. You will simply have to place the files in a sub directory in your home folder. =(

pmap1993 commented 7 months ago

I do apologize for the long post

No need to apologize, thanks for taking your time testing.

I booted up my old iMac and I was able to reproduce the problem. I have read about other Java based programs that experience the same problem. This seems to be a bug either in the access rights system in MacOSX or in the integration with Java.

I don't think that we can do much about this. You will simply have to place the files in a sub directory in your home folder. =(

Thank you for trying to update it

breiler commented 7 months ago

I am closing this as there is nothing we can do about it.

Sorry.