In most tables, the first column can't be moved. This is done by Qt since for tree-like tables, the decoration would break when moving the column. For flat tables, we should override this behavior.
Description
Revisions and Commits
rLIBKLEO Libkleo | |||
rLIBKLEOe898cece7200 Make first column of tree views movable | |||
rKLEOPATRA Kleopatra | |||
rKLEOPATRA1946c94c67f4 Prevent first column of WebOfTrustWidget and KeyTreeView from being moved |
Event Timeline
I'm not sure this is a good idea. We are trading one UI quirk (all columns except the first one can be moved) with another UI quirk (sometimes all columns can be move and sometimes all columns except the first one can be moved). The first behavior is at least consistent across all views.
Sometimes we decorate rows with an icon (by decorating column 0). Moving the decoration away from the start of the row is also weird.
Anyway, I guess if the users want to shuffle the columns then we should probably just give them this freedom (for the views where this makes sense).
since @ebo asked about this: the current state is that the first column of all tables can't be moved. This seems to be what we want, so nothing needs to be changed and nothing was done to change this. I guess this ticket can be closed.
Note: when testing this behavior, be aware that the first column might be invisible.