[GH-ISSUE #382] StG forget gifski when edit .gif file from context menu #316

Closed
opened 2026-02-26 09:30:58 +03:00 by kerem · 3 comments
Owner

Originally created by @byzod on GitHub (Oct 3, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/382

Originally assigned to: @NickeManarin on GitHub.

Extra info:

When open StG with normal way (double click ScreenToGif.exe), the gifski working properly.

The relative gifski path in the Extra page was auto-filled by StG itself after clicking the download button.

Windows 10 x64, StG 2.14.1

Reproduce:
a_1

Expect:

Export to .gif file normally

Actual:

What you see in the image above


BTW, there're some problems when setting the gifski location, I didn't remember how but it was really confusing, maybe you can spend sometime test it

Originally created by @byzod on GitHub (Oct 3, 2018). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/382 Originally assigned to: @NickeManarin on GitHub. **Extra info:** When open StG with normal way (double click ScreenToGif.exe), the gifski working properly. The relative gifski path in the Extra page was auto-filled by StG itself after clicking the download button. Windows 10 x64, StG 2.14.1 **Reproduce:** ![a_1](https://user-images.githubusercontent.com/848607/46404271-3f10e280-c737-11e8-9aeb-b09b168396a7.gif) **Expect:** Export to .gif file normally **Actual:** What you see in the image above --- BTW, there're some problems when setting the gifski location, I didn't remember how but it was really confusing, maybe you can spend sometime test it
kerem 2026-02-26 09:30:58 +03:00
Author
Owner

@NickeManarin commented on GitHub (Oct 7, 2018):

I remember changing how the extras selection/download works.
Did you select (or download) the Gifski while using the current version of the app or with the previous one?

Anyway, I was able to fix this bug. Thanks.
The app was interpreting gifski.dll as C:\Windows\system32\gifski.dll when opening from the Open with context menu.

It was happening with the FFmpeg too.

<!-- gh-comment-id:427675559 --> @NickeManarin commented on GitHub (Oct 7, 2018): I remember changing how the extras selection/download works. Did you select (or download) the Gifski while using the current version of the app or with the previous one? Anyway, I was able to fix this bug. Thanks. The app was interpreting `gifski.dll` as `C:\Windows\system32\gifski.dll` when opening from the `Open with` context menu. It was happening with the FFmpeg too.
Author
Owner

@byzod commented on GitHub (Feb 22, 2023):

I'm getting this error again with the latest version (2.37.2) @NickeManarin

StG location: "C:\App\Something\ScreenToGif\ScreenToGif.exe"

Target gif location: "K:\Down\R\test.gif"

When right click on that gif and right click then choose edit with StG, then try to save the result I got error

FileNotFoundException

Could not find file 'K:\Down\R\gifski.dll'.

   at System.IO.FileInfo.get_Length()
   at ScreenToGif.Util.GifskiInterop..ctor() in C:\Users\nicke\source\ScreenToGif-Current\ScreenToGif\Util\GifskiInterop.cs:line 169
   at ScreenToGif.Util.EncodingManager.Encode(ExportProject project, ExportPreset preset, Int32 id, CancellationTokenSource tokenSource) in C:\Users\nicke\source\ScreenToGif-Current\ScreenToGif\Util\EncodingManager.cs:line 792

Snipaste_2023-02-22_00-31-36

<!-- gh-comment-id:1439798978 --> @byzod commented on GitHub (Feb 22, 2023): I'm getting this error again with the latest version (2.37.2) @NickeManarin StG location: "C:\App\Something\ScreenToGif\ScreenToGif.exe" Target gif location: "K:\Down\R\test.gif" When right click on that gif and right click then choose edit with StG, then try to save the result I got error ``` FileNotFoundException Could not find file 'K:\Down\R\gifski.dll'. at System.IO.FileInfo.get_Length() at ScreenToGif.Util.GifskiInterop..ctor() in C:\Users\nicke\source\ScreenToGif-Current\ScreenToGif\Util\GifskiInterop.cs:line 169 at ScreenToGif.Util.EncodingManager.Encode(ExportProject project, ExportPreset preset, Int32 id, CancellationTokenSource tokenSource) in C:\Users\nicke\source\ScreenToGif-Current\ScreenToGif\Util\EncodingManager.cs:line 792 ``` ![Snipaste_2023-02-22_00-31-36](https://user-images.githubusercontent.com/848607/220597347-03a554f4-a1a6-47b1-90c7-2e19b740fbfc.jpg)
Author
Owner

@NickeManarin commented on GitHub (Feb 23, 2023):

Try setting the fullpath in the extras page.

<!-- gh-comment-id:1442444472 --> @NickeManarin commented on GitHub (Feb 23, 2023): Try setting the fullpath in the extras page.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#316
No description provided.