Details
Description
Hi,
I'm using Qt 4.8 with qt-at-spi2. When working with Model/Viewer I can't get orca to read rows properly. My model has more then one column (for example, I have some user role data that I use in QSortFilterProxyModel for filtering/sorting etc). When I use QListView (which displays only 1 visible text column) to display my data and try navigating with keyboard through it (up-down) it will read column by column in sequence instead of jumping to next row.
For example: I have 3 columns (name, email, date) and multiple rows (entries) in my model. QListView is displaying only names. When I select first name (let's say Mike), orca will read it. When I select second available name (second row, let's say John), orca will read Mike's email, when I select next available name (third row), orca will read Mike's date, when I select next available row, orca will say John's name and so on.
Changing roles in column data doesn't help. If role is other then Qt::DisplayRole orca won't read it, but it won't skip it either. This all works well when QTreeView is used, I only experienced this problem with QListView. For quick concept proof I used basicsortfilter model example and change it to use QListView. Please find it attached in this ticket.
Expected behavior:
Orca should read selected item in QListView.
Actual behavior:
Orca doesn't read selected item properly if model has multiple columns.
Attachments
For Gerrit Dashboard: QTBUG-33786 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556860,3 | Fix accessibility of list views with underlying multi-column model | dev | qt/qtbase | Status: MERGED | +2 | +1 |
571622,2 | Fix accessibility of list views with underlying multi-column model | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
571644,3 | Fix accessibility of list views with underlying multi-column model | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |