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

--- Comment #11 from Artem S. Tashkinov <a...@gmx.com> ---
(In reply to Volker Krause from comment #10)

This is all quite sad to hear.

Not meaning anything personal, but it all sounds like "We didn't put too much
thought into storing all the settings in ~/.config and now we don't want to fix
the mess because some people will be mad".

Weirdly, I vividly remember that throughout KDE3 releases there was some KDE
daemon which updated configuration files when necessary and kept track of them.
Looks like this has become an impossible task despite many more KDE developers
nowadays and simple tools like grep for fixing this issue in code.

Here's something which could solve the issue:

```C++
bool fileExists(QString path) {
    QFileInfo check_file(path);
    // check if file exists and if yes: Is it really a file and no directory?
    if (check_file.exists() && check_file.isFile()) {
        return true;
    } else {
        return false;
    }
}

QDir dir;

if (fileExists("$HOME/.config/$appname.conf" &&
!fileExists("$HOME/.config/kde6/$appname.conf"))
    dir.rename(QLatin1String("$HOME/.config/appname.conf"),
QLatin1String("$HOME/.config/kde6/appname.conf"));
```

If you're opposing to fixing this issue, it's worth closing as WONTFIX. As for
me I will continue to use XFCE4. Yes, this bug is probably the biggest issue I
refuse to use KDE (and I ran KDE3.5.10 for almost a decade after you stopped
supporting it). I like my $HOME neatly organized and considering this bug
duplicates I'm not alone in my aspirations.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to