GNOME Bugzilla – Bug 643971
ctrl-end behaves oddly in the presence of hidden rows
Last modified: 2011-03-08 08:17:42 UTC
I have a spreadsheet with 71 rows, and data auto filtering. If no filters are enabled, and I press ctrl-end, it jumps to the last cell as expected. However, when I filter on some column and then press ctrl-end, gnumeric ends up jumping to some random row way out. I suspected that it goes to the 71st *displayed* row, but it seems to jump to row 141, which is well above obviously as my filter matches about half the rows (71 rows are filled).
You don't need auto filters to replicate this. Hidden rows will do. The problem occurs when the row the cursor would end up in is hidden.
Note that the issue appears to occur in sheet_find_boundary_vertical.
sheet_find_boundary_vertical seems to be designed for a completely different purpose. I don't understand why scg_cursor_move uses sheet_find_boundary_vertical.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
That was really quick, thanks!