-
Notifications
You must be signed in to change notification settings - Fork 866
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
Needs additional click to navigate on Web UI #762
Comments
Note: I believe we need to debug this by looking into https://www.electronjs.org/docs/latest/api/web-contents#navigation-events and make sure that first click is being handled. If it's not being handled by I just did some testing.. it look like some method is chopping up the URL incorrectly on first click: 2023-07-10T03:56:20.646Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50-4065-4643-9fcf-790de67cd9f7&lng=&api=%2Fip4%2F127.0.0.1%2Ftcp%2F5001#/
2023-07-10T03:56:20.647Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50-4065-4643-9fcf-790de67cd9f7&lng=&api=%2Fip4%2F127.0.0.1%2Ftcp%2F5001#/
2023-07-10T03:56:20.652Z info: [window:webContents:did-frame-navigate] navigation to webui://-/?deviceId=af6e2d50-4065-4643-9fcf-790de67cd9f7&lng=&api=%2Fip4%2F127.0.0.1%2Ftcp%2F5001#/
2023-07-10T03:56:20.652Z info: [window:webContents:did-navigate] navigation to webui://-/?deviceId=af6e2d50-4065-4643-9fcf-790de67cd9f7&lng=&api=%2Fip4%2F127.0.0.1%2Ftcp%2F5001#/ The page had finished loading at this point, and then I tried clicking a tab, and I got all the below output: 2023-07-10T03:56:38.388Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.388Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.388Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.389Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.389Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.389Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50
2023-07-10T03:56:38.428Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:38.428Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:38.428Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:38.429Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:38.429Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:38.429Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50#/
2023-07-10T03:56:41.184Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/blank
2023-07-10T03:56:41.184Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/blank
2023-07-10T03:56:41.185Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50#/blank and upon re-clicking: 2023-07-10T03:58:43.176Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/files
2023-07-10T03:58:43.177Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/files
2023-07-10T03:58:43.177Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50#/files
2023-07-10T03:58:43.177Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/files
2023-07-10T03:58:43.177Z info: [window:webContents:did-start-navigation] navigation to webui://-/?deviceId=af6e2d50#/files
2023-07-10T03:58:43.178Z info: [window:webContents:did-navigate-in-page] navigation to webui://-/?deviceId=af6e2d50#/files |
i've looked into this a number of times and the fix is not obvious and will require some deeper diving I don't currently have time for. |
When I open the Web UI and click on one of the menu options to navigate, I need to click it twice. Only happens on the first one:
The text was updated successfully, but these errors were encountered: