This is a regression introduced by commit 3f31455fdd10 ("tdf#109353 - Base: Listbox doesn't show a value."), which tried to fix my rollover handling from commit 3f94cf15f9bb ("Fix focus and rollover for vcl::ListBox") in KDE.
The commit fixes KDE but breaks at least Windows and the gen plugin.
Now I'm not sure if rollover for a focused widget makes much sense.
My implementation drops the rollover highlight when focused and just draw the focused text highlighted, if focus rects are actually supported by the platform.
This needs review on all platforms and VCL plugins.
Patches for master are already commited. I'll post a backport, if it's ok for all platforms.
Quick test: start the LO math module (soffice --math) and click on the binary operators list box.
If someone wants to test on 6.1, the current state of the backports is here:
Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "libreoffice-6-1":
tdf#119477 fix list box focused text color
It will be available in 6.1.2.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
A polite ping to Jan-Marek Glogowski:
Is this bug fixed? if so, could you please close it as RESOLVED FIXED ?
Otherwise, Could you please explain what's missing?