Page 1 of 1

Tab title redraw bug

Posted: 03 Mar 2024 16:47
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.

Re: Tab title redraw bug

Posted: 03 Mar 2024 16:50
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)?

Re: Tab title redraw bug

Posted: 03 Mar 2024 21:57
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.

Re: Tab title redraw bug

Posted: 04 Mar 2024 09:00
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?

Re: Tab title redraw bug

Posted: 04 Mar 2024 14:54
by aburnett
Sure. I attached screenshots of before and after changing visual style.

Re: Tab title redraw bug

Posted: 04 Mar 2024 15:14
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.

Re: Tab title redraw bug

Posted: 04 Mar 2024 15:26
by admin
I think you should simply set the style to "XYplorer Archaic Style".

Re: Tab title redraw bug

Posted: 04 Mar 2024 22:20
by aburnett
Yes. Archaic and Modern work fine. I'm currently using Modern.

Re: Tab title redraw bug

Posted: 04 Mar 2024 22:22
by highend
Try the latest beta…

Re: Tab title redraw bug

Posted: 05 Mar 2024 11:10
by aburnett
Confirming that it's fixed in the latest beta.