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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |9a6336387a42af3639d85a26b65 |985180895292b612c2e96d8c17e
                   |b3337dda3e360               |7fcf54b698a84

--- Comment #12 from Nate Graham <n...@kde.org> ---
Git commit 985180895292b612c2e96d8c17e7fcf54b698a84 by Nate Graham.
Committed on 23/01/2025 at 22:18.
Pushed by ngraham into branch 'Plasma/6.3'.

applets/folder: Don't use DesktopSchemeHelper::getFileUrl to get title

It isn't needed since we don't directly display it to the user; instead
we poke and prod it in various ways and then return the processed
string. This means we need the original URL, not a modified version of
it, which makes KFilePlacesModel::closestItem() return the wrong thing.

KFilePlacesModel::closestItem() isn't doing anything technically
incorrect here; it's our problem for giving it malformed data.

This fixes the Folder View widget having the wrong title when showing
the contents of desktop:/, as it does by default.
FIXED-IN: 6.3.0


(cherry picked from commit 9a6336387a42af3639d85a26b65b3337dda3e360)

Co-authored-by: Nate Graham <n...@kde.org>

M  +1    -1    containments/desktop/plugins/folder/labelgenerator.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/985180895292b612c2e96d8c17e7fcf54b698a84

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

Reply via email to