patrikx3/redis-ui

Blank screen issue since version 2020.10.418 on Mac

Closed this issue · 9 comments

Blank screen issue:
Screenshot 2020-10-30 at 5 52 41 PM

Issue occurs since version 2020.10.421 and newer.
Issue doesn't occur for version 2020.10.418 and older.

do you have any error in the dev console?
linux:
image

windows:
image

you can check the output via this flag: (in MacOs version, i have no idea how i can give a parameter, but something like this)

NODE_ENV=test ./P3X-Redis-UI-2020.10.489.AppImage

I can't check for any error in the dev console as the screen is blank.

I ran the test command and it returned nothing:

test "/Applications/P3X Redis UI.app"

I opened v2020.10.489 (which has blank screen issue), and ran lsof:

lsof -i -n | grep P3X
P3X\x20Re 91659 adisutanto   32u  IPv4 0x442cdd6b9f0b7ca3      0t0  TCP *:7843 (LISTEN)
P3X\x20Re 91662 adisutanto   18u  IPv4 0x442cdd6baa7c1063      0t0  TCP 192.168.1.54:61004->192.30.255.112:https (CLOSE_WAIT)
P3X\x20Re 91662 adisutanto   21u  IPv4 0x442cdd6b801dea43      0t0  TCP 192.168.1.54:61005->52.217.64.140:https (CLOSE_WAIT)

I opened v2020.10.418 (no blank screen issue), and ran lsof:

lsof -i -n | grep P3X
P3X\x20Re 91800 adisutanto   32u  IPv4 0x442cdd6b9f0bae03      0t0  TCP *:7844 (LISTEN)
P3X\x20Re 91800 adisutanto   64u  IPv4 0x442cdd6baa7bfca3      0t0  TCP 127.0.0.1:7844->127.0.0.1:61046 (ESTABLISHED)
P3X\x20Re 91800 adisutanto   65u  IPv4 0x442cdd6ba48e11c3      0t0  TCP 127.0.0.1:61047->127.0.0.1:6379 (ESTABLISHED)
P3X\x20Re 91800 adisutanto   69u  IPv4 0x442cdd6b9d5bce03      0t0  TCP 127.0.0.1:61048->127.0.0.1:6379 (ESTABLISHED)
P3X\x20Re 91802 adisutanto   19u  IPv4 0x442cdd6ba8a98683      0t0  TCP 192.168.1.54:61037->192.30.255.112:https (ESTABLISHED)
P3X\x20Re 91802 adisutanto   21u  IPv4 0x442cdd6b9d5bb063      0t0  TCP 192.168.1.54:61038->192.30.255.112:https (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   23u  IPv4 0x442cdd6b801e11c3      0t0  TCP 127.0.0.1:61040->127.0.0.1:7844 (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   24u  IPv4 0x442cdd6b9f0b7ca3      0t0  TCP 192.168.1.54:61055->52.217.65.172:https (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   25u  IPv4 0x442cdd6b9a9ddca3      0t0  TCP 127.0.0.1:61046->127.0.0.1:7844 (ESTABLISHED)
P3X\x20Re 91802 adisutanto   26u  IPv4 0x442cdd6b71815a2b      0t0  UDP 192.168.1.54:64995->74.125.24.97:https
P3X\x20Re 91802 adisutanto   28u  IPv4 0x442cdd6b9d5e5683      0t0  TCP 127.0.0.1:61042->127.0.0.1:7844 (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   29u  IPv4 0x442cdd6ba8a9c1c3      0t0  TCP 127.0.0.1:61044->127.0.0.1:7844 (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   30u  IPv4 0x442cdd6ba7ab8ca3      0t0  TCP 192.168.1.54:61056->52.217.65.172:https (ESTABLISHED)
P3X\x20Re 91802 adisutanto   32u  IPv4 0x442cdd6b718145d3      0t0  UDP 192.168.1.54:64889->74.125.24.102:https
P3X\x20Re 91802 adisutanto   34u  IPv4 0x442cdd6b9d5e91c3      0t0  TCP 127.0.0.1:61050->127.0.0.1:7844 (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   35u  IPv4 0x442cdd6b9e715e03      0t0  TCP 127.0.0.1:61052->127.0.0.1:7844 (CLOSE_WAIT)
P3X\x20Re 91802 adisutanto   36u  IPv4 0x442cdd6b801dea43      0t0  TCP 127.0.0.1:61054->127.0.0.1:7844 (CLOSE_WAIT)

if you can show me the console, i can help you

NOD_ENV=test "/Applications/P3X Redis UI.app"

there are 2 consoles, one the electron, the other is the webview.
if you enable the NODE_ENV, the webview will show right away, and the electron dev console it in the menu: view => toggle development tools....
please show the 2 console output. thanks!

it will look like this:
image

ok, i fixed the bug, would you mind to let me know if it works now on your machine? thanks

verified:
image

Thank you for the fix, p3x 👍