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
Created attachment 133464 [details] steps and demo for report 108013
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).
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.
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.