Skins are not available

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

Moderators: XnTriq, xnview

User avatar
XnTriq
Moderator & Librarian
Posts: 5600
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Mon Oct 10, 2005 9:10 pm

:D Thanks, pal!

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

Post by ckv » Tue Oct 11, 2005 11:21 am

Well I tried that browser entry and it didn't work like I thought. I am quite sure that it worked like that in 1.74 :|
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.

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

True---

Post by Clo » Tue Oct 11, 2005 4:37 pm

:arrow: ckv

:) Hello !

- I can confirm :
browser = 1 or 0 doesn't change anything, while it should; I have always my customized small browser tool-bar…
… while auto = 1 displays the customized grey/blurred icons (I have a disabled = "blurred.bmp" bitmap stated), and
auto = 0
displays only full grey buttons for the disabled / not used yet ones, so it works…
- However, hard to see if the customized greyed bitmap is used (needs to test further), or if the greyed icons are built by the program from the coloured "main.bmp" one…
EDIT : I've added a coloured mark on an icon in the grayed bitmap (possible, since it's a 24 BPP pic), and it doesn't appear on the screen…
- So, either the customized grayed bitmap is no longer used, or the program displays only the greyscale for that bitmap … :?:

- I didn't show these entries in my manual indeed because this "variable" and unexpected behaviour… :?

:mrgreen: Kind regards,
Claude
Clo
Last edited by Clo on Tue Oct 18, 2005 8:57 pm, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice

User avatar
XnTriq
Moderator & Librarian
Posts: 5600
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Tue Oct 18, 2005 8:45 pm

This is taken from WhatsNew.txt:

Code: Select all

v1.30 (07/Feb/2002): [Changed] Toolbar skin. See skin/toolbar.skn
v1.37 (26/Jun/2002): [ Added ] New skin for toolbar
v1.55 (06/Mar/2003): [ Added ] Toolbar skin showed
                     [ Added ] Disabled toolbar & file toolbar in skin
v1.67 (15/Dez/2003): [Changed] Skins are now in different folder
Two versions seem to be key here:
  • v1.55 introduced new entries to control the main (disabled) and the browser (small) toolbar's appearance.
  • v1.67 marks the end of the toolbar.skn and the beginning of the info.txt “era”.
In an effort to cut out the guesswork once and for all I “resurrected” some of the previous versions of XnView:

v1.30 (07/Feb/2002): \skin\toolbar.skn
[skin5]
label = "Fantasia (Claude Charries)"
filename = "fantasia.bmp"
width = 22
height = 26
v1.46 (08/Nov/2002): \skins\toolbar.skn
[skin5]
label = "Fantasia (Claude Charries)"
filename = "fantasia.bmp"
width = 22
height = 26
v1.66 (23/Oct/2003): \skins\toolbar.skn
[skin10]
label = "Phoenity (Lim Chee Aun)"
filename = "phoenity.bmp"
disabled = "phoenity_.bmp"
small = "phoenity2.bmp"

width = 24
height = 24
v1.70 (16/May/2004): \skins\Phoenity\info.txt
[skin10]
label = "Phoenity (Lim Chee Aun)"
filename = "phoenity.bmp"
disabled = ""
small = ""

width = 24
height = 24
browser = 1
auto = 1
v1.74 (27/Sep/2004): \skins\Phoenity\info.txt
label = "Phoenity (Lim Chee Aun)"
filename = ""
width = 24
height = 24
browser = 1
auto = 1
v1.80.3 (30/Jun/2005): \skins\mezich\info.txt
label = "Mezich (www.mezich.ru)"
width = 24
height = 24
browser = 1
auto = 1
version = 2
main32 = 1
browser32 = 1
Legend: gone / new

I gotta admit that I still have no idea what browser = 0/1 is intended for.
On the weekend I experimented with v1.70, v1.74 and v1.80.3 using every combination of info.txt imaginable, including variations in the order of the entries. I even made screenshots of every test run with info.txt displayed in the preview pane to be able to jump back & forth between results.

I'm kinda at my wits end. :?
Hopefully Pierre will leave us a short note next time he stops by.

Some people may argue that this is trivial, and I basically agree. The skins feature is just the icing on the cake.
On the other hand, it sure is a very nice extra, and considering XnView's well deserved popularity, one would expect it to draw more attention from the folks at deviantART or WinCustomize etc.
Last edited by XnTriq on Wed Oct 18, 2006 8:45 pm, edited 2 times in total.

User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti » Tue Oct 18, 2005 9:04 pm

2 XnTriq
Thanks, good job ! We hope that the Author will fix up these small issues …
Paul
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
xnview
Author of XnView
Posts: 33643
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Wed Oct 19, 2005 8:19 am

XnTriq wrote:I gotta admit that I still have no idea what browser = 0/1 is intended for.
On the weekend I experimented with v1.70, v1.74 and v1.80.3 using every combination of info.txt imaginable, including variations in the order of the entries. I even made screenshots of every test run with info.txt displayed in the preview pane to be able to jump back & forth between results.
You have browser if you have a browser.bmp and browser32 for browser32.bmp (mini toolbar).
Pierre.

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

32 WHAT ?

Post by Clo » Wed Oct 19, 2005 5:07 pm

:) Hello Pierre !
You have browser if you have a browser.bmp and browser32 for browser32.bmp (mini toolbar).
¤ Do you mean a 32 BPP image, or what else ?

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

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

Re: 32 WHAT ?

Post by xnview » Wed Oct 19, 2005 6:25 pm

Clo wrote::) Hello Pierre !
You have browser if you have a browser.bmp and browser32 for browser32.bmp (mini toolbar).
¤ Do you mean a 32 BPP image, or what else ?
yes browser.bmp or browser32.bmp
Pierre.

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

Re: 32 WHAT ?

Post by xnview » Thu Oct 20, 2005 7:59 am

xnview wrote:
Clo wrote::) Hello Pierre !
You have browser if you have a browser.bmp and browser32 for browser32.bmp (mini toolbar).
¤ Do you mean a 32 BPP image, or what else ?
yes browser.bmp or browser32.bmp
browser32 is only possible on Xp
Pierre.

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

Re: 32 WHAT ?

Post by xnview » Thu Oct 20, 2005 10:30 am

Clo wrote::) Hello Pierre !
You have browser if you have a browser.bmp and browser32 for browser32.bmp (mini toolbar).
¤ Do you mean a 32 BPP image, or what else ?
Browser=1: Use normal colour depth, browser.bmp
Browser32=1: 32 bit image depth, browser32.bmp
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5600
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Sun Oct 30, 2005 5:30 pm

Pierre's comments made me realize that there's no point in doing my little “experiments” on my PC, because Windows 2000 doesn't support 32-bit skins. You just won't see the effects of browser = 0/1 on Windows 95/98/ME/NT/2K.
Therefore I repeated the tests the other day — this time on XP.

%ProgramFiles%\XnView\skins\Test\:

Code: Select all

main.bmp
browser.bmp
main32.bmp
browser32.bmp
info.txt
%ProgramFiles%\XnView\skins\Test\info.txt:

Code: Select all

label = "Test (XnTriq)"
version = 2
width = 24
height = 24
auto = 1
browser = 0/1
main32 = 1
browser32 = 0/1
Results:

Code: Select all

+---------+-----------+---------------------+
| browser | browser32 | skin used by XnView |
|  = ?    |   = ?     |    v1.80.3 on XP    |
+---------+-----------+---------------------+
|    0    |     0     |     browser.bmp     |
+---------+-----------+---------------------+
|    0    |     1     |    browser32.bmp    |
+---------+-----------+---------------------+
|    1    |     0     |     browser.bmp     |
+---------+-----------+---------------------+
|    1    |     1     |    browser32.bmp    |
+---------+-----------+---------------------+
It's probably safe to say that we've finally figured that one out now.
I'm afraid we also succeeded in hijacking this thread. :twisted:

User avatar
XnTriq
Moderator & Librarian
Posts: 5600
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Sat Dec 10, 2005 7:10 am

xnview wrote:
Anonymous wrote:I removed the archive attribute from the info.txt file in the "test_1" folder, and I made sure that the info.txt file in the "test_2" folder had the archive attribute set.

When I started XnView, only the default and the "Test 2" skin appeared in the list.
So it appears to me as if XnView "sees" only those skins whose info.txt has its archive attribute set.
Strange, ok i check...
He came, checked, and fixed.
Merci, Pierre!

Post Reply