Black background on buttons with 24bit Desktop (FIXED)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Dstruct
Posts: 225
Joined: Fri May 02, 2008 9:27 am

Black background on buttons with 24bit Desktop (FIXED)

Post by Dstruct » Sat Dec 20, 2008 12:27 am

Just installed XnView 1.95.4 on a machine with a Matrox G550. We can't run 32bit Desktop there.

The problem is that all buttons in the toolbar have black background/border :(

That's really ugly (almost unusable). I guess this is because we run the Desktop in 24bit mode!?


Can this be fixed?

FIXED (1.96)
Last edited by Dstruct on Wed Feb 25, 2009 10:29 pm, edited 1 time in total.

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

Use another…

Post by Clo » Sat Dec 20, 2008 2:33 am

:arrow: Dstruct

:) Hello !

• I'ld bet my boots that you are using the default skin, aren't you ?

- In fact, you need the 8 BPP version, it's embedded in the resources too,
but the snag is that you cannot choose it in the Options separately !
- I agree that's a kind of :bug: since the programme fails to detect the current screen colour depth used in Windows…

• The only workaround “on the fly” is to use another skin having a 256-colour or 24 BPP version (main.bmp) in its folder.
It'll be used and the BG and borders will be “transparent”. Ensure you that it's designed as “version = 4” in its <info.txt> !
- Whether you don't find one you like, please just contact me via PM…

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

Dstruct
Posts: 225
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct » Sat Dec 20, 2008 9:30 am

I'm not on that machine right now. Is there a version of the new default skin that works with 24bit?


FIXED (1.96)
Last edited by Dstruct on Wed Feb 25, 2009 10:30 pm, edited 1 time in total.

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

Re: Black background on buttons with 24bit Desktop

Post by xnview » Sat Dec 20, 2008 11:20 am

On XP?
Pierre.

Dstruct
Posts: 225
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct » Sat Dec 20, 2008 11:37 am

Yes, Windows XP Professional SP3 german.

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

Post by XnTriq » Sat Dec 20, 2008 9:15 pm

  1. Download feqwci.png, convert it to BMP format and rename it to main.bmp.
  2. Download 1r5jpl.png, convert it to BMP format and rename it to browser.bmp.
  3. Create a subdirectory named mezich in the skins folder of your XnView installation and put main.bmp & browser.bmp there.
  4. Copy & paste the following text into Notepad and save it as info.txt in the new directory.
[color=green]%ProgramFiles%\XnView\skins\mezich\info.txt[/color] wrote:

Code: Select all

label = "Mezich (mezich@gmail.com, http://mezich.livejournal.com/)"
width = 24
height = 24
browser = 1
auto = 1
version = 4
main32 = 0
browser32 = 0
tabtree = 0
icninfo = 0
imbar = 0
jpgbar = 0

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

Why simple---

Post by Clo » Sat Dec 20, 2008 10:20 pm

:arrow: XnTriq

:) Hello W. !

    Image

• Why do simple… :D
- Alternative : Check PM, please…

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

Dstruct
Posts: 225
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct » Sat Dec 20, 2008 11:40 pm

XnTriq wrote:
  1. Download feqwci.png, convert it to BMP format and rename it to main.bmp.
  2. Download 1r5jpl.png, convert it to BMP format and rename it to browser.bmp.
  3. Create a subdirectory named mezich in the skins folder of your XnView installation and put main.bmp & browser.bmp there.
  4. Copy & paste the following text into Notepad and save it as info.txt in the new directory.
[color=green]%ProgramFiles%\XnView\skins\mezich\info.txt[/color] wrote:

Code: Select all

label = "Mezich (mezich@gmail.com, http://mezich.livejournal.com/)"
width = 24
height = 24
browser = 1
auto = 1
version = 4
main32 = 0
browser32 = 0
tabtree = 0
icninfo = 0
imbar = 0
jpgbar = 0

Which BMP format (settings) exactly?

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

Post by XnTriq » Sun Dec 21, 2008 3:00 am

Dstruct wrote:Which BMP format (settings) exactly?
1r5jpl.png is a truecolor image.
feqwci.png has less than 256 unique colors, so I saved it as an 8-bit image (to save a few bytes).

There are no special settings required for the conversion. You don't even need to define the transparency, because all fuchsia-colored areas are discarded by XnView's skinning engine. Just leave the RLE compression and OS/2 checkboxes in their default state (= deactivated).

For more information on the subject visit Claude “Clo” Charries' site or take a look at Adrian Kousz's XnView Skin & Specification.

Dstruct
Posts: 225
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct » Sun Dec 21, 2008 10:36 pm

XnTriq wrote:1r5jpl.png is a truecolor image.
feqwci.png has less than 256 unique colors, so I saved it as an 8-bit image (to save a few bytes).

There are no special settings required for the conversion. You don't even need to define the transparency, because all fuchsia-colored areas are discarded by XnView's skinning engine. Just leave the RLE compression and OS/2 checkboxes in their default state (= deactivated).

For more information on the subject visit Claude “Clo” Charries' site or take a look at Adrian Kousz's XnView Skin & Specification.

Thank you! Worked fine! Perfect.


Any chance that this will get "fixed" in one of the next updates (so that it automatically detects 24bit dektop and uses different toolbar images)?


FIXED (1.96)
Last edited by Dstruct on Wed Feb 25, 2009 10:30 pm, edited 1 time in total.

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

Post by xnview » Mon Dec 22, 2008 3:18 pm

Dstruct wrote: Any chance that this will get "fixed" in one of the next updates (so that it automatically detects 24bit dektop and uses different toolbar images)?
Could you send me your email by PM to send you a test version?
Pierre.

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

Re: Black background on buttons with 24bit Desktop

Post by xnview » Fri Jan 09, 2009 10:55 am

Please try XnView 1.96 beta
Pierre.

Post Reply