Bug 439016 - 0.50.1 A saved circuit (without .circuit filetype) just shows XML when reloaded
Summary: 0.50.1 A saved circuit (without .circuit filetype) just shows XML when reloaded
Status: CONFIRMED
Alias: None
Product: KTechLab
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Zoltan Padrah
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 05:12 UTC by brewmanz
Modified: 2022-10-02 17:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brewmanz 2021-06-22 05:12:31 UTC
SUMMARY
I saved a simple circuit schematic which was kinda working; I do not recall it telling me to use 'circuit' extension as I did so.
When I restarted the app, it reloaded that file as just XML. When I renamed the file by adding '.circuit', it opened fine (after protests at startup that it couldn't find the file).

STEPS TO REPRODUCE
1. Create new file of type 'Circuit'
2. Add some schematic stuff
3. File - Save As - 'deleteme'
4. Restart KTechLab. 

OBSERVED RESULT
It will reload 'deleteme' as an XML file

EXPECTED RESULT
Either
A) Open the 'deleteme' circuit as a circuit
or
B) Append '.circuit' to circuits saved with an extension

SOFTWARE/OS VERSIONS
Linux Ubuntu 20.04 LTS

/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: Unsure

ADDITIONAL INFORMATION
Add "0.50.1" to Version combobox
Comment 1 Zoltan Padrah 2021-06-22 06:30:30 UTC
Thank you for reporting this issue!

The behavior B) from expected results sounds to me good and should be simple to implement.
Comment 2 Zoltan Padrah 2022-08-09 10:36:18 UTC
Duplicate here :  https://github.com/ktechlab/ktechlab/issues/72