processing / processing/processing4

"Problem with rename: .glsl is not a valid extension" when creating a new tab for shader code

Open
#735 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

Created by: ranaaditya

Description

Hi, I am trying to make a skecth with fragmetn and vertex shaders, but on creating new file I am getting ".glsl is not a valid extension". It worked fine for Older version of Processing.

Any possible help is appriciable !

Expected Behavior

Expected behavior is to create file with glsl extension

Current Behavior

not creating file instead showing error in creating glsl file

Steps to Reproduce

  1. open PDE in MacOS (Processing 4.2)
  2. create new tab -> file_name.glsl
  3. There you go

Your Environment

  • Processing version: Processing 4.2
  • Operating System and OS version: MacOS Venture 13.4
  • Other information:

Possible Causes / Solutions

Not sure maybe some API change in macos in processing (maybe I am not up to date with latest changes)

Screenshot 2023-06-19 at 8 58 40 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the PDE's new-tab handling and reproduce the error on Processing 4.2 with a filename ending in .glsl on macOS. Trace how the requested extension is validated, then verify that creating a .glsl tab succeeds without the invalid-extension message.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.