patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.63k stars 351 forks source link

--life-coding or -l isn't working #363

Open 4ugusta opened 1 month ago

4ugusta commented 1 month ago

I am running glsl viewer with the command " glslViewer -l test.frag " and while it does open a glslviewer window, it does not appear on top of vs code.

4ugusta commented 1 month ago
Screenshot 2024-07-29 at 11 08 18 PM

i gotta use it like this cuz of that

patriciogonzalezvivo commented 1 month ago

have you try like this glslViewer test.frag -l

4ugusta commented 1 month ago

yup and still doesn't work

patriciogonzalezvivo commented 1 month ago

Mmmm... that's weird. Just to double check, if you

  1. manually move glslViewer over VS.
  2. then click on VS Code

glslViewer get's ocludded by VS? or remains visible??

patriciogonzalezvivo commented 1 month ago

Also, do you mind adding your OS version?

4ugusta commented 1 month ago

i am using mac book m1 chip

OS : Sonoma 14.5

i wanna use glslviewer as a floating window on vs code but what keeps happening is

it opens seperately and doesn't come on top when i use --life-coding

Screenshot 2024-07-30 at 12 38 15 AM Screenshot 2024-07-30 at 12 38 24 AM

or if i try sharing the screen

the glsl viewer window ends up taking the whole space messing up everything

Screenshot 2024-07-30 at 12 39 27 AM

which is why i gotta use it like i have shown above

patriciogonzalezvivo commented 1 month ago

Thank you for all the details. You are right this is an bug. My guess this will require to update GLFW to the latest version, can do that when I upgrade to MacOS 14.5.

Thank you for surface it.

4ugusta commented 1 month ago

Sure bud, it would be best if it works normal soon. Its hard like it.