Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No name auto-substitution #1548

Open
Ercogx opened this issue Apr 9, 2021 · 8 comments
Open

No name auto-substitution #1548

Ercogx opened this issue Apr 9, 2021 · 8 comments
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.

Comments

@Ercogx
Copy link

Ercogx commented Apr 9, 2021

System:
Host: ercogx-pc Kernel: 5.10.23-1-MANJARO x86_64 bits: 64
Desktop: GNOME 3.38.4 Distro: Manjaro Linux
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nouveau
v: kernel
Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
Display: wayland server: X.org 1.20.10 driver: loaded: nouveau
unloaded: modesetting resolution: <missing: xdpyinfo>
OpenGL: renderer: NV167 v: 4.3 Mesa 20.3.4

Flameshot version
Flameshot v0.9.0
Compiled with Qt 5.15.2

Describe the bug
When I take a screenshot and try to save it I always get an empty field for the name.

Expected behavior
I have filled in the file name editor and the following mask% F_% H is used

@borgmanJeremy
Copy link
Contributor

That mask is invalid so it's being filtered out. It's best b to create the mask using the buttons. Or reference. https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strftime-wcsftime-strftime-l-wcsftime-l?view=msvc-160

@Ercogx
Copy link
Author

Ercogx commented Apr 9, 2021

That mask is invalid so it's being filtered out. It's best b to create the mask using the buttons. Or reference.

No matter which mask I choose I always have an empty field in the file name. By the way, KDE had no problems with this

@borgmanJeremy
Copy link
Contributor

Even if you create the mask using the buttons?

@Ercogx
Copy link
Author

Ercogx commented Apr 9, 2021

Even if you create the mask using the buttons?

Yes, if I use only buttons I have same problem

@borgmanJeremy
Copy link
Contributor

Ok thanks I'll see if I can replicate it later. Double check your locale is properly configured, that's the only other thing I believe would affect this.

@Ercogx
Copy link
Author

Ercogx commented Apr 9, 2021

Ok thanks I'll see if I can replicate it later. Double check your locale is properly configured, that's the only other thing I believe would affect this.

Thank you, I have all system in English if you about this

@mmahmoudian
Copy link
Member

@Ercogx what is the output of locale when you run it in terminal? Mine looks like the following:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

@mmahmoudian mmahmoudian added the Unconfirmed Bug The bug is not confirmed by anyone else. label Apr 9, 2021
@Ercogx
Copy link
Author

Ercogx commented Apr 9, 2021

@Ercogx what is the output of locale when you run it in terminal? Mine looks like the following:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

I figured out what kind of locale you are talking about, so really I have something set up for my region for convenience

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=uk_UA.UTF-8
LC_TIME=uk_UA.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=uk_UA.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=uk_UA.UTF-8
LC_NAME=uk_UA.UTF-8
LC_ADDRESS=uk_UA.UTF-8
LC_TELEPHONE=uk_UA.UTF-8
LC_MEASUREMENT=uk_UA.UTF-8
LC_IDENTIFICATION=uk_UA.UTF-8
LC_ALL=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.
Projects
None yet
Development

No branches or pull requests

3 participants