Skip to content
Commit 6de644bf authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Make the model used for the key selection combo a single-column model

If we don't do this, then QAccessibleTable, which is used for the
QListView of the combo box pop up, miscalculates the child from the
logical index. The causes the weird effect that, when you move the
cursor down in the pop up, then the screen reader reads the model
items in columns-first order, i.e. for the second entry in the
combo box it reads the second column of the first row (i.e. the first
entry) instead of the first column of the second row.
This is clearly a bug in QAccessibleTable which shouldn't consider the
column count if QAccessibleTable provides the interface for a list view.

For the combo box we anyway need the first column of the key list model
only, so we can simply pretend that there is only one column.

GnuPG-bug-id: 5845
parent 023f88d5
Pipeline #144766 passed with stage
in 2 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment