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

            Bug ID: 374418
           Summary: listAppletInfoForMimeType and potentially others
                    broken after JSON migration
           Product: frameworks-plasma
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libplasma
          Assignee: notm...@gmail.com
          Reporter: k...@privat.broulik.de
  Target Milestone: ---

Since the migration to JSON metadata listAppletInfoForMimeType and potentially
other list things that rely on string lists are broken.

The current code does:
md.value(QStringLiteral("X-Plasma-DropMimeTypes")).contains(mimeType)

but should be doing:
KPluginMetaData::readStringList(md.rawData(),
QStringLiteral("X-Plasma-DropMimeTypes")).contains(mimeType);

If you drop a folder on the desktop you just get an icon widget rather than the
offer to create a Folder View.

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

Reply via email to