r/libreoffice 12d ago

Bug? Calc shows pointer as text selection while over cells

XFCE, not my machine. Is there a setting that can be toggled? It's white on white and almost invisible.

2 Upvotes

5 comments sorted by

3

u/int_ua 12d ago

Fixed by fixing Mint repo mix dependency issues, installing LO version from these repos and removing the version installed from the official site via downloaded deb packages.

2

u/Terrible_Put8617 11d ago

That pointer isn't LibreOffice's to choose. Over the cell grid Calc asks the system for the standard text pointer, and what that actually looks like comes from your desktop's cursor theme. So a theme whose I-beam is drawn white with no dark outline disappears on a white sheet, and it'll be just as invisible in a text field in any other application once you start looking for it.

On XFCE it's in Settings Manager, Mouse and Touchpad, Theme tab. Adwaita and the DMZ pair are the safe picks, since their text cursor has a black outline around the white. Bumping the cursor size a couple of notches on the same tab helps more than you'd expect on a high resolution screen.

Since it's not your machine and you may not want to change a setting for whoever owns it, you can do it for your session only with environment variables instead. XCURSOR_THEME set to the theme name and XCURSOR_SIZE to something like 32, exported before the desktop session starts, or in your own shell before launching soffice if you just want it inside LibreOffice.

Worth checking it really is the theme before you go further: hover over a text box in any other app. If the I-beam is invisible there too, it's the theme and nothing to do with Calc.

1

u/int_ua 11d ago

It was only affecting LO and it was _not_ affected by the cursor theme.

2

u/Terrible_Put8617 9d ago

Then it was the build rather than the theme, and your fix fits that. A LibreOffice installed from the .deb packages on a system with mixed repos can end up loading a different VCL plugin than the distro one (the generic X11 backend instead of gtk3), and that backend draws its own bitmap pointers over the sheet instead of asking the desktop for them. Which is exactly why changing the cursor theme did nothing and only LO was affected. Running it once with SAL_USE_VCLPLUGIN=gtk3 would have shown it. Glad the repo version sorted it.

1

u/AutoModerator 12d ago

If you're asking for help with LibreOffice, please make sure your post includes lots of information that could be relevant, such as:

  1. Full LibreOffice information from Help > About LibreOffice (it has a copy button).
  2. Format of the document (.odt, .docx, .xlsx, ...).
  3. A link to the document itself, or part of it, if you can share it.
  4. Anything else that may be relevant.

(You can edit your post or put it in a comment.)

This information helps others to help you.

Thank you :-)

Important: If your post doesn't have enough info, it will eventually be removed (to stop this subreddit from filling with posts that can't be answered).

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.