Hover-over pop-up for long entries fails when the entry is larger than what can appear within the terminal size
bug
**Before Proceeding, please acknowledge**:
- [x] I have consulted the [Troubleshooting guide](https://harlequin.sh/docs/troubleshooting/index).
- [x] I have searched Issues and Discussions in this repo.
- [x] Feature requests should be initiated as Discussions. This is a bug report.
**Describe the bug**
I have a Postgres DB with a JSONB column and the entries are quite large in length. When I hover over the column value to initiate the hover-over "popup" tooltip which displays all of the data, the popup appears for a fraction of a second before disappearing. After a second or so it tries to open again, and immediately closes once again. This behavior repeats indefinitely as the mouse is hovering over an entry to initiate the popup.
**To Reproduce**
Open a DB with that has columns that contain lengthy values. Hover mouse over the entry to initiate popup.
**Expected behavior**
Popup appears and shows all of the data, or at least truncates the data within the maximum viewable area.
**Actual behavior**
Popup appears for a split second, then immediately closes. Reappears shortly later and immediately closes. This behavior repeats.
**Contributing**
Are you interested in contributing a fix?
- [ ] Yes
- [ ] Maybe
- [x] No
What is the output of `harlequin --version`?
```
harlequin, version 2.4.1
Installed Adapters:
- postgres, version 1.3.0
- duckdb, version 2.4.1
- sqlite, version 2.4.1
```
What database adapter are you using with Harlequin? (Default is `duckdb`)
duckdb/postgres
What other options are you using when invoking Harlequin? (If you are using a profile, please add relevant items from your profile here).
Can you tell us more about your system?
- Shell: zsh
- Terminal: ghostty
- OS of the shell: macos
- OS of the terminal (if different from the shell):
- Default locale / language for your OS/Terminal/Shell: en_US/UTF-8
How did you install Harlequin?
- [ ] pipx
- [ ] conda/mamba
- [ ] pip (global install)
- [ ] pip + venv/virtualenv or pipenv
- [ ] Poetry
- [x] uv/Rye
- [ ] other: _____________
1 条评论