dbeaver / dbeaver/dbeaver

Click on grid changes boolean value

Open
#21,277 3 comments 0 reactions 0 assignees View on GitHub
enhancement xf:data xf:ui
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

### Description

If in grid view, If I want to select a row, but accidentally click on a boolean value, the value changes.
Other datatypes require double-click to enter edit mode. Boolean changes immediately.
My guess is it might be a kind of wanted behavior if a boolean is represented by a checkbox (still would argue against it), but in the case of textual representation the behavior is unexpected - hence the bug

In addition
* if the initial value is TRUE, then clicking on that turns it into FALSE
* if the initial value is FALSE, then clicking on that turns it into NULL
I figured that it just rotates between possible values

I consider it as a bug since
* it's dangerous
* it affects only boolean values

See video: https://youtu.be/hJIqxphihdA

I spotted this behavior some time ago. Probably the first time after a recent overhaul of the grid.

### DBeaver Version

CE 23.2.0

### Operating System

Fedora 38

### Database and driver

Postgresql 14

### Steps to reproduce

See video

### Additional context

_No response_

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.