You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash on Windows when pasting images from clipboard (ERR_INVALID_URL_SCHEME) #12547
Activity
github-actions commentedon Feb 7, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
yxshee commentedon Feb 7, 2026
#12592
Fixed crash when pasting images from clipboard on Windows 11.
Error:
TypeError: The URL must be of scheme file (ERR_INVALID_URL_SCHEME)Root Cause
In prompt.ts, the switch statement at line 946 handles URL protocols:
case "data:"only processestext/plainmime types, thenbreaksimage/png), the condition fails and falls through tocase "file:"fileURLToPath()is called on adata:URL → crashgithub-actions commentedon Apr 9, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.