Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85969631
D384.1796226898.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
1 KB
Referenced Files
None
Subscribers
None
D384.1796226898.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
@@ -82,7 +91,7 @@
property var nameProvider: Kazv.UserNameProvider {
user: member
}
- onPressed: {
+ onClicked: {
activateUserPage(member, room);
readIndicatorDrawer.close();
}
@@ -112,5 +121,5 @@
}
}
- onPressed: readIndicatorDrawer.open()
+ onClicked: readIndicatorDrawer.open()
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 7:54 AM (21 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1854670
Default Alt Text
D384.1796226898.diff (1 KB)
Attached To
Mode
D384: Make event read indicator behave like a button
Attached
Detach File
Event Timeline