Download it now!
Bug 108013 - Unlike Excel, Calc fails to invert color of selection box and cursor to make them visible against a black background
Summary: Unlike Excel, Calc fails to invert color of selection box and cursor to make ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-UX Calc-Cells
  Show dependency treegraph
 
Reported: 2017-05-23 00:47 UTC by Kevin
Modified: 2018-10-09 00:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
steps and demo for report 108013 (9.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-05-23 00:48 UTC, Kevin
Details
cursor completely invisible here (10.55 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-06-09 06:43 UTC, Kevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2017-05-23 00:47:27 UTC
Description:
Calc fails to invert color of selection box and cursor to make them visible against a black background

Steps to Reproduce:
1. open attachment, or apply black background to a block of cells in both Excel and Calc
2. in each program, click a cell in the middle of the black area


Actual Results:  
In Excel, the selection box is drawn in white and plainly visible.
In Calc, the selection box is always drawn in black and is thus invisible (same problem can occur with the cursor icon)

Expected Results:
Calc should behave like Excel so user can see what's selected.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Comment 1 Kevin 2017-05-23 00:48:31 UTC
Created attachment 133464 [details]
steps and demo for report 108013
Comment 2 Kevin 2017-05-23 00:52:36 UTC
Note: If you select a range of the black-backgrounded cells, the selection box is drawn in blue and is thus visible - the problem only occurs with the selection of a single cell. Of course, if the background were the right shade of blue, the problem would be reversed and would only occur with multiple cells selected. The root cause is that there's no code to look for a match between the UI element and the background and change the UI element to be visible (Excel does this).
Comment 3 Kevin Suo 2017-05-24 09:26:49 UTC
Confirmed in
Version: 5.4.0.0.beta1
Build ID:8672113ead4e403c55e31b1d9a3d1e0f3b299577
CPU threads: 2; OS: Linux 4.10; UI render: default; VCL: gtk2; 
Locale: zh-CN (zh_CN.UTF-8); Calc: group
Fedora 25 x64.

Set to NEW.
This is an enhancement request.
Comment 4 Kevin 2017-06-09 06:43:59 UTC
Created attachment 133923 [details]
cursor completely invisible here

Here's a better demonstration of the problem - the background here (166-166-166) is common because it's one of the Excel defaults.

1. click in any cell - the cursor is absolutely invisible.