From e571a26552c1cf37e5129772430a936c5f64ef51 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 3 Jan 2022 10:18:21 +0100 Subject: [PATCH] add a fixme about bogus section handling the filtermodel only sorts by timestamp of the device, not the actual types we visualize so you can conceivably have sections appear multiple times ``` Drives -------- /dev/sdc Media Player ------------ /usb/123 Drives ------- /dev/sdd ``` --- .../devicenotifier/package/contents/ui/FullRepresentation.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml index 5ce75eb03..9f91eb700 100644 --- a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml +++ b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml @@ -148,6 +148,8 @@ PlasmaExtras.Representation { //acceptable since one doesn't have a billion of devices cacheBuffer: 1000 + // FIXME: the model is sorted by timestamp, not type, this results in sections possibly getting listed + // multiple times section { property: "Type Description" delegate: Item {