Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85967662
D384.1795971012.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
992 B
Referenced Files
None
Subscribers
None
D384.1795971012.diff
View Options
diff --git a/src/contents/ui/EventReadIndicator.qml b/src/contents/ui/EventReadIndicator.qml
--- a/src/contents/ui/EventReadIndicator.qml
+++ b/src/contents/ui/EventReadIndicator.qml
@@ -13,7 +13,7 @@
import '.' as Kazv
import 'matrix-helpers.js' as Helpers
-ItemDelegate {
+AbstractButton {
id: readIndicator
property var shouldShow: true
property var model
@@ -21,7 +21,16 @@
property var avatarSize: Kirigami.Units.iconSizes.sizeForLabels || Kirigami.Units.iconSizes.small / 2
property var actualItems: Math.min(model.count, maxItems)
+ focusPolicy: Qt.StrongFocus
+ leftInset: 0
+ topInset: 0
+ bottomInset: 0
+ rightInset: 0
+ padding: Kirigami.Units.smallSpacing
visible: shouldShow && readIndicator.model.count > 0
+ background: Kazv.FocusRingBackground {
+ target: readIndicator
+ }
contentItem: RowLayout {
id: layout
@@ -112,5 +121,5 @@
}
}
- onPressed: readIndicatorDrawer.open()
+ onClicked: readIndicatorDrawer.open()
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 29, 8:50 AM (9 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1852163
Default Alt Text
D384.1795971012.diff (992 B)
Attached To
Mode
D384: Make event read indicator behave like a button
Attached
Detach File
Event Timeline