-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Saving screenshot is the wrong format (the one above in the list) #2270
Comments
Thanks, I can confirm this. |
I can take this |
Great thanks for the help |
This looks like a bug on Qt. Even the smallest of the sample has that issue. |
If you have a very minimal example can you try building against a newer Qt version? Perhaps even Qt6? I dont really want to use the DontUseNativeDialog option, it makes the Dialog box look terrible on most platforms. |
I have tried against QT 6.2.2 and it has the same behaviour unfortunately. EDIT: actually I think there is an alternative to keep the native dialog and get it working, which is to go through |
I wonder if it's a bug related to auto generating the file formats. In 10.2 we specifically enumerated a few types, but it 11 we auto generate all possible types. #2307 uses the non-native dialogs which we used once before to fix a small bug and got a significant amount of negative feedback. This is the commit that changed the file format behavior: 3cad808 |
Don't think so. I have created a new project which replicates what we are trying to do in production and tested with different versions of Qt. This is the sample used.
|
Was this also a problem in 10.2 then? |
Did you try posting this on the Qt forums? Usually if you post a minimal example to demonstrate the issue they quickly help. |
I am not sure how they can help. I bet they will tell me to use non-native dialog option. It is clear that the behaviour is in Qt 5.x and Qt 6.x.
|
sorry this was me with the wrong account if it wasn't obvious 😬 |
Solved with #2379 |
Flameshot Version
Flameshot v11.0.0 (ad1bf28)
Compiled with Qt 5.15.2
darwin: 20.6.0
osx: 11.6
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
Big Sur 11.6.2
Description
When saving a screenshot and I have to select the format it's always off-by-one. Starts with tiff selected and if saved it would save it as PNG, if I select jpeg it will be jp2 instead, etc etc
if I select the topmost (bitmap), it keeps using bitmap.
Steps to reproduce
Screenshots or screen recordings
No response
System Information
MacOS Big Sur 11.6.2
The text was updated successfully, but these errors were encountered: