surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.03k stars 73 forks source link

Cannot type into any field that is not a modal #277

Closed NathanFrund closed 1 month ago

NathanFrund commented 1 month ago

The bug

After launching Surrealist, everything looks fine until I try to type in any field that is not in a modal; Query, Explorer, Designer, etc.

The text widget appears to take focus but the act of typing inputs no text.

Upon opening the web inspector a recurring error revolving around http://localhost:8000/rpc appears.

To Reproduce Steps to reproduce the behavior:

  1. Go to the release page and download the appropriate DMG.
  2. Start Surrealist and open the web inspector.

Environment:

Surrealist Version 2.0.6 (20240514.150408)

macOS Monterey 12.7.4

image

jjazzme commented 1 month ago

same issue

Surrealist Version 2.1.0 (20240530.203547)

macOS Monterey 12.7.5


But Enter and Tab are entered in the query window

thf24 commented 1 month ago

same here on macOS Monterey. makes the app not really useable unfortunately (and was almost a reason not to use Surreal DB for a new project, I really like the database overall though so still decided to go with it).

The issue has been present also already for the last 2 months+ since I first installed Surrealist and no updates so far resolved it.

jjazzme commented 1 month ago

same here on macOS Monterey. makes the app not really useable unfortunately (and was almost a reason not to use Surreal DB for a new project, I really like the database overall though so still decided to go with it).

The issue has been present also already for the last 2 months+ since I first installed Surrealist and no updates so far resolved it.

its so sad!

macjuul commented 1 month ago

Hello everyone, first of all my apologies for this issue taking so long to resolve. After multiple attempts looking into this I cannot personally, nor cannot find anyone in the vicinity that can reproduce this issue. For this reason I'll need a set of questions answered so I can further scope down the possible cause of this.

I'll be diverting time to focus on this issue as I understand how frustrating it must be. Since I cannot reproduce or test it myself, I will share binaries as soon as I have potential fixes in place.

thf24 commented 1 month ago

It seems to be a Safari issue (using the Desktop app), if I open the sandbox with Firefox it works fine. Opening the sandbox (https://surrealist.app/query) in Safari has the same issue as the Desktop app for me. Safari Version 15.4 (17613.1.17.1.6) The inputs look correct and get focus, but only Enter, Tab and Backspace seem to be working. I'm updating my MacOS to Sonoma now, maybe this will fix it.

thf24 commented 1 month ago

works fine on Sonoma now (Desktop App)! Safari Version 17.5 (19618.2.12.11.6)

macjuul commented 1 month ago

Very interesting, that's a big help!

macjuul commented 1 month ago

For those experiencing this issue, I have made some changes which may solve this issue. I'll attach the binaries to this comment for testing.

Surrealist_2.1.1_aarch64.dmg.zip Surrealist_2.1.1_x64.dmg.zip

jjazzme commented 1 month ago

For those experiencing this issue, I have made some changes which may solve this issue. I'll attach the binaries to this comment for testing.

Surrealist_2.1.1_aarch64.dmg.zip Surrealist_2.1.1_x64.dmg.zip

already better! In the query window, text is now entered. But, for example, I cannot change the name of the "New connection". image

NathanFrund commented 1 month ago

@macjuul, my experience appears to be like that of @jjazzme.

I'm able to enter queries (yes!), but I also cannot change/edit the name of a connection.

jjazzme commented 1 month ago

@macjuul, my experience appears to be like that of @jjazzme.

I'm able to enter queries (yes!), but I also cannot change/edit the name of a connection.

It is possible that other editable fields are affected.

NathanFrund commented 1 month ago

@jjazzme, you're right.

After a bit more exploration, I found that I cannot edit the name of a table, for example.

image

macjuul commented 1 month ago

@NathanFrund the table name is actually the one input which isn't supposed to be editable (yet!). I'll update the visuals to make it look less like an input as to prevent further confusion

@jjazzme @NathanFrund just looking to confirm, input fields and editors are working now, however editable inline text (such as the connection name) is not?

macjuul commented 1 month ago

I have made some further adjustments which hopefully resolve the remaining issues with editable inline text. Here are some new binaries for testing

Surrealist_2.1.1_aarch64.dmg.zip Surrealist_2.1.1_x64.dmg.zip

NathanFrund commented 1 month ago

@macjuul, thanks!

I was able to fire up the app and replicate my work in the web app.

I'm looking forward to what's to come.

jjazzme commented 1 month ago

@macjuul, thank you, everything works great

macjuul commented 1 month ago

Fantastic! Thank you all for the patience and feedback, I'll have this fix included in the next patch release