After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610696 - Ctrl-click does not unselect the cell
Ctrl-click does not unselect the cell
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-02-22 15:45 UTC by Eugen Dedu
Modified: 2011-11-30 17:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eugen Dedu 2010-02-22 15:45:56 UTC
Select a few consecutive cells.  Do ctrl-click on one of the selected cells.  It is not unselected!

(On the other hand, ctrl-click on unselected cells does indeed select them.)
Comment 1 Andreas J. Guelzow 2011-11-29 18:39:27 UTC
I am not quite sure about the expected behaviour. To select row 5 and column D at this time I can click on row 5 and then control-click on column D.  I would like to retain this possibility. If control-click toggles the selection state this would not happen. Perhaps we should use ctrl-alt-click for toggled selection.

If B7 is selected and one ctrl-alt-clicks on B7 what should the behaviour be?

After a ctrl-alt-click-drag what is the edit cell going to be? (If the click was in an unselected cell it would make sense to make it that cell; but if the cell was selected it becomes unselected so it cannot be the edit cell or can it be.)

I note that in Libreoffice Calc only ctrl-click toggles selections while ctrl-click-drag does not. That seems to be inconsistent. In LOCalc only ctrl-click on a single cell toggles. If you ctrl-click on the edit cell you can create a selection that does not include the edit cell.
Comment 2 Andreas J. Guelzow 2011-11-29 18:44:21 UTC
I was wrong, in LO ctrl-click-drag may also de-select but it does not toggle Whether it deselect or select depends on the state of the cell first clicked on. Ie ctrl-click on a selected cell followed by a drag unselects all those cells in the drag region, ctrl-click on an unselected cell followed by a drag selects all those cells in the drag region.

We really need to define our desired behaviour...
Comment 3 Andreas J. Guelzow 2011-11-29 18:48:06 UTC
In LO the result of ctrl-clicking on a row or column header seems to depend on whether the entire row or column was selected or not.
Comment 4 Eugen Dedu 2011-11-29 18:54:25 UTC
Personally, I am more interested in cell (un)selection.  If I select several areas and by error I select another cell (or a wrong area), there is currently no possibility in gnumeric to unselect that cell.
Comment 5 Andreas J. Guelzow 2011-11-29 19:00:02 UTC
I sort of understood that from your report. But if we fix something we may want to fix it correctly. If we want LOCalc-type behaviour we can in fact use ctrl-click.
Comment 6 Andreas J. Guelzow 2011-11-30 17:08:42 UTC
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.
Comment 7 Eugen Dedu 2011-11-30 17:34:21 UTC
Thank you, I see that many lines changes in the commit!