Windows theme style tabs don't look right

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

Moderators: XnTriq, helmut, xnview

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

Windows theme style tabs don't look right

Post by Dstruct »

Windows XP Professional SP3 with Classic theme + XnView 1.96

-> Tools -> Options -> Interface
-> check "Use Windows theme style for tabs"

-> OK

=>
Image

Something wrong there!
Last edited by Dstruct on Wed Feb 25, 2009 3:51 am, edited 1 time in total.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Ooooooooooooollllllllllllddddddddd !

Post by Clo »

:arrow: Dstruct


:) Hello !

• That's an ooooolllllld issue reported from ages and never fixed… :bugconfirmed:
- I bet that our Dear Mr. Librarian'll find out the thread¦s :wink:

- Here, I use always a customized Win9x theme in XP-Pro, and only the XnView XP style
for the menus, but not for tabs, of course !

:mrgreen: VG
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Ooooooooooooollllllllllllddddddddd !

Post by ckv »

Clo wrote:- I bet that our Dear Mr. Librarian'll find out the thread¦s :wink:
Don't encourage him. He can be quite scary sometimes. :wink: :mrgreen: *runs away*
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Ooooooooooooollllllllllllddddddddd !

Post by XnTriq »

ckv wrote:
Clo wrote:- I bet that our Dear Mr. Librarian'll find out the thread¦s :wink:
Don't encourage him. He can be quite scary sometimes. :wink: :mrgreen: *runs away*
... but you cannot hide! :twisted:
Sitä saa, mitä tilaa: Now that we finally get to see you more often again, making you leave is the last thing on my agenda;
especially since I remember being told early on not to frighten anyone away from the forum.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Ooooooooooooollllllllllllddddddddd !

Post by ckv »

Gasp! I runned as far as I could, but there was huge freaking wall on my way and on the wall was text "... but you cannot hide!"

I think the real problem here is that XnView is actually trying to draw the tab bar with non-existing theme. The Windows Classic theme in XP and vista really means, no theme. You can only choose between the XnViews own custom draw style or Windows theme style.

For example: The option to use the Windows theme for tabs is grayed out in Windows 2000 and there's no way to use the normal windows tab style.

So to fix the bug here XnView should disable the option to use Windows theme style for tabs when no theme is active (Classic theme).

If you really want to get the old classic non-themed tab style you, probably should make a new topic about it in the suggestions section.

Any of this might not make any sense, but trust me it does. :mrgreen:
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Windows theme style tabs don't look right

Post by xnview »

Please try XnView 1.96 beta
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv »

Works in Windows 2000 too. :D
Image

"Use Windows theme style for tabs" checkbox in options dialog is disabled, but manually setting TabBarDefault=1 in .ini file works.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckv wrote:Works in Windows 2000 too. :D

"Use Windows theme style for tabs" checkbox in options dialog is disabled, but manually setting TabBarDefault=1 in .ini file works.
Right
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

xnview wrote:
ckv wrote:Works in Windows 2000 too. :D

"Use Windows theme style for tabs" checkbox in options dialog is disabled, but manually setting TabBarDefault=1 in .ini file works.
Right
If Use Windows theme style for tabs is activated...
  1. right clicking doesn't bring up the context menu and
  2. left double-click doesn't close the child window.
XnView v1.96.0 beta 2 @ Windows 2000 SP4
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv »

XnTriq wrote:If Use Windows theme style for tabs is activated...
  1. right clicking doesn't bring up the context menu and
  2. left double-click doesn't close the child window.
XnView v1.96.0 beta 2 @ Windows 2000 SP4
Confirmed in XP and Win2k. Also new mousewheel tab switching doesn't work with this classic theme tabs.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: Windows theme style tabs don't look right

Post by Dstruct »

xnview wrote:Please try XnView 1.96 beta
Not fixed in 1.96 final. Still looks wrong (as seen on the image in my initial post).
Post Reply