Windows theme style tabs don't look right

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

Moderators: XnTriq, xnview

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

Windows theme style tabs don't look right

Post by Dstruct » Mon Dec 15, 2008 10:24 pm

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 » Tue Dec 16, 2008 3:18 am

: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: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Ooooooooooooollllllllllllddddddddd !

Post by ckv » Tue Dec 16, 2008 11:11 am

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: 5434
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Ooooooooooooollllllllllllddddddddd !

Post by XnTriq » Tue Dec 16, 2008 9:35 pm

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: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Ooooooooooooollllllllllllddddddddd !

Post by ckv » Wed Dec 17, 2008 11:33 am

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

Re: Windows theme style tabs don't look right

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

Please try XnView 1.96 beta
Pierre.

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

Post by ckv » Fri Jan 09, 2009 1:53 pm

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

Post by xnview » Mon Jan 12, 2009 11:31 am

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: 5434
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Wed Jan 14, 2009 5:05 am

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: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Wed Jan 14, 2009 4:07 pm

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: 228
Joined: Fri May 02, 2008 9:27 am

Re: Windows theme style tabs don't look right

Post by Dstruct » Wed Feb 25, 2009 3:52 am

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