Black background on buttons with 24bit Desktop (FIXED)

Bugs, defects, GPFs. Nothing else.

Moderators: helmut, Olivier_G, Dreamer, XnTriq, xnview

Black background on buttons with 24bit Desktop (FIXED)

Postby 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.
Dstruct
 
Posts: 189
Joined: Fri May 02, 2008 9:27 am

Use another…

Postby 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
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Postby 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.
Dstruct
 
Posts: 189
Joined: Fri May 02, 2008 9:27 am

Re: Black background on buttons with 24bit Desktop

Postby xnview » Sat Dec 20, 2008 11:20 am

On XP?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby Dstruct » Sat Dec 20, 2008 11:37 am

Yes, Windows XP Professional SP3 german.
Dstruct
 
Posts: 189
Joined: Fri May 02, 2008 9:27 am

Postby 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.
%ProgramFiles%\XnView\skins\mezich\info.txt 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
XnTriq
Moderator & Librarian
 
Posts: 1834
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Why simple---

Postby 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
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Postby 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.
%ProgramFiles%\XnView\skins\mezich\info.txt 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?
Dstruct
 
Posts: 189
Joined: Fri May 02, 2008 9:27 am

Postby 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 [url=http://en.wikipedia.org/wiki/Fuchsia_(color)]fuchsia-colored[/url] 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.
User avatar
XnTriq
Moderator & Librarian
 
Posts: 1834
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Postby 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.
Dstruct
 
Posts: 189
Joined: Fri May 02, 2008 9:27 am

Postby 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: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Black background on buttons with 24bit Desktop

Postby xnview » Fri Jan 09, 2009 10:55 am

Please try XnView 1.96 beta
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests