2008-10-26 12:39:30

by Bastien Nocera

[permalink] [raw]
Subject: [PATCH] Sort devices by type in the treeviews

Sorting by RSSI means that the devices just around in the treeview
which is painfully annoying.


Attachments:
0001-Sort-devices-by-type-in-the-treeviews.patch (937.00 B)

2008-10-27 20:03:32

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Sort devices by type in the treeviews

Hi Bastien,

> > > Sorting by RSSI means that the devices just around in the treeview
> > > which is painfully annoying.
> >
> > we want to sort by RSSI to list devices in range first. However we
> > should extend the sorting to always list already known or paired devices
> > first. This should stop them from moving around.
> >
> > If it stil jumps too much for you, then we might just improve the
> > sorting mechanism to be a little bit more resistance for jumping around,
> > but sorting by type gives us no advantage.
>
> It certainly jumps around far too much. It flickers tens of times a
> second, switching between a phone and the Mac mini just next to it...

then we just need to be smart about it. Meaning we only switch positions
if the RSSI value is a big difference. So that close devices don't jump
that much.

Regards

Marcel



2008-10-27 19:56:22

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Sort devices by type in the treeviews

On Mon, 2008-10-27 at 20:45 +0100, Marcel Holtmann wrote:
> Hi Bastien,
>
> > Sorting by RSSI means that the devices just around in the treeview
> > which is painfully annoying.
>
> we want to sort by RSSI to list devices in range first. However we
> should extend the sorting to always list already known or paired devices
> first. This should stop them from moving around.
>
> If it stil jumps too much for you, then we might just improve the
> sorting mechanism to be a little bit more resistance for jumping around,
> but sorting by type gives us no advantage.

It certainly jumps around far too much. It flickers tens of times a
second, switching between a phone and the Mac mini just next to it...

2008-10-27 19:45:37

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Sort devices by type in the treeviews

Hi Bastien,

> Sorting by RSSI means that the devices just around in the treeview
> which is painfully annoying.

we want to sort by RSSI to list devices in range first. However we
should extend the sorting to always list already known or paired devices
first. This should stop them from moving around.

If it stil jumps too much for you, then we might just improve the
sorting mechanism to be a little bit more resistance for jumping around,
but sorting by type gives us no advantage.

Regards

Marcel