Bug 165539 - Change an item highlighting in the document when you place a mouse cursor over the item name in Navigator
Summary: Change an item highlighting in the document when you place a mouse cursor ove...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Navigator Writer-UX
  Show dependency treegraph
 
Reported: 2025-03-02 19:38 UTC by Roman Kuznetsov
Modified: 2025-03-04 12:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot with comparize current color for highlighting and selecting color in light theme (11.17 KB, image/png)
2025-03-02 19:39 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2025-03-02 19:38:17 UTC
Description:
Change an item highlighting in the document when you place a mouse cursor over the item name in Navigator

Current highlighting color is black. Why?

I suggest to change it to color that we use for selection by default (look at the screenshot in attach)

Steps to Reproduce:
Create in Writer document any object, for example a table
Place a mouse cursor over the table name in Navigator
The table in the document will be highlighted by black color (and I every time think it's a bug with rendering or a problem with my video card , etc.)

So I suggest to change the color to selecting color

Actual Results:
Objects in Writer documents highlighting by black color

Expected Results:
Objects in Writer documents highlighting by selecting color


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a91494780bb59afe8c971003e6b809f1e66df050
CPU threads: 16; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded
Comment 1 Roman Kuznetsov 2025-03-02 19:39:20 UTC
Created attachment 199568 [details]
Screenshot with comparize current color for highlighting and selecting color in light theme
Comment 2 V Stuart Foote 2025-03-02 21:10:29 UTC
Can't confirm. There is nothing incorrect with on canvas flash of object selection from the Navigator SB Deck.

Yes with default "Automatic" Appearance theme toggled to 'Light' RB, while the Table objects pick up a black highlight when selected on the Navigator deck, the boundaries and the actual cell content receive an appropriate inverted FG color. It just happens to be White BG Black FG and is inverted.

When I apply an Appearance theme, and then modify the Document Background color, the new BG color receives a complimentary color (different to Black) for BG when the Table object is selected from Navigator deck.

Meaning the Object selection on the Navigator deck are responding as they need to with a contrasting color that is not fixed.  It is dependent on Appearance theme or what use sets for the Customization items (i.e. the old Application Colors as now expanded).

This seems to be working as intended.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a91494780bb59afe8c971003e6b809f1e66df050
CPU threads: 8; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 3 Heiko Tietze 2025-03-03 07:48:12 UTC
The implementation inverts the document background. Try with a full dark mode - you get a white background on hover, or with a yellow page background - the highlight will be dark blue. Simply using a fix color might be more appealing in most cases but does not work well in other. What I could imagine is a test for styling - sounds very inefficient and error prone - but we could use a default system highlight color if neither a color on PS, DPS, PgS, and TS is used. We may ignore DF and CS, but this can lead to issues.

We better resolve the ticket as WF.