Bug 420350

Summary: ContextDrawer ignores Action displayComponent
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Rinigus <rinigus.git>
Component: generalAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: normal CC: rinigus.git
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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