Bug 400301

Summary: Command "Save as" not working
Product: [Applications] lokalize Reporter: Valter Mura <valtermura>
Component: generalAssignee: Simon Depiets <sdepiets>
Status: RESOLVED DUPLICATE    
Severity: normal CC: shafff
Priority: NOR    
Version First Reported In: 2.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Valter Mura 2018-10-25 15:47:45 UTC
SUMMARY

When using the command "Save as" (in other folder than the project one), the command doesn't save the gettext file

STEPS TO REPRODUCE
1. Open within Lokalize a gettext file
2. Click the "Save as" command, choose a location
3. Click on button "Save"

OBSERVED RESULT

The file is not save in the target folder, the folder is empty

EXPECTED RESULT

The file *should be saved* in the target folder

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
KDE neon Developer Edition

Same behavior experienced in Kubuntu up to 18.04
Comment 1 Simon Depiets 2018-10-26 03:13:07 UTC
If you amend the file then do Save As, does it work correctly ?
Comment 2 Valter Mura 2018-10-26 09:54:47 UTC
What do you mean for "amend the file"? Edit and save again it?
Comment 3 Simon Depiets 2018-10-26 10:19:59 UTC
Yes, add a space on a message before doing Save As for instance, does it save the file ?

That was an issue solved in https://bugs.kde.org/show_bug.cgi?id=364093 normaly
Comment 4 Valter Mura 2018-10-26 10:57:33 UTC
Yes, already tried. I can save normally, but if I "save as" and change folder, Lokalize doesn't save.
Comment 5 Valter Mura 2018-10-26 16:50:04 UTC
Ok. I tried a different way and it partially works.

If I "save as" an *unsaved* file in another folder, the command works.

If I save an unsaved file and then *save as* the "saved" file in another folder, it *does not work*.

So, I suppose this is a bug, because I need to mantain my project grouped in my project folders, but after I need to "save as only some files" (updated ones)
Comment 6 Simon Depiets 2018-10-27 01:57:08 UTC
Yes, this bug has been fixed in 364093 on master branch but the change was not propagated to 18.08 branch

*** This bug has been marked as a duplicate of bug 364093 ***