Skip to content

Commit

Permalink
fix: Cannot open apps inside folders with keyboard
Browse files Browse the repository at this point in the history
Key events are filtered by upper droparea delegate, and need to be
forwarded to inner IconItemDelegate.

Issue: linuxdeepin/developer-center#9930
Log: Cannot open apps inside folders with keyboard
  • Loading branch information
ArchieMeng committed Jul 26, 2024
1 parent bed5528 commit a7efebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qml/FolderGridViewPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ Popup {

dropOnItem(dragId, model.desktopId, op)
}
Keys.forwardTo: [innerItem]

IconItemDelegate {
id: innerItem
anchors.fill: parent
dndEnabled: true
displayFont: isWindowedMode ? DTK.fontManager.t9 : DTK.fontManager.t6
Expand Down

0 comments on commit a7efebd

Please sign in to comment.