# Search box background color is wrong; possible UI bug

**URL:** <https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873>\
**Category:** Scrivener for Windows\
**Tags:** bug, interface\
**Created:** [January 27, 2022, 7:25pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873 "2022-01-27T19:25:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 27, 2022, 7:25pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/1 "2022-01-27T19:25:03Z")

</div>

Hi,  
I am very happy with Scrivener allowing user-defined paper color! This custom color is reflected only in part of the search box, I am afraid.  
Clicking the Search icon (see blue circle below), reveals the Search box underneath and it reflects the paper color (red arrow) on its left and right side (red arrow) but not in the middle (green arrow). This is not visible when the paper is the default white color. I don’t think there is a way to define the color of this particular part of the search box so it looks like a bug in the UI.

 ![Snap2](https://forum.literatureandlatte.com/uploads/default/original/3X/e/9/e98afff947780b7d89948a09e5a6d0fe02466832.png)

Hope this helps and gets addressed 🙂  
Best regards and thanks for S3 for Win!  
🙂  
K

EDIT:  
I think the beige color on the left and right side of the search box may be taken from my Win10 settings. I have this color set as a default “paper” color instead of the default white color. I assume this because I cannot find the beige color in the File/Options/Appereance… that, when changed, changes the left and right side of the search box.  
If this is the case, it is still a little bug as the left and right side colors are drawn from different source than the middle text box.  
Also, the upper line that forms the frame of the search box is missing above the search box.  
I believe the search box should look like this (on my system):  
 ![Snap2](https://forum.literatureandlatte.com/uploads/default/original/3X/e/1/e135d542058b21229978e16ef26b23150f342f48.png)

---

<div class="post-metadata">

**Author:** ![GoalieDad](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/goaliedad/32/28584_2.png) [@GoalieDad](https://forum.literatureandlatte.com/u/GoalieDad)\
**Post date:** [January 27, 2022, 9:00pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/2 "2022-01-27T21:00:51Z")

</div>

If paper white, still see magnifying glass and search window above editor window? Not sure issue

---

<div class="post-metadata">

**Author:** ![AntoniDol](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/antonidol/32/15972_2.png) [@AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)\
**Post date:** [January 27, 2022, 10:18pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/3 "2022-01-27T22:18:22Z")

</div>

> [@karelt](#):
>
> I don’t think there is a way to define the color of this particular part of the search box so it looks like a bug in the UI.

Creating a Theme, defining a different color for input boxes is possible:

![image](https://forum.literatureandlatte.com/uploads/default/original/3X/5/c/5c63e88155cf2d7cfc8702811b68280c1ceda805.png)

This screenshot is from the LiterallyLatte Theme.  
[Scrivener 3 Themes (Windows)](https://forum.literatureandlatte.com/t/scrivener-3-themes-windows/121284)

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 27, 2022, 11:24pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/4 "2022-01-27T23:24:18Z")

</div>

@ [AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)  
Good point!  
I still can’t find the color in the File/Options/Appeareance, but choosing another Theme does alter the search box color.  
I wonder what’s wrong with my theme then :-/ I may need to take a better look at the .prefs files.

---

<div class="post-metadata">

**Author:** ![devinganger](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/devinganger/32/18082_2.png) [@devinganger](https://forum.literatureandlatte.com/u/devinganger)\
**Post date:** [January 27, 2022, 11:37pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/5 "2022-01-27T23:37:16Z")

</div>

That attribute has not been exposed in the UI. You have to modify the theme files by hand to tweak some of those elements.

---

<div class="post-metadata">

**Author:** ![AntoniDol](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/antonidol/32/15972_2.png) [@AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)\
**Post date:** [January 28, 2022, 8:39am UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/6 "2022-01-28T08:39:45Z")

</div>

> [@karelt](#):
>
> user-defined paper color

So, where have you defined this “paper color”?

You have managed to color the toolbars already…

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 28, 2022, 12:13pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/7 "2022-01-28T12:13:14Z")

</div>

Thank you for your kind replies. I will research the situation later this weekend. I’m currently on a deadline 😃  
K

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 30, 2022, 8:02pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/8 "2022-01-30T20:02:24Z")

</div>

@ [AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)  
re: _So, where have you defined this “paper color”?_  
_You have managed to color the toolbars already…_

It’s been a while since I’ve installed S3, but I think the toolbar reads the color from Windows. I’ve had these colors in my Win7 theme and when I downgraded to Win10, some of the colors remained. I’ve adjusted the color of the paper in S3, but I believe I didn’t have to touch anything for the toolbar to be this color.  
FYI these are the colors of my windows in Windows:

 ![Snap21](https://forum.literatureandlatte.com/uploads/default/original/3X/c/b/cb41868c03c06d96398634c5327b4f38c914d4ae.png)  
 ![Snap20](https://forum.literatureandlatte.com/uploads/default/original/3X/e/3/e3b18ba06b737fafc3051381f98762939852aaca.png)  
The former Win7 theme colors do propagate here and there but not everywhere where they used to be in Win7.

🙂  
K

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 30, 2022, 8:07pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/9 "2022-01-30T20:07:33Z")

</div>

@ [devinganger](https://forum.literatureandlatte.com/u/devinganger)

re: _That attribute has not been exposed in the UI. You have to modify the theme files by hand to tweak some of those elements._

I have that feeling too, but I don’t think we have any kind of tutorial for editing the theme files, do we?

🙂  
K

---

<div class="post-metadata">

**Author:** ![AntoniDol](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/antonidol/32/15972_2.png) [@AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)\
**Post date:** [January 30, 2022, 10:48pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/10 "2022-01-30T22:48:41Z")

</div>

> [@karelt](#):
>
> I don’t think we have any kind of tutorial for editing the theme files, do we?

Well, I wrote one, so there’s at least one. 🤪

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [January 30, 2022, 11:14pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/11 "2022-01-30T23:14:40Z")

</div>

@ [AntoniDol](https://forum.literatureandlatte.com/u/AntoniDol)  
I’ve noticed your thread here: [Scrivener 3 Themes (Windows)](https://forum.literatureandlatte.com/t/scrivener-3-themes-windows/121284)  
but that’s probably not what you hint at.  
Or perhaps this? ([HELP with themes! - #26 by Maerie](https://forum.literatureandlatte.com/t/help-with-themes/121945/26))  
Or this? ([Mastering Scrivener: Scrivener 3 for Experienced Writers eBook : Dol, Antoni: Amazon.co.uk: Kindle Store](https://www.amazon.co.uk/Mastering-Scrivener-Experienced-Writers-ebook/dp/B09N3TG4R4/ref=sr_1_1?keywords=Mastering+Scrivener&qid=1643584416&sr=8-1)) or rather here ([https://www.kobo.com/ww/en/ebook/mastering-scrivener](https://www.kobo.com/ww/en/ebook/mastering-scrivener))  
Thanks in advance!  
🙂  
K

---

<div class="post-metadata">

**Author:** ![devinganger](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/devinganger/32/18082_2.png) [@devinganger](https://forum.literatureandlatte.com/u/devinganger)\
**Post date:** [January 31, 2022, 10:27pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/12 "2022-01-31T22:27:03Z")

</div>

I haven’t taken a look at AntoniDol’s tutorial, but IIRC there are some UI elements that can be modified using standard Qt techniques, since the Scrivener for Windows UI is built on top of Qt.

---

<div class="post-metadata">

**Author:** ![karelt](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@karelt](https://forum.literatureandlatte.com/u/karelt)\
**Post date:** [May 25, 2022, 7:37pm UTC](https://forum.literatureandlatte.com/t/search-box-background-color-is-wrong-possible-ui-bug/125873/13 "2022-05-25T19:37:52Z")

</div>

Just in case anybody is interested, I will answer my own question. The tutorial @AntoniDol refers to is indeed in his book (good price, no DRM, good layout, good info - recommended) in chapter Configuring/Using Themes.  
🙂  
K
