Bug 427834

Summary: Export reference images set by default adds "." instead of full extension
Product: [Applications] krita Reporter: Tiar <tamtamy.tymona>
Component: Tools/Reference ImagesAssignee: Sachin Jindal <jindalsachin01>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, jindalsachin01
Priority: NOR    
Version: 4.4.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tiar 2020-10-16 20:06:03 UTC
SUMMARY
Krita by default saved the reference images set with a period but without an extension, making it impossible to load it later.


STEPS TO REPRODUCE
1. Create a document, add reference images.
2. Select Reference Images Tool, go to Tool Options.
3. Use "Export reference images set" button.
4. Note that by default "All supported formats" is selected instead of "Krita Reference Images Collection".
5. Use a name without extension, for example "refcollection"

OBSERVED RESULT
The collection was saved as "refcollection." (note the period at the end).
Important note: later user cannot load it, because Krita can only see ".krf" files, and the "refcollection." isn't one.

EXPECTED RESULT
The collection is saved either as "refcollection" or, preferably, "refcollection.krf". The user can load later load it.


SOFTWARE/OS VERSIONS
Krita

 Version: 4.4.0
 Languages: en_US, en, en_US, en, en_US, en, pl_PL, pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9
Comment 1 Ahab Greybeard 2021-04-04 18:57:00 UTC
I can confirm this for the Apr 04 5.0.0-prealpha (git 4e05187) appimage.
Setting to Confirmed.

(If it's been Assigned, does it need to be Confirmed?)
Comment 2 Sachin Jindal 2021-05-18 09:02:40 UTC
The request has been resolved by this MR https://invent.kde.org/graphics/krita/-/merge_requests/820