dbeaver / dbeaver/dbeaver

Grid Text Rendering Problem

Open
#18,554 1 comment 0 reactions 1 assignee Claimed by @ShadelessFox View on GitHub
xf:data xf:ui
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

### Description

When the `Preferences >> Editors >> Data Editor >> Grid >> Show whitespace characters` box is checked, sometimes the whitespace obscures portions of the preceding character. It only happens to some characters, and appears to depend on the particular string of characters preceding the whitespace. The zoom level also affects the display to some extent.

### DBeaver Version

Community Edition 22.3.0.202212041619

### Operating System

Windows 10

### Database and driver

Issue is independent of DB and driver

### Steps to reproduce

SQL Server repro script:
```sql
select concat(pfx.value,mdl.value ,' ')
,concat(pfx.value,mdl.value,sfx.value,' ')
from string_split('A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z',',') pfx
cross join (values ('TO')) mdl(value)
cross join (values (']')) sfx(value)
;
```

### Additional context

Output of the repro script when whitespace is displayed:
![image](https://user-images.githubusercontent.com/36859020/208921121-08c20c61-25eb-4e40-b10d-8f1ac15a1297.png)

and when whitespace is not displayed:
![image](https://user-images.githubusercontent.com/36859020/208921153-fbb3159a-594e-4053-a462-152c9a4184c1.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.