Bug 357095

Summary: [patch] remember last directory in dvdwizard
Product: [Applications] kdenlive Reporter: Michael Vogt <michael.vogt>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 15.12.1
Sentry Crash Report:
Attachments: [patch] remember the previous directory in the "Load" file chooser in dvdwizard
attachment-13469-0.html

Description Michael Vogt 2015-12-23 09:52:33 UTC
While working with the dvd wizard I noticed a small annoyance. When I went back and forth
between my project and the dvd wizard it would bump me back into $HOME so that I had
to crawl down my filesystem to find the previous saved dvdwizard project. This tiny patch fixes
this:

Instead of always starting from "$HOME" when loading a dvd wizard
file, remember the previous directory and use that as the default
when loading files. Useful when returning to the wizard after
making adjustments to the project.

Thanks for considering this tiny patch!
 Michael
Comment 1 Jean-Baptiste Mardelle 2015-12-23 21:15:37 UTC
If you have a patch, can you attach it here ?
Thanks
Comment 2 Michael Vogt 2015-12-23 21:23:06 UTC
Created attachment 96281 [details]
[patch] remember the previous directory in the "Load" file chooser in dvdwizard

Ups, sorry! Here is the patch.
Comment 3 Jean-Baptiste Mardelle 2015-12-23 21:41:56 UTC
Thanks. I fixed it in a slightly different way (using KDE's KRecentDirs) so that the path is remembered when closing/re-opening Kdenlive:
http://commits.kde.org/kdenlive/eab3dc4b29789d0d0d452ac90c13d0a19254d19d

Thanks for your report and patch.
Comment 4 Michael Vogt 2015-12-23 21:46:11 UTC
Created attachment 96282 [details]
attachment-13469-0.html

Nice, thanks a lot!
On 23 Dec 2015 22:41, "Jean-Baptiste Mardelle via KDE Bugzilla" <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=357095
>
> Jean-Baptiste Mardelle <jb@kdenlive.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|---                         |FIXED
>
> --- Comment #3 from Jean-Baptiste Mardelle <jb@kdenlive.org> ---
> Thanks. I fixed it in a slightly different way (using KDE's KRecentDirs) so
> that the path is remembered when closing/re-opening Kdenlive:
> http://commits.kde.org/kdenlive/eab3dc4b29789d0d0d452ac90c13d0a19254d19d
>
> Thanks for your report and patch.
>
> --
> You are receiving this mail because:
> You reported the bug.
>