Bug 420350 - ContextDrawer ignores Action displayComponent
Summary: ContextDrawer ignores Action displayComponent
Status: REPORTED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-20 19:08 UTC by Rinigus
Modified: 2020-04-20 19:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rinigus 2020-04-20 19:08:20 UTC
SUMMARY

To introduce and process pressAndHold signal in context drawer, it was suggested to use displayComponent of Kirigami.Action in contextualActions with Button as a component. Unfortunately, looks like displayComponent is ignored in ContextDrawerActionItem.qml making it impossible. 

Would be great to get a way to introduce pressAndHold signal in context drawer actions. Corresponding use case: https://invent.kde.org/kde/plasma-angelfish/-/issues/26

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.67 -- master