broulik created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY GridView doesn't have an itemAt(index) method, just indexAt(x,y). This workaround emits a signal to which the delegates listen to and then set currentItem to itself it the item is the current one. TEST PLAN This will be used for opening the context menu at the current item in response to a keyboard press. There might be other usescases. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D4961 AFFECTED FILES containments/desktop/package/contents/ui/FolderItemDelegate.qml containments/desktop/package/contents/ui/FolderView.qml To: broulik, #plasma, hein Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
