hankinsoft / SQLPro

SQLPro bug & features tracking.
106 stars 28 forks source link

Large Text Fields Pasted Into Editor Cause the Editor to be non-Responsive #1018

Open kpconnell opened 17 hours ago

kpconnell commented 17 hours ago

Describe the bug Pasting large amounts of text, e.g. JSON from a BLOB column causes the editor to become non-responsive

To Reproduce Steps to reproduce the behavior:

  1. Execute a new query that has a column with a large size of non-SQL text e.g. JSON
  2. Copy and paste the column contents into the SQL editor
  3. Enjoy the rainbow

Expected behavior Editor should not try to parse extremely long lines of any kind of text and remain responsive

Environment details (please complete the following information):

kpconnell commented 17 hours ago

Possibly related: #1015

hankinsoft commented 13 hours ago

Just curious what size json are you pasting, as I'm not able to reproduce this. Any chance you could upload an example file?

kpconnell commented 13 hours ago

1MB

On Tue, Dec 3, 2024 at 3:06 PM Kyle Hankinson @.***> wrote:

Just curious what size json are you pasting, as I'm not able to reproduce this. Any chance you could upload an example file?

— Reply to this email directly, view it on GitHub https://github.com/hankinsoft/SQLPro/issues/1018#issuecomment-2514827307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIHBZWU4V5QZACJOH6UQVD2DXCH5AVCNFSM6AAAAABS5TXSB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJUHAZDOMZQG4 . You are receiving this because you authored the thread.Message ID: @.***>

hankinsoft commented 9 hours ago

Hmmm, I'm seeing even a 100mb json file load (it takes about 5-10 seconds for the paste, but then it goes smoothly). When you receive the beachball, it just stays hung forever?