Tab title redraw bug

Things you’d like to miss in the future...
Post Reply
aburnett
Posts: 4
Joined: 03 Mar 2024 16:27

Tab title redraw bug

Post by aburnett »

After upgrading XYplorer 24.40 portable to 25.60 portable I notice the following bug: when the mouse arrow moves over a tab, the text of that tab is redrawn incorrectly, like in a broken, extremely pixelated cleartype.

If I downgrade to v24.40, the bug disappears.

I'm using Windows Server 2003, theme "Windows Classic", cleartype enabled, Themes service disabled.

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tab title redraw bug

Post by admin »

Strange. Nobody else reported this.

1) Are you using any 3rd party Windows skin?

2) Does it also happen in a fresh instance (= with factory defaults)?

aburnett
Posts: 4
Joined: 03 Mar 2024 16:27

Re: Tab title redraw bug

Post by aburnett »

Good news. I isolated the problem.

The bug shows up if:
  • Cleartype is enabled in the OS, and
  • Configuration -> Tabs and Panes -> Tabs -> Visual Style is set to Windows Theme Style
Changing this setting to XYplorer Archaic Style or XYplorer Modern Style solves the issue.

Since nobody reported the problem, I guess that it only happens on Windows XP/2003. Sad to see the last good Windows being abandoned.

PD: To answer your questions: I don't use any 3rd party skins; it doesn't happen in a fresh instance unless Visual Style is changed to Windows Theme Style.
PD2: Enabling or disabling the Themes service doesn't make any difference.
Last edited by aburnett on 03 Mar 2024 22:07, edited 2 times in total.

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tab title redraw bug

Post by admin »

Thanks, interesting :tup: But hard to understand: The code used to draw the caption is the same regardless of the "Configuration | Tabs and Panes | Tabs | Visual Style" setting.

Can you show a screenshot of the issue?

aburnett
Posts: 4
Joined: 03 Mar 2024 16:27

Re: Tab title redraw bug

Post by aburnett »

Sure. I attached screenshots of before and after changing visual style.
Attachments
Fresh instance (default settings)
Fresh instance (default settings)
good.png (45.58 KiB) Viewed 254 times
After changing Visual Style to "Windows Theme Style" and moving the mouse arrow over the tabs a few times (note how the currently active tab is not affected, it only happens on inactive tabs)
After changing Visual Style to "Windows Theme Style" and moving the mouse arrow over the tabs a few times (note how the currently active tab is not affected, it only happens on inactive tabs)
bad.png (45.3 KiB) Viewed 254 times

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tab title redraw bug

Post by admin »

Ah, that's several identical captions printed on top of each other without erasing the previous one first. I should be able to fix that.

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tab title redraw bug

Post by admin »

I think you should simply set the style to "XYplorer Archaic Style".

aburnett
Posts: 4
Joined: 03 Mar 2024 16:27

Re: Tab title redraw bug

Post by aburnett »

Yes. Archaic and Modern work fine. I'm currently using Modern.

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tab title redraw bug

Post by highend »

Try the latest beta…
One of my scripts helped you out? Please donate via Paypal

aburnett
Posts: 4
Joined: 03 Mar 2024 16:27

Re: Tab title redraw bug

Post by aburnett »

Confirming that it's fixed in the latest beta.

Post Reply