Page 1 of 1

Show Color Information only shows white square [Solved]

Posted: Sat Dec 17, 2022 6:02 pm
by nulldevice
Using Linux, Arch XFCE 4.18. I cannot find anywhere to adjust colors that affects SCI.
Noted: It seems to change size as I move the cursor over pixels. As if it is white text on white background.
See attached image. (edited: "about screen" pasted in)

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 7:04 pm
by cday
In Linux Mint Cinnamon 20, XnView MP 1.4.0, when I check View > Show colour information I see this:

View > Show colour information.png
View > Show colour information.png (7.88 KiB) Viewed 1187 times

That is with default settings, I am not sure whether there is a control for text colour, I doubt it.

Is your screenshot showing Help > About a composite image??

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 7:20 pm
by nulldevice
Is your screenshot showing Help > About a composite image??
Yes. I noted this in the Edited part of my original post. Just to show the information.

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 7:29 pm
by cday
Looking at your image, the aspect ratio of the rectangle looks the same as in mine, but the background colour in yours is white rather than light yellow.

I am afraid I have no idea of the possible cause, I can only confirm that it works correctly in Linux Mint, other than to wonder if there might possibly be .ini settings involved which seems quite unlikely.

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 7:40 pm
by cday
You also reported that your rectangle changes size as you move the cursor?? You are, stupid question, using View > Show colour information Ctrl-Shift-I?

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 7:52 pm
by nulldevice
yes, size changes every so slightly on the x axis mostly. ( i assume this is just adjustment from the RGB values of low range to high range going from 0,0,0 to 255, 255, 255 (wider) But I don't know. I don't consider this (the rectangle size) a bug, just reporting what ever I can, so I can find a way to see the info, which I do consider a bug :) )
yes, as the topic title indicates ;>

Re: Show Color Information only shows white square

Posted: Sat Dec 17, 2022 8:01 pm
by cday
Very strange, if you would like to try an earlier version this is the link: Older versions.

If you didn't check the checksum of your download you could possibly try repeating the download. Or you could possibly try an alternative Linux download of 1.4.0, in a situation like this trying anything you can think of sometimes provides an unexpected insight... :wink:

Re: Show Color Information only shows white square

Posted: Sun Dec 18, 2022 9:22 am
by nulldevice
I tried using both packages in the AUR (standard and system-libs) both have the white rectangle.
fwiw, launching from console spews this:

Code: Select all

MDK 0.15.0 (git e8c668a) - Multimedia Development Kit. Copyright (c) 2016-2022 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang14.0.6 GCC4.2.1; libc++14000; 15:26:29 Aug 23 2022
==> 1,000000  1,000000  108,887533  96,004154  (0)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1568 900 
w.init
w.start
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
QObject::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
QObject::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
##PB connect <1onUseSmooth()>
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
QObject::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 0x269a310 
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 183, 226, 227, 255'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 183, 226, 227, 255'
@@ 37169944 
@@@@@@@@@@
Create window finished
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 183, 226, 227, 255'
==> 1568 
ThumbLoaderThread :: stop()
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 183, 226, 227, 255'


Re: Show Color Information only shows white square

Posted: Sun Dec 18, 2022 9:32 am
by nulldevice
update:
"FIXED"
I nuked the entire xnviewmp folder in .config.
Now it works. (I just have to re-do all my settings...)
Perhaps an older setting was in conflict with a newer version of xnviewmp.

Re: Show Color Information only shows white square [Solved]

Posted: Thu Feb 02, 2023 5:59 pm
by yellowdolphin
Not quite fixed:
The bug is triggered by choosing Darkscheme or Blackscheme at first run. Can be undone by setting "style=-1" in ~/.config/xnviewmp/xnview.ini