dopamine icon indicating copy to clipboard operation
dopamine copied to clipboard

Does not play double-clicked files on Mac

Open trifon81 opened this issue 1 year ago • 12 comments

If I want to open a file that is not in the library by double clicking it does not start. Only by dragging from the folder into the player it is played.

trifon81 avatar Aug 17 '24 20:08 trifon81

The problem is not solved. Here's what happens: https://mega.nz/file/FVl3WYDB#HKE2eui8t3mSpSU_Uca98nZi3miO7V8UK3Vn-S0iw7k

trifon81 avatar Aug 26 '24 09:08 trifon81

@trifon81 Thanks for the video. This problem seems to be limited to Mac. I'll try to solve that in the next preview.

digimezzo avatar Aug 26 '24 10:08 digimezzo

@trifon81 Could you try to reproduce the problem once more and after that, send me the log file? You'll find the log by going to Advanced > Log file and clicking on "View log":

image

digimezzo avatar Sep 02 '24 04:09 digimezzo

@digimezzo https://mega.nz/file/1N912KKL#BCVNbQM2wkc1eY-zwdWtIRSQNf0Gt-yXBTHVITlHVpI

trifon81 avatar Sep 02 '24 18:09 trifon81

Note to self, for Mac we might have to do something different: https://stackoverflow.com/questions/50935292/argv1-returns-unexpected-value-when-i-open-a-file-on-double-click-in-electron

digimezzo avatar Sep 02 '24 19:09 digimezzo

Note to self, for Mac we might have to do something different: https://stackoverflow.com/questions/50935292/argv1-returns-unexpected-value-when-i-open-a-file-on-double-click-in-electron

Unfortunately, I'm not good at these codes and I don't know how to do it.

trifon81 avatar Sep 02 '24 19:09 trifon81

Maybe if you write the exact code that I just enter in the terminal, it will work.

trifon81 avatar Sep 02 '24 19:09 trifon81

@trifon81 I've created a possible fix, but I don't have a Mac to try it out. Could you try out this build and let me know if files play when double-clicking? The build is here: https://github.com/digimezzo/dopamine/releases/tag/v3.0.0-preview.32-mac-double-click-fix

digimezzo avatar Sep 02 '24 20:09 digimezzo

I've created a possible fix, but I don't have a Mac to try it out. Could you try out this build and let me know if files play when double-clicking? The build is here:

No improvement, same thing.

trifon81 avatar Sep 02 '24 20:09 trifon81

Too bad. Thanks for trying it out. I'll keep looking for a fix.

digimezzo avatar Sep 02 '24 21:09 digimezzo

If you need to send it again, I'll try it.

trifon81 avatar Sep 02 '24 21:09 trifon81

If you need to send it again, I'll try it.

Thanks! I got my hands on a virtual mac test machine. That should hopefully make debugging and testing easier. I'm preparing to release Preview 33 today. Then for Preview 34, the mac port will get full attention. This issue will be handled in preview 34.

digimezzo avatar Sep 04 '24 05:09 digimezzo