opensnitch icon indicating copy to clipboard operation
opensnitch copied to clipboard

[Feature Request] Add icons to column headers to indicate sort direction

Open NormPlum opened this issue 10 months ago • 3 comments

Summary:

You can click on a column header to sort by it, and to change the sort direction. However there's currently no indication as to which column a table is currently sorted by, or in what direction.

I suggest adding an icon (like an up or down arrow/caret) to the currently-sorted column header in the direction that it's sorted.

For example, here's what it looks like now when sorted by Name (asc):

Image

And here's what I'm suggesting it could look like instead:

Image

NormPlum avatar Feb 27 '25 10:02 NormPlum

The problem I think is the custom views we're using. The same problem occurs when reordering the columns, there's no visual indicator that you're dragging something.

I'll investigate it a bit more.

gustavo-iniguez-goya avatar Mar 04 '25 21:03 gustavo-iniguez-goya

Great idea @NormPlum !

tredondo avatar Mar 06 '25 06:03 tredondo

Isn't the interface using some Qt? If it is, I think someone can look at Qbittorrent for inspiration how this can be done. There both the up / down arrows appear for showing the sorting order and the columns can also be moved. Albeit for moving, I don't see any clear visual indication between which columns I'm dropping the one that I'm dragging.

Danny3 avatar May 30 '25 20:05 Danny3