Bug 137936 - XInfobarProvider: Allow custom colors
Summary: XInfobarProvider: Allow custom colors
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
7.0.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2020-11-02 14:08 UTC by Jack
Modified: 2022-04-05 09:51 UTC (History)
1 user (show)

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 Jack 2020-11-02 14:08:41 UTC
When calling XinfobarProvider.appendInfobar or updateInfobar, you specify an infobarType parameter.  The color of the infobar is determined entirely by that infobarType enum.  

It would be a nice touch if we could add a method to the XInfobarProvider that allows you to apply a custom color to an infobar.
Comment 1 Heiko Tietze 2022-04-05 09:51:28 UTC
Don't see a reason the change the color. Red, yellow, green and blue were carefully picked for bug 105829 in respect to the type of information and there is no need for a pink warning, for instance.