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

Unable to Create Files or Folders Through the File Actions Modal #3329

Closed
Jatin24062005 opened this issue Jan 31, 2025 · 5 comments · Fixed by #3343
Closed

Unable to Create Files or Folders Through the File Actions Modal #3329

Jatin24062005 opened this issue Jan 31, 2025 · 5 comments · Fixed by #3343

Comments

@Jatin24062005
Copy link
Contributor

p5.js version

No response

What is your operating system?

Windows

Web browser and version

1.74.51 Chromium: 132.0.6834.160 (Official Build) (64-bit)

Actual Behavior

When I try to create a file or folder through the Sketch pop-up using my touchpad, it doesn't work. However, it works fine when I use a mouse. This is quite frustrating since I can't always carry a mouse with me. Please look into this issue

Expected Behavior

either i use mouse or touchpad it will have to work well with both but it isn't working with touchpad

Steps to reproduce

Steps:

  1. go to https://editor.p5js.org/
  2. Don't use mouse
  3. Click on '+' icon at sketch Files
  4. than create any file or folder using touchpad

Snippet:

// Paste your code here :)
@raclim
Copy link
Collaborator

raclim commented Jan 31, 2025

Thanks for raising this issue!

It seems like this is happening to another user here in an earlier issue as well. I'm having some trouble recreating this, as it seems to be working on my end.

Since I'm having some difficulties creating the issue, would you be able to share a screenshot or screen recording to help give more insight into what might be happening here? I'm also wondering, does this issue still happen when you try to create a new folder/file using the keyboard instead of a mouse/trackpad?

@Jatin24062005
Copy link
Contributor Author

Jatin24062005 commented Jan 31, 2025

https://github.com/user-attachments/assets/3320a5ff-69f7-4028-8f3c-59be2b4c3e3b
i think there is needed ontap functionality also. to prevent from these issue

@raclim raclim changed the title Create files or Folder not working will using Touchpad.. Unable to Create Files or Folders Through the File Actions Modal Feb 2, 2025
@raclim
Copy link
Collaborator

raclim commented Feb 2, 2025

Thanks so much for attaching the video! It's really helpful to see how this issue is occurring for you. I'll do some further investigation here, but please let me know if any other details that you feel would be helpful comes up!

@lakshay-jainn
Copy link
Contributor

Hello guys, I am new here, i investigated this issue. and found the appropriate solution to this. I have created a pull request for the same. Please check it out. Thank you

Harshit-7373 added a commit to Harshit-7373/p5.js-web-editor that referenced this issue Feb 15, 2025
Unable to Create Files or Folders Through the File Actions Modal - processing#3329
@Harshit-7373 Harshit-7373 mentioned this issue Feb 15, 2025
4 tasks
@Harshit-7373
Copy link
Contributor

@Jatin24062005 I have fixed this issue in my Pull Request.
@raclim Please Review my PR & merge the PR to close the Issue.

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