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 789411 - Multiple selections not working correctly
Multiple selections not working correctly
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2017-10-24 14:26 UTC by Frédéric Parrenin
Modified: 2017-10-29 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.png screenshot to illustrate the problem (70.39 KB, image/png)
2017-10-28 10:03 UTC, Frédéric Parrenin
  Details
Proposed patch (2.02 KB, patch)
2017-10-29 08:21 UTC, Jean Bréfort
none Details | Review

Description Frédéric Parrenin 2017-10-24 14:26:57 UTC
I am running the stock 1.12.32 gnumeric on debian 9.
I have an issue when trying to use the CTRL key for a multiple selection.
I first select a range A.
Then I hold the CTRL key and select a range B.
=> selection A disappears.
Actually range A is still selected (you can check it by doing an operation like a chart), but it does not appear as so.
Comment 1 Andreas J. Guelzow 2017-10-28 02:18:53 UTC
Whenever I had this problem it turned out to be a theme issue since selection A does not have a frame but it just highlighted by the colour of the cells. That highlight colours is quite subtle for some themes.

Can you provide a screenshot?
Comment 2 Frédéric Parrenin 2017-10-28 10:03:02 UTC
Created attachment 362443 [details]
.png screenshot to illustrate the problem

Attached is a screenshot.
I use the standard gnome theme.
Comment 3 Andreas J. Guelzow 2017-10-28 14:31:13 UTC
According to that screenshot this is clearly a theme problem. Range A is highlighted by colouring the cells inside in the same colour as the cells in the range B and that colour appears to be the same as the non selected colour.

So this is not a Gnumeric bug.
Comment 4 Andreas J. Guelzow 2017-10-28 17:09:44 UTC
To me this seems to be essentially a reoccurence of bug #648676.
Comment 5 Jean Bréfort 2017-10-29 08:21:18 UTC
Created attachment 362475 [details] [review]
Proposed patch

Not sure cyan is the ideal color. Any other idea?
Comment 6 Jean Bréfort 2017-10-29 10:40:11 UTC
Looks like we used lavender in the past.
Comment 7 Jean Bréfort 2017-10-29 14:59:52 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.

Using lavender as selection background.
Comment 8 Morten Welinder 2017-10-29 19:51:45 UTC
That code certainly looks better the old create-a-floating-entry code.