Bug 494143

Summary: Unable to add a JPEG as photo.
Product: [Applications] kgpg Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 24.08.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Reproduction screencast.

Description Roke Julian Lockhart Beedell 2024-10-05 00:15:44 UTC
Created attachment 174436 [details]
Reproduction screencast.

SUMMARY
-------
I am unable to add a JPEG as the avatar of a new key.

STEPS TO REPRODUCE
------------------
1. Resize a JPEG to the recommended 6 KiB.
2. Invoke the file picker from KGPG to add it as an avatar.

OBSERVED RESULT
---------------
No file is considered to be of the expected MIME type - files appear momentarily, then disappear.

EXPECTED RESULT
---------------
I should be able to select a JPEG to add.

SOFTWARE/OS VERSIONS
--------------------
> ```YAML
>       Operating System: Fedora Linux 40
>     KDE Plasma Version: 6.1.5
> KDE Frameworks Version: 6.6.0
>             Qt Version: 6.7.2
>         Kernel Version: 6.10.12-200.fc40.x86_64 (64-bit)
>      Graphics Platform: Wayland
>             Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
>                 Memory: 30.5 GiB of RAM
>     Graphics Processor: AMD Radeon RX 5700
>           Manufacturer: ASRock
>           Product Name: X670E Taichi
> ```

ADDITIONAL INFORMATION
----------------------
Kleopatra doesn't include this functionality, and I wasn't able to get it to work via the command-line, so I've been unable to evaluate the alternatives. Apologies.