Dark theme: Black on Black - the text isn't visible

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Dark theme: Black on Black - the text isn't visible

Post by m.Th. » Wed May 08, 2019 10:36 am

Steps:

1. Apply the Dark theme.
2. Write a text to search in Quick Search box here: (in the red oval)
XnView Quick Search.jpg
XnView Quick Search.jpg (12.07 KiB) Viewed 561 times
Expected: The text should be white (visible)
Actual: The text is black on the near black background of the theme. You can see it if you magnify the image and change Gamma to some extreme values (eg. 4.3).
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31889
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by xnview » Thu May 23, 2019 9:12 am

in your theme, edit

SearchLineEdit {
background-color: transparent;
border: 1px solid black;
padding: 0px;
color: white;
}

i'll change it
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by m.Th. » Fri Sep 20, 2019 3:03 pm

Hi Pierre,

Ping............

Not fixed in 0.94b1
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31889
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by xnview » Mon Sep 23, 2019 1:47 pm

yes will be changed for final release
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by m.Th. » Mon Sep 30, 2019 8:12 am

Still present in 0.94b2
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31889
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by xnview » Mon Sep 30, 2019 9:52 am

m.Th. wrote:
Mon Sep 30, 2019 8:12 am
Still present in 0.94b2
in .css, do you have that

Code: Select all

SearchLineEdit {
background-color: transparent;
border: 1px solid black;
padding: 0px;
color: white;
}
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Dark theme: Black on Black - the text isn't visible

Post by m.Th. » Fri Oct 04, 2019 9:28 am

xnview wrote:
Mon Sep 30, 2019 9:52 am
m.Th. wrote:
Mon Sep 30, 2019 8:12 am
Still present in 0.94b2
in .css, do you have that

Code: Select all

SearchLineEdit {
background-color: transparent;
border: 1px solid black;
padding: 0px;
color: white;
}
Ok, I debugged and I think that I found it:

If I go in UI subfolder and I open the style_sheet.qss, then it is as you describe it.

But if I go to View \ Theme \ Dark Theme - in the editor which appears, in the style_sheet.qss tab appears just:

Code: Select all

SearchLineEdit{
	background-color: transparent;
	border: 1px solid black;
	padding: 0px; 
}

SearchLineEdit>QLineEdit{
	background-color: rgb(160, 160, 160); 
}
The color:white is missing.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

Post Reply