This ticket is a spinoff from bug 141566. As noted by Guilherm in the original ticket: "Also noting that Rafael's concern about changing the Basic IDE's background colour independently from the document background in other applications hasn't been resolved." Hence I am opening this new ticket to track the discussion and eventual implementation of an independent color selector in the Application Colors dialog so that the Basic editor can use a color different than the one used for documents. This is important because the user may want to use white as document background in Writer / Calc but use a darker color as the background of the Basic editor.
The implementation is simple. I have a proposal here: https://gerrit.libreoffice.org/c/core/+/145590
Created attachment 184777 [details] Applications colors dialog with new option So the idea is to have a separate color definition the the background color of the Basic Editor as shown in this attachment. I left the default value for this new color svtools::BASICEDITOR as the same color used as DOCCOLOR for both "LibreOffice" and "LibreOffice Dark" color schemes to replicate the current behavior. But now, if the user wants to use a different color for the Basic Editor, than it's possible to change it without affecting the color of documents.
Samuel, do you agree with this idea?
Created attachment 184791 [details] Screenshot with white document and dark Basic code editor Just to better explain what I'm proposing, I would like to be able to use a different background color in the Basic editor that is independent from the document color. For instance, this new attachment shows the Basic editor using dark colors whilst the Writer document is using white color. This is currently not possible and the user must either use white for Basic and Writer or a dark color for Basic and Writer. It's currently not possible to set them independently.
Rafael Lima committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/413bd0a96b010feb10dc3d76efa266ea082de006 tdf#153076 Make Basic editor background color independent from document color It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 144741 has been marked as a duplicate of this bug. ***