Bug 151411 - Store both dark/light versions of the document thumbnails and use it in start center when appropriate
Summary: Store both dark/light versions of the document thumbnails and use it in start...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 16:38 UTC by Hossein
Modified: 2022-10-10 09:47 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2022-10-07 16:38:22 UTC
When switching back and forth between dark and light mode, an annoying problem is that the thumbnails are not compatible with the application color settings.
If the application color is light, then the thumbnails will be light, even if you switch the application color.

A solution for this problem would be storing both dark and light versions of the thumbnails, and use them when appropriate.
Comment 1 Mike Kaganski 2022-10-10 09:47:54 UTC
Note that:

1. There is a thumbnail inside the ODF package. If this is implemented, it likely needs a second copy there, too?
2. The space requirement for usermodifications.xcu would double (the base64 haches of the thumbnails there take most of the space), and given how fragile our user profile is (we often recommend resetting it because of corruption), this would likely increase different problems;
3. The time requirement would increase - the rendering would need to happen twice, once for light theme, once for dark.
4. Not sure how would that work with customized theme - if user changes specific colors of their dark mode, would it still be readable?

In theory, this is just a dupe of tdf#148282; however, it was worded as "I know the solution, do XYZ", so is not open to discussion of ways to fix this.

Note that, despite I disagree that storing two thumbnails is OK, it could give better visual results compared to what I suggested in tdf#148282 - using transparency.

At this time, as I don't really see a viable solution, my idea is: WF.