Summary: | File/Save acts always acts like "Save as..." | ||
---|---|---|---|
Product: | [Applications] kturtle | Reporter: | Alexander Wessel <flexx> |
Component: | general | Assignee: | Cies Breijs <cies> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | giorgosk67, mikhail.krutov |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=156322 https://bugs.kde.org/show_bug.cgi?id=156328 |
||
Latest Commit: | https://invent.kde.org/education/kturtle/commit/1231d7ec0cca095d17dea5a5efedd89d67024ed5 | Version Fixed In: | |
Sentry Crash Report: |
Description
Alexander Wessel
2019-02-10 00:47:56 UTC
I just realized that this happens only to *new* scripts, not to scripts that have been opened before via "File/Open" or the Open... button. So to reproduce: 1. File/New 2. File/Save - Dialog appears, save the file. 3. File/Save - Dialog appears again. setCurrentUrl() is only called for non-local URLs. Adding it for the case when saving to local URLs should be easy to add to https://cgit.kde.org/kturtle.git/tree/src/editor.cpp#n244 I've put a small patch which fixes it for a review: https://phabricator.kde.org/D19769 Git commit 036fffed7ae1a422f543c43160453db4c02c7c26 by Albert Astals Cid, on behalf of Mikhail Krutov. Committed on 17/03/2019 at 22:57. Pushed by aacid into branch 'Applications/19.04'. Fix File/Save acts always acts like "Save as..." Subscribers: apol, aacid, kde-edu Tags: #kde_edu Differential Revision: https://phabricator.kde.org/D19769 M +21 -13 src/editor.cpp https://invent.kde.org/kde/kturtle/commit/036fffed7ae1a422f543c43160453db4c02c7c26 *** Bug 405199 has been marked as a duplicate of this bug. *** Git commit 1231d7ec0cca095d17dea5a5efedd89d67024ed5 by Albert Astals Cid, on behalf of Mikhail Krutov. Committed on 17/03/2019 at 22:55. Pushed by aacid into branch 'arcpatch-D19769'. Fix File/Save acts always acts like "Save as..." Subscribers: apol, aacid, kde-edu Tags: #kde_edu Differential Revision: https://phabricator.kde.org/D19769 M +22 -13 src/editor.cpp https://invent.kde.org/education/kturtle/commit/1231d7ec0cca095d17dea5a5efedd89d67024ed5 |