[GH-ISSUE #837] Save as: Filename formatters / template variables: Removed in 2.28.0? #658

Closed
opened 2026-02-26 09:32:13 +03:00 by kerem · 2 comments
Owner

Originally created by @tony on GitHub (Apr 21, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/837

Hi! Thank you for the application @NickeManarin!

Regarding 2.28, I currently format via this:

?yyyy-MM-dd HH-mm-ss? - PR number - my mesage

In 2.27, this works.

In 2.28, there's still a tooltip (src), but trying to use these will produce an error:

image

image

The output file name contains one or more invalid characters. Please, select a valid file name. (via S.SaveAs.Warning.Filename.Invalid)

    <s:String x:Key="S.SaveAs.Warning.Filename.Invalid">The output file name contains one or more invalid characters. Please, select a valid file name.</s:String>

See also: #282

Originally created by @tony on GitHub (Apr 21, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/837 Hi! Thank you for the application @NickeManarin! Regarding [2.28](https://github.com/NickeManarin/ScreenToGif/releases/tag/2.28), I currently format via this: `?yyyy-MM-dd HH-mm-ss? - PR number - my mesage` In 2.27, this works. In 2.28, there's still a tooltip ([src](https://github.com/NickeManarin/ScreenToGif/blob/10e7eacc432a6153d69a5f613aeacc4098d3fbf4/ScreenToGif/Resources/Localization/StringResources.en.xaml#L1694)), but trying to use these will produce an error: ![image](https://user-images.githubusercontent.com/26336/115609297-fac19f80-a2ac-11eb-8b0c-041d72bf36f6.png) ![image](https://user-images.githubusercontent.com/26336/115609437-25135d00-a2ad-11eb-8100-5ef43a38d0fe.png) > The output file name contains one or more invalid characters. Please, select a valid file name. (via `S.SaveAs.Warning.Filename.Invalid`) ```xml <s:String x:Key="S.SaveAs.Warning.Filename.Invalid">The output file name contains one or more invalid characters. Please, select a valid file name.</s:String> ``` See also: #282
kerem 2026-02-26 09:32:13 +03:00
Author
Owner

@NickeManarin commented on GitHub (Apr 21, 2021):

Thanks for the feedback!
The validation was moved to before the filename was properly resolved (that's why it was not working properly).

A new release should be available in a few hours.

<!-- gh-comment-id:824324489 --> @NickeManarin commented on GitHub (Apr 21, 2021): Thanks for the feedback! The validation was moved to before the filename was properly resolved (that's why it was not working properly). A new release should be available in a few hours.
Author
Owner

@tony commented on GitHub (Apr 21, 2021):

Thank you @NickeManarin !

<!-- gh-comment-id:824365863 --> @tony commented on GitHub (Apr 21, 2021): Thank you @NickeManarin !
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#658
No description provided.