Bug 326371

Summary: Kolourpaint defaults to .jpe extension instead of .jpg or .jpeg
Product: [Unmaintained] kio Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: minor CC: martin, nate
Priority: NOR    
Version First Reported In: 4.10.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2013-10-21 10:37:10 UTC
When choosing JPEG from the Save As dialog, it defaults to .jpe extension instead of .jpg or .jpeg.
The filter used is "JPEG-Bild (*.jpe *.jpg *.jpeg)"

Reproducible: Always
Comment 1 Martin Koller 2013-12-29 13:02:27 UTC
This is not kolourpaint specific. It's handled by the kdelibs class KFileDialog - reassigning.
Still, I can not reproduce on my openSuse 13.1 system. The shared mime database file
/usr/share/mime/image/jpeg.xml
contains the extensions in the following order:
  <glob pattern="*.jpeg"/>
  <glob pattern="*.jpg"/>
  <glob pattern="*.jpe"/>
 
I assume this order is the reason why here I always get .jpeg as default.
I have no idea how windoze gets the mime types
Comment 2 Nate Graham 2018-04-25 22:39:35 UTC
Saves as .jpeg in Frameworks 5.45.