[Konsole-devel] [konsole] [Bug 364336] Yakuake forgets profile settings

Wolfgang Bauer via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jul 2 11:05:34 UTC 2016


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

Wolfgang Bauer <wbauer at tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|hein at kde.org                |konsole-devel at kde.org
            Product|yakuake                     |konsole
          Component|general                     |kpart
            Version|3.0.2                       |16.04.2

--- Comment #2 from Wolfgang Bauer <wbauer at tmo.at> ---
This is actually a bug/regression in konsole.

konsole's ProfileWriter.cpp has been changed to:
#if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
    static const QString localDataLocation =
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) +
QStringLiteral("/konsole");
#else
    static const QString localDataLocation =
QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
#endif

AppLocalDataLocation contains the application name, which is "yakuake" if it is
embedded in yakuake.
But the ProfileReader.cpp still uses:
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) +
QStringLiteral("/konsole");

So there's a mismatch when built against Qt 5.4.0 or higher (if konsole-part is
embedded in another application than konsole).

Reassigning to konsole therefore.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list