Issue 71586 - normal shortcut keys for selecting rows do not work
Summary: normal shortcut keys for selecting rows do not work
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.4
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2006-11-15 20:29 UTC by bwcook0
Modified: 2017-05-20 10:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description bwcook0 2006-11-15 20:29:29 UTC
open a database, then double click on a table to pull up all the rows.
Click the grey box left of a row to select.  Now try shift+pg down, or 
ctrl+shift+end.  None of the normal shortcut keys to help select large numbers 
of rows seems to work.   It would be great to get this small issue fixed.  
Comment 1 christoph.lukasiak 2006-11-20 13:35:49 UTC
this should go -> change from feature enhancement to defect & lower prio
Comment 2 christoph.lukasiak 2006-11-20 13:37:39 UTC
change owner
Comment 3 bwcook0 2007-08-27 13:48:04 UTC
Coming up fast on a year since this was opened and no activity.  This is a basic
UI problem, any chance this will get fixed?  Thanks
Comment 4 Frank Schönheit 2007-08-29 11:57:45 UTC
The issue is targeted to "OOo Later", which means nobody is actively working on
it. Unless you convince people (e.g. by the number of votes on this issue), this
won't change. Sorry, but that's just a matter of priorities.
Comment 5 bwcook0 2007-09-11 13:50:46 UTC
I understand, although I suppose I disagree with the priorities.  This is such a
fundamental UI issue that I think it should take precedence over obscure
features.  I will never use a lot of things ooo provides, but I would like to
use the keyboard.  

Anyway, I am motivated and I have some very good developer support here, but
they are quite busy.  If anyone can provide the slightest guidance to where in
the code this would be fixed I may be able to get a patch written for it.  Any
help would be appreciated.  Thanks.
Comment 6 Frank Schönheit 2007-09-11 19:44:32 UTC
svtools/source/brwbox/* are the classes which implement the so-called BrowseBox
(basically a tabular data display) and EditBrowseBox (a derived class which
allows editing the content of single cells).

A patch would most probably start in editbrowsebox.cxx, method
a short sketch would be as follows, exemplarily for Shift+PageDown
- catch the KEY_PAGEDOWN event
- ensure only Shift and no other modifier is pressed
- check whether there already is a row selected
  (this assumes that before Shift-PageDown works, the user needs to select
  a single row, using the mouse or Shift-Space. An alternative would be
  to allow Shift-PageDown also when currently a cell is being edited
  (IsEditing), but this would make handling more complex, as you need
  to care for leaving the edit mode, and possible vetos to this leaving.)
- If so, calculate the new rows which should be added to the selection
  (probably something like the interval "( GetCurRow(), GetCurRow() +
  GetVisibleRows() )")
- select those rows, using SelectRow( row, TRUE, TRUE )
- ensure the current row is set to the last selected row, via GoToRow

Don't shoot me if this isn't the complete picture, but it should work pretty
much along those lines.

If you embark on a patch for this, be assured you'll get every support needed
from my side - preferrably in :)
Comment 7 Marcus 2017-05-20 10:48:06 UTC
Reset assigne to the default "".