Border color in thumbnail view

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

garoto

Border color in thumbnail view

Post by garoto »

Hello all,

It's possible to change the selected thumbnail border color? On my setup it's blue, but it's somewhat conflicting with my current XP color settings. I'd like to change it to a bright orange or maybe green, but after a few minutes digging in the prefs dialog, I coudn't find anything.

Help?
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Glasses ?

Post by Clo »

:arrow: garoto

:) Hello !

• What about :

ImageImage

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
garoto

Post by garoto »

Unfortunately, that's not it. I'm talking about these blue borders...

Image

... which take effect when I have these settings in place:

Image
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Right option---

Post by Clo »

:arrow: garoto

:) Again…

• This option I showed above is the right one, I checked and tested again:
- If I set "Red", the border is red, if "Brown", it's brown as it should…

• Please, check your <xnview.ini> about its location
(ensure you that you're using the good one) in the Options >> Integration

• Check also the entry:
[Browser]

BorderColor=4227200
that's brown here for example with the used colour-code.
- Still for that example, the other colour-codes could work (not supported in all sections¦Entries of the INI file, alas)
RGB : 132 130 66 WITH the spaces !
HTML : #848242
Reverse : $428284

¤ Hence to get Red borders, you might try i.e. RGB :
BorderColor=255 0 0

• Which XnView version are you using, and which Windows ?
- Here, XnView 1.95.3 - Win XP-Pro SP1

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique

Post by ouistiti »

:arrow: garoto

The blue border I see on your screen capture is not the border of the thumbnail but the border which indicates that the file or directory is selected !

:shock:

Paul
Last edited by ouistiti on Tue Nov 11, 2008 9:49 pm, edited 1 time in total.
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

"0" is not visible

Post by Clo »

:arrow: garoto

:) Again…

• And moreover, you have set the tickness of the border as "0", so how can you see it ? :P

• Here, the selection is different (fills the empty room on the thumb nail) and the drop-shadow is disabled
(works only with a 32 BPP screen I don't set usually).

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
garoto

Post by garoto »

ouistiti wrote: The blue border I see on your screen capture is not the border of the thumbnail but the border which indicates that the file or directory is selected !

:shock:

Paul
I know that, and that's exactly the border I'm talking about, like I said on my initial post: "It's possible to change the selected thumbnail border color?" :wink:
And moreover, you have set the tickness of the border as "0", so how can you see it ?
Clo, it's set to zero because that's not the border in question. That border when enabled looks like this on my rig:

Image

Notice the blue border again :wink:
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Border is ---

Post by Clo »

:arrow: garoto

:) Again…
…"It's possible to change the selected thumbnail border color?"
- Bad wording, the border of the thumbnail IS that I defined and showed !
- Like Paul-Ouistiti says, that you are talking of is a selection frame which has nothing to do with XnView,
its colour comes and is defined from the Windows theme you are using.
- And you didn't answer :  Which Windows are you running ?
- Like I said above, here the selection does not make a frame :

ImageImage

Full light-orange is the selection, not any extra frame…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

garoto wrote: I know that, and that's exactly the border I'm talking about, like I said on my initial post: "It's possible to change the selected thumbnail border color?" :wink:
Currently not possible, i'll add an option
Pierre.
garoto

Post by garoto »

That'd be awesome Pierre!

Also, thank you Clo for trying to help. Reading back the thread I think I could've been clearer about it being the selected thumb border (english not being my native language blah blah ;) ).
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Border color in thumbnail view

Post by xnview »

Please try XnView 1.96 beta
Pierre.
Samoreen
Posts: 8
Joined: Tue Nov 08, 2011 1:09 pm
Location: Samoreau,France

Re: Border color in thumbnail view

Post by Samoreen »

Hi,

I just installed the latest version of XnView and it seems that I can't customize the frame color for selected items. The color still comes from the current Windows color scheme. In my case, this is very ugly. IMHO, I don't see why this particular color must be the one selected for the Windows desktop while (almost) all other colors are customizable. Also, instead of painting the whole frame with a solid color, it would be much better to change the border color. This would be enough and less invading.

Or did I miss something?

My two cents...

Best regards.

--
Patrick
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: Border color in thumbnail view

Post by ckv »

Samoreen wrote:Hi,

I just installed the latest version of XnView and it seems that I can't customize the frame color for selected items. The color still comes from the current Windows color scheme. In my case, this is very ugly. IMHO, I don't see why this particular color must be the one selected for the Windows desktop while (almost) all other colors are customizable. Also, instead of painting the whole frame with a solid color, it would be much better to change the border color. This would be enough and less invading.

Or did I miss something?

My two cents...

Best regards.

--
Patrick
You can change the color by using the SelBorderColor setting.
==> http://wiki.xnview.com/index.php/UI-less_Settings

You can also use this little tool to set the border color.
==> http://newsgroup.xnview.com/viewtopic.php?f=61&t=19160
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
Samoreen
Posts: 8
Joined: Tue Nov 08, 2011 1:09 pm
Location: Samoreau,France

Re: Border color in thumbnail view

Post by Samoreen »

ckv wrote: You can change the color by using the SelBorderColor setting.
==> http://wiki.xnview.com/index.php/UI-less_Settings

You can also use this little tool to set the border color.
==> http://newsgroup.xnview.com/viewtopic.php?f=61&t=19160
Thanks very much for the quick answer. I used the XnView TweakUI tool and the color value was correctly changed in the INI file. However, XnView appears to ignore it. I switched to the registry for storing the settings. The SelBorderColor value was missing. I added it but it is still ignored.
Patrick
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: Border color in thumbnail view

Post by ckv »

SelBorderColor should change the color of the blue selection frame shown in the garoto's screenshot and, AFAIK, it's color is not actually taken from the Windows color scheme.

However this selection frame is not shown for files that cannot display a thumbnail and it's not shown at all if you have disabled the thumbnail shadow. In this case XnView uses different kind of selection, shown in the Clo's screenshot, it does use the selection color from the Windows color scheme (I guess this is the selection color you are talking about) and there is no way to change the color. :(