Bug 470379 - Adding icon applet to containment has wrong name/icon
Summary: Adding icon applet to containment has wrong name/icon
Status: RESOLVED WORKSFORME
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-05-28 22:08 UTC by Nicolas Fella
Modified: 2023-07-03 03:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2023-05-28 22:08:10 UTC
STEPS TO REPRODUCE
1. Drag file in Dolphin 
2. Drop onto folder view
3. In drop menu do "Add Icon"

OBSERVED RESULT
An applet named "Icon" with a generic icon is created

EXPECTED RESULT
An applet with the file name and mimetype icon is created. This works in Plasma 5

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.5.0

It looks like the cast in https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/plasmaquick/plasmoid/containmentinterface.cpp#L209 fails so appletInterface->externalData() isn't called
Comment 1 Justin Zobel 2023-06-03 03:43:56 UTC
I can't reproduce this on the latest builds. I dropped an image and a text file on the desktop, used Add Icon and both were created using the correct name and icon. Can you confirm it's fixed?
Comment 2 Bug Janitor Service 2023-06-18 03:45:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-07-03 03:45:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!