Page 2 of 4
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 3:03 pm
by xnview
helmut wrote:This is what you have written before. We have five users here and all have a problem with this. Could you please explain in full detail how you add svg? After adding svg to the colour list, do the SVG files really have the colouring that you have set?
enter svg in field, click on Add, select svg entry, and change the color. After i have the good color
there is a little problem, you need to change color after adding it (this tab need to be enhanced)
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 3:06 pm
by helmut
xnview wrote:helmut wrote:This is what you have written before. We have five users here and all have a problem with this. Could you please explain in full detail how you add svg? After adding svg to the colour list, do the SVG files really have the colouring that you have set?
enter svg in field, click on Add, select svg entry, and change the color. After i have the good color
there is a little bug, if you enter svg, change color, and click add, the color is not saved
This doesn't work for me: The entry is added but the SVG files still have the wrong colour (which is the colour of JPG files).
This is the entry which has been added by XnView in the .ini file:
formatColor-26="[svg],255 255 0,0 0 0"
When adding "svg", which entry do you choose in the dropdownlist on the right side?
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 3:40 pm
by Erixx haxx
Hello:
I just found if you remove .jpeg then it works. It seems .jpeg is over powering .svg
How to Add:
1.)Clear the right hand text box to empty,
2.)Then Add [svg] without brackets into the left hand text box
3.)Click Add button
It works then.
Then you can add jpeg back..
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 3:45 pm
by XnTriq
Are these the exact steps, Pierre?
- Go to Tools → Settings... → File list → Custom filter and remove svg from the list of formats to be excluded.
- Go to Tools → Settings... → File list → Format colors.
- Activate Use color based on file format.
- Select SVG in the drop-down list.
- Click the Add button.
- Select [svg] in the list.
- Choose your preferred colors by clicking the buttons on the right of the dialog.
- Confirm with OK.
- Point the browser to a folder which contains SVG file.
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 3:59 pm
by Erixx haxx
XnTriq wrote:Are these the exact steps, Pierre?
- Go to Tools → Settings... → File list → Custom filter and remove svg from the list of formats to be excluded.
- Go to Tools → Settings... → File list → Format colors.
- Activate Use color based on file format.
- Select SVG in the drop-down list.
- Click the Add button.
- Select [svg] in the list.
- Choose your preferred colors by clicking the buttons on the right of the dialog.
- Confirm with OK.
- Point the browser to a folder which contains SVG file.
I tried this way, and all sorts of other ways also.
Only way I got it working was by :
--Adding svg With
No brackets[].
--Right hand side has to be
Blank
--
Remove .jpeg from the list
Then add jpeg back.
Edit:
Adding .jpeg back to the list bring back the wrong color again..

Blue
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 4:10 pm
by XnTriq
Erixx haxx wrote: Only way I got it working was by :
--Adding svg With No brackets[].
--Right hand side has to be Blank
--Remove .jpeg from the list
Then adding it back.
Confirmed

The INI entry for
svg isn't enclosed in square brackets:
[color=green]xnview.ini[/color] → [color=green][Appearance][/color] wrote:Code: Select all
formatColor-0="[gif],220 235 220,0 0 0"
formatColor-1="[png],232 222 220,0 0 0"
formatColor-2="[bmp],227 227 255,0 0 0"
formatColor-3="[tiff],192 197 235,0 0 0"
formatColor-4="[tga],230 255 255,0 0 0"
formatColor-5="[iff],247 235 235,0 0 0"
formatColor-6="[sgi],247 237 242,0 0 0"
formatColor-7="[pcx],235 230 230,0 0 0"
formatColor-8="[psd],255 255 227,0 0 0"
formatColor-9="[pcd],235 215 235,0 0 0"
formatColor-10="[psp],237 208 163,0 0 0"
formatColor-11="[pict],202 202 255,0 0 0"
formatColor-12="[xpm],242 227 227,0 0 0"
formatColor-13="[xbm],216 216 216,0 0 0"
formatColor-14="[pbm],191 191 182,0 0 0"
formatColor-15="[pgm],207 207 197,0 0 0"
formatColor-16="[ppm],235 225 159,0 0 0"
formatColor-17="[ras],255 255 227,0 0 0"
formatColor-18="[wmf],187 187 187,0 0 0"
formatColor-19="[emf],212 212 212,0 0 0"
formatColor-20="[ico],217 247 227,0 0 0"
formatColor-21="[cur],217 247 227,0 0 0"
formatColor-22="[ani],217 247 227,0 0 0"
formatColor-23="[fpx],229 255 255,0 0 0"
formatColor-24="[jp2],237 237 202,0 0 0"
formatColor-25="svg,204 255 51,0 0 0"
formatColor-26="[jpeg],210 210 210,0 0 0"
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 4:20 pm
by Erixx haxx
Confirmed

Thanks for conformation
XnTriq
I had to edit my post above because it was a short lived fix..
Does this work on an Hierarchy or something, because when I came back to XnView .jpeg had moved itself to the top of the list and its color
is Over-Riding svg again.
Really wierd..
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 4:30 pm
by XnTriq
Erixx haxx wrote:Does this work on an Hierarchy or something, because when I came back to XnView .jpeg had moved itself to the top of the list and its color
is Over-Riding svg again.

I had deleted my INI before I tried your method. After a restart,
[jpeg] is still at the very end of the list. I can also change the colors.
Re: 0.83: Format colors isn't working
Posted: Wed Feb 15, 2017 5:37 pm
by xnview
Erixx haxx wrote:
--Adding svg With No brackets[].
yes you must use svg without brackets
Re: 0.83: Format colors isn't working
Posted: Thu Feb 16, 2017 10:25 pm
by helmut
xnview wrote:Erixx haxx wrote:
--Adding svg With No brackets[].
yes you must use svg without brackets
As we can see in the above postings and long discussion, the current "Format colour" dialog is a mess and buggy.
@Pierre: You seem to be the only one that sees that colour in the browser for svg files while five other users don't see it. Do you really see the format colour for svg files that you have set in the browser? What is your setting in the .ini file?
Why are there two fields (text field and drop downlist)? What are these two fields for and how are they used?
Re: 0.83: Format colors isn't working
Posted: Thu Feb 16, 2017 10:45 pm
by XnTriq
I've since removed all other formats except for
[jpeg] +
[png] +
svg and restarted MP. Now all formats are back: 2 ×
[jpeg] + 2 ×
svg 
Re: 0.83: Format colors isn't working
Posted: Fri Feb 17, 2017 8:10 am
by xnview
helmut wrote:xnview wrote:Erixx haxx wrote:
--Adding svg With No brackets[].
yes you must use svg without brackets
As we can see in the above postings and long discussion, the current "Format colour" dialog is a mess and buggy.
@Pierre: You seem to be the only one that sees that colour in the browser for svg files while five other users don't see it. Do you really see the format colour for svg files that you have set in the browser? What is your setting in the .ini file?
Why are there two fields (text field and drop downlist)? What are these two fields for and how are they used?
please send me your formatColor section?
Re: 0.83: Format colors isn't working
Posted: Tue Feb 28, 2017 1:10 pm
by xnview
XnTriq wrote:
[color=green]xnview.ini[/color] → [color=green][Appearance][/color] wrote:Code: Select all
formatColor-0="[gif],220 235 220,0 0 0"
formatColor-1="[png],232 222 220,0 0 0"
formatColor-2="[bmp],227 227 255,0 0 0"
formatColor-3="[tiff],192 197 235,0 0 0"
formatColor-4="[tga],230 255 255,0 0 0"
formatColor-5="[iff],247 235 235,0 0 0"
formatColor-6="[sgi],247 237 242,0 0 0"
formatColor-7="[pcx],235 230 230,0 0 0"
formatColor-8="[psd],255 255 227,0 0 0"
formatColor-9="[pcd],235 215 235,0 0 0"
formatColor-10="[psp],237 208 163,0 0 0"
formatColor-11="[pict],202 202 255,0 0 0"
formatColor-12="[xpm],242 227 227,0 0 0"
formatColor-13="[xbm],216 216 216,0 0 0"
formatColor-14="[pbm],191 191 182,0 0 0"
formatColor-15="[pgm],207 207 197,0 0 0"
formatColor-16="[ppm],235 225 159,0 0 0"
formatColor-17="[ras],255 255 227,0 0 0"
formatColor-18="[wmf],187 187 187,0 0 0"
formatColor-19="[emf],212 212 212,0 0 0"
formatColor-20="[ico],217 247 227,0 0 0"
formatColor-21="[cur],217 247 227,0 0 0"
formatColor-22="[ani],217 247 227,0 0 0"
formatColor-23="[fpx],229 255 255,0 0 0"
formatColor-24="[jp2],237 237 202,0 0 0"
formatColor-25="svg,204 255 51,0 0 0"
formatColor-26="[jpeg],210 210 210,0 0 0"
with these values i can't reproduce the problem too

- Screen-2017-02-28_14-09-13.jpg (18.36 KiB) Viewed 1890 times
Re: 0.83: Format colors isn't working
Posted: Tue Feb 28, 2017 5:49 pm
by Erixx haxx
Hi:
Try this one. I used options panel to enable the format colors and .svg was already their.
I only changed its color to purple.
Code: Select all
formatColor-0="[jpeg],0 170 255,0 0 0"
formatColor-1="[gif],220 235 220,0 0 0"
formatColor-2="[png],232 222 220,0 0 0"
formatColor-3="[bmp],227 227 255,0 0 0"
formatColor-4="[tiff],192 197 235,0 0 0"
formatColor-5="[tga],230 255 255,0 0 0"
formatColor-6="[iff],247 235 235,0 0 0"
formatColor-7="[sgi],247 237 242,0 0 0"
formatColor-8="[pcx],235 230 230,0 0 0"
formatColor-9="[psd],255 255 227,0 0 0"
formatColor-10="[pcd],235 215 235,0 0 0"
formatColor-11="[psp],237 208 163,0 0 0"
formatColor-12="[pict],202 202 255,0 0 0"
formatColor-13="[xpm],242 227 227,0 0 0"
formatColor-14="[xbm],216 216 216,0 0 0"
formatColor-15="[pbm],191 191 182,0 0 0"
formatColor-16="[pgm],207 207 197,0 0 0"
formatColor-17="[ppm],235 225 159,0 0 0"
formatColor-18="[ras],255 255 227,0 0 0"
formatColor-19="[wmf],187 187 187,0 0 0"
formatColor-20="[emf],212 212 212,0 0 0"
formatColor-21="[ico],217 247 227,0 0 0"
formatColor-22="[cur],217 247 227,0 0 0"
formatColor-23="[ani],217 247 227,0 0 0"
formatColor-24="[fpx],229 255 255,0 0 0"
formatColor-25="[jp2],237 237 202,0 0 0"
useFormatColor=true
selectedColor=10 36 106
labelColor-0=255 85 0
labelColor-1=253 253 253
labelColor-2=230 0 0
labelBColor-0=24 24 24
labelBColor-1=85 0 0
labelBColor-2=25 25 25
formatColor-26="[svg],71 0 214,0 0 0"
Screen: 1
Screen: 2
As you can see It's using .jpeg color.
If I manually put it above .jpeg in the list, it starts working correctly until restart.
Re: 0.83: Format colors isn't working
Posted: Tue Feb 28, 2017 7:10 pm
by xnview
Erixx haxx wrote:
Try this one. I used options panel to enable the format colors and .svg was already their.
I only changed its color to purple.
you need to use svg not [svg]
Code: Select all
formatColor-26="svg,71 0 214,0 0 0"