Page 1 of 1

XnView toolbar breaks with custom themes

Posted: Sun Oct 31, 2004 7:58 am
by Guest
Ok, i know. This should be blamed on me for using custom themes (521-advance4/3). The theme uses a customized uxtheme.

The problem is that when XnView starts the toolbar buttons are bigger than the toolbar in height. The XnView first starts, the toolbar and the buttons are sized properly, but later on the buttons are rendered incorrectly.

Image

To reproduce this, you should be able to do it by using,
521-Advance4/3: http://521.2ya.com/adv4-3.html
uxtheme: http://www.9down.com/modules.php?name=N ... e&sid=3569

Posted: Sun Oct 31, 2004 8:47 am
by ckit
This is a problem with "521-Advance4/3" and NOT XnView.

Posted: Sun Oct 31, 2004 10:34 am
by Guest
ckit wrote:This is a problem with "521-Advance4/3" and NOT XnView.
I disagree.

i would say it's the theme if XnView didn't start properly at first and then resize the icons wrong (this happens within the first seconds). In any case, i would assume that the same problem does occur on any theme (tweaked or otherwise) that has smaller toolbar buttons than the standard windows ones.

Re: XnView toolbar breaks with custom themes.

Posted: Sun Oct 31, 2004 10:54 am
by helmut
Anonymous wrote:Ok, i know. This should be blamed on me for using custom themes (521-advance4/3). The theme uses a customized uxtheme. ...

To reproduce this, you should be able to do it by using,
521-Advance4/3: http://521.2ya.com/adv4-3.html
uxtheme: http://www.9down.com/modules.php?name=N ... e&sid=3569
The first link raises "Forbidden access", with the second one I'm not quite sure what it does, so I didn't install it.

I assume that you have set the width / height in the file 'info.txt' for your custom scheme, if not this might be the problem.

Pierre will rather know what the problem might be...

Re: XnView toolbar breaks with custom themes.

Posted: Sun Oct 31, 2004 4:54 pm
by Guest
helmut wrote: The first link raises "Forbidden access", with the second one I'm not quite sure what it does, so I didn't install it.
Hmm.. the author must have broken the site, it worked just fine this morning.. The second link will patch your uxtheme.dll to support StyleXP -like themes for WindowsXP. I can't guarantee that it doesn't do any harm, as it does replace a windows system file. So please, do your research before using the utility. (I've patched my computer without any troubles, but one can never be too careful)
helmut wrote: I assume that you have set the width / height in the file 'info.txt' for your custom scheme, if not this might be the problem.

Pierre will rather know what the problem might be...
Oh, i don't know if i made it clear. 521-Advance4/3 is a theme for Windows, not for XnView.

Re: XnView toolbar breaks with custom themes.

Posted: Tue Nov 02, 2004 8:32 am
by xnview
Anonymous wrote:Ok, i know. This should be blamed on me for using custom themes (521-advance4/3). The theme uses a customized uxtheme.
So on Xp?
The problem is that when XnView starts the toolbar buttons are bigger than the toolbar in height. The XnView first starts, the toolbar and the buttons are sized properly, but later on the buttons are rendered incorrectly.
Image
To reproduce this, you should be able to do it by using,
521-Advance4/3: http://521.2ya.com/adv4-3.html
uxtheme: http://www.9down.com/modules.php?name=N ... e&sid=3569
Ok, i'll try this theme...

Re: XnView toolbar breaks with custom themes.

Posted: Tue Nov 02, 2004 8:00 pm
by Guest
xnview wrote:
Anonymous wrote:Ok, i know. This should be blamed on me for using custom themes (521-advance4/3). The theme uses a customized uxtheme.
So on Xp?
Yeah..

I must apologise here, with the amount of bugreports i've done in the last few years, i should have been more precise on this one too.

Re: XnView toolbar breaks with custom themes.

Posted: Wed Nov 03, 2004 1:45 pm
by xnview
Anonymous wrote:I must apologise here, with the amount of bugreports i've done in the last few years, i should have been more precise on this one too.
Could you tell me exactly what i must install on Xp?

Re: XnView toolbar breaks with custom themes.

Posted: Wed Nov 03, 2004 6:16 pm
by Guest
xnview wrote:Could you tell me exactly what i must install on Xp?
You need to patch your uxtheme.dll (get the patching utility and follow instructions) and install the 521-advance4/3 theme (unpack it to %windir%\resources\themes directory) and set one of the variants as your theme (control panel -> display -> themes and select advance4-3-nnnn from the dropdown)

Be prepared for atleast one reboot after patching your uxtheme.dll.

And it looks like the 521 site works again.. ;)

Posted: Wed Nov 03, 2004 6:17 pm
by Guest
Oh, and here is a quick link for the theme http://www.deviantart.com/download/5810530/

Posted: Sat Nov 13, 2004 3:40 pm
by xnview
Anonymous wrote:Oh, and here is a quick link for the theme http://www.deviantart.com/download/5810530/
I've patched the uxtheme, and installed 521-Advance4/3 theme, but i have no problem with toolbar...
Perhaps a problem in my installation??

Posted: Mon Nov 15, 2004 2:57 pm
by Guest
xnview wrote: I've patched the uxtheme, and installed 521-Advance4/3 theme, but i have no problem with toolbar...
Perhaps a problem in my installation??
so i take it that your toolbar stays compact and not spaced like my toolbar?

Oh well, i'll just suffer from the bug. It's not like it keeps me from using xnview ;)

Re: XnView toolbar breaks with custom themes.

Posted: Sun Feb 12, 2006 3:00 am
by Guest
helmut wrote:
Anonymous wrote:Ok, i know. This should be blamed on me for using custom themes (521-advance4/3). The theme uses a customized uxtheme. ...

To reproduce this, you should be able to do it by using,
521-Advance4/3: http://521.2ya.com/adv4-3.html
uxtheme: http://www.9down.com/modules.php?name=N ... e&sid=3569
The first link raises "Forbidden access", with the second one I'm not quite sure what it does, so I didn't install it.

I assume that you have set the width / height in the file 'info.txt' for your custom scheme, if not this might be the problem.

Pierre will rather know what the problem might be...