Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selection box in LibreOffice Calc is invisible when using light theme #1225

Open
Romchec opened this issue Sep 4, 2022 · 1 comment
Open

Comments

@Romchec
Copy link

Romchec commented Sep 4, 2022

What Happened?

It's hard to use LibreOffice Calc because selection box is blends into the background.
Снимок экрана от 2022-09-04 15 01 44
Снимок экрана от 2022-09-04 15 03 02

Steps to Reproduce

  1. Set one of default elementary OS themes
  2. Turn on light mode
  3. Open LibreOffice Calc
  4. Select cell with cursor

Expected Behavior

Selection box and dot at the bottom right corner should be more visible, not white. Here's how it works in dark mode and another GTK theme:
Снимок экрана от 2022-09-04 15 03 27
Снимок экрана от 2022-09-04 15 04 33
Снимок экрана от 2022-09-04 15 04 00

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@IanHead
Copy link

IanHead commented May 31, 2023

Appending the style sheet with this (for Blue, in this case) worked around the issue for me.

* {
  -gtk-secondary-caret-color: @selected_bg_color;
}

.view:selected:focus, .view:selected, iconview:selected,
.view text:selected,
iconview text:selected,
textview text:selected {
  background-color: @selected_bg_color;
} 

Result:

ksnip_20230601-135439

LibreOffice seems to pay attention to these for setting the selection colours. It perhaps is a clue as to how to fix the problem permanently going forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants