Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White screen in the Query Tool or View/Edit data when trying to edit a json type field after Paste #8296

Open
furje opened this issue Dec 24, 2024 · 2 comments
Assignees
Labels

Comments

@furje
Copy link

furje commented Dec 24, 2024

  1. Create this simple table:

CREATE TABLE IF NOT EXISTS testtbl
(
id smallint NOT NULL,
value jsonb,
CONSTRAINT testtbl_pkey PRIMARY KEY (id)
)

  1. insert one record: INSERT INTO lvl2db.testtbl (id, value) VALUES (1, '{"a": "b"}');
  2. Open table in View/Edit data or in Query Tool put query: select * from testtbl;
  3. In data output form select row and click "copy":

Screenshot_20241224_164922

  1. After this, click "paste":
    Screenshot_20241224_165004

  2. Make double click to edit field "value" in pasted row, after which the interface crashes (white screen):

Screenshot_20241224_165228

pgadmin4 version 8.14, commit: 9e58717 2024-12-09, desktop version, browser: Chrome 130.0.6723.137, OS: Ubuntu 22.04.5 LTS, Linux-6.8.0-50-lowlatency-x86_64-with-glibc2.35

@furje furje added the Bug label Dec 24, 2024
@anilsahoo20
Copy link
Contributor

Hi @furje
I am not able to reproduce the issue.
Can you please share the pgAdmin logs and the screen recording of the issue.

@prisoner881
Copy link

Hi @furje I am not able to reproduce the issue. Can you please share the pgAdmin logs and the screen recording of the issue.

This may be related to a different bug I noticed, which is not consistently reproduceable.

Sometimes when I run a query on a table, the font randomly changes, or the "Scratch Pad" section background goes white, or the "Total Rows: XXX Query complete YY:YY:YY.YY" footer text color changes to a random shade of grey that occasionally matches the background color, making the output unreadable.

Repeated runs of the same query will eventually cause all to be restored to normal again, but it's completely unpredictable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants