https://bugs.kde.org/show_bug.cgi?id=351351

            Bug ID: 351351
           Summary: KF5 Akregator (4.81 beta1) saves autosaved/crashed
                    files in wrong location
           Product: akregator
           Version: GIT (master)
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]

In 4.81 beta1 (and current git master), akregator saves the autosaved/crashed
files into the directory for the user's applications
(~/.local/share/applications). In e.g. Part::autoSaveProperties()
(akregator_part.cpp:841) it uses QStandardPaths::ApplicationsLocation as the
path to save, but I'm really sure that that's not where config/state files
should go, see http://doc.qt.io/qt-5/qstandardpaths.html.

The default value in KConfig is QStandardPaths::GenericConfigLocation, but if
you want to change it to this maybe you should also think about whether it
might not be better to also name the files differently so the user can see
right away to which application they belong (I only knew because I remembered
that files with those names used to be in akregator's directory in ~/.kde4/...)
and to prevent name clashes.

Reproducible: Always

Steps to Reproduce:
1. Start (for crashed) and close (for autosaved) akregator.

Actual Results:  
Files are saved to applications directory.

Expected Results:  
Files are saved to appropriate place.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to