Display / viewing annoying bug

GS's profile image GS posted 2 months ago in General Permalink

At least on Portable HeidiSQL 64 bit that I use for many years (THANKS to the developer for such great piece of software!) there's an extremely annoying bug that I confirm that I can replicate.

As seen in the attached files, a "visual band", usually (but now always) 5 lines deep and starting around char 16th, "messes up" visually with the code. Not only hiding it but when writing over it messing with the writing sequence. Immediately after running the query, it "goes away" but then, the moment one changes any character in any of the lines or even lower ones, it comes back...

I installed a full clean portable 64 version and inserted manually my sites config (ie, did not use the export/import) and still keep the problem. I'm I the only one having this problem? Because using "dark" modes??? All dark modes have same bug, didn't test other modes...

2 attachment(s):
  • Clipboard-1
  • Clipboard-2
ansgar's profile image ansgar posted 2 months ago Permalink

Please test at least the "Windows" theme - the default one without additional bitmaps.

The issue was reported before in issue #1897. My solution was an attempt based on a single situation where I saw that vertical bar, and I never got feedback there.

I am still thinking that loading bigger table fields causes this issue. So you could also try to find out when this does not happen, so we can track down this a bit.

GS's profile image GS posted 2 months ago Permalink

From the first test using the "default" "Windows" theme, seems I cannot replicate the problem, so this seems related to this change of "Style Theme". After several tests I confirm that under the default Windows theme the problem does not happens, but it does in any other theme used, after running an SQL (F9) and can be seen by selecting the SQL statements as per attached files. Tried all other themes and can replicate in all of them the "vertical band" interfering w/ editing. When one selects parts of the SQL code, it shows the band, when the theme is not the default one (Windows).

1 attachment(s):
  • Presentation1
ansgar's profile image ansgar posted 2 months ago Permalink

Thanks a lot for your findings. It's good to know the styling is somehow causing it. However, I cannot fix that, as these styles are part of the VCL libraries. But I will have a look for updates here.

Code modification/commit 59ac406 from Ansgar Becker <anse@heidisql.com>, 2 months ago, revision 12.8.0.6938
Update style file from Delphi 12.1. Related to https://www.heidisql.com/forum.php?t=43616

Please login to leave a reply, or register at first.