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

Cannot click GPTS #229

Open
TechWithTy opened this issue Sep 4, 2024 · 41 comments
Open

Cannot click GPTS #229

TechWithTy opened this issue Sep 4, 2024 · 41 comments
Labels
documentation Improvements or additions to documentation

Comments

@TechWithTy
Copy link

Cannot click on GPTS open ai
image

@leoxqy
Copy link

leoxqy commented Sep 5, 2024

noi_bug
Same issue, red area unclickable, win11, up-to-date version of Noi

@mitch133
Copy link

mitch133 commented Sep 5, 2024

Same bug here. Only happens once ChatGPT is selected. Doesn't occur with other AIs. You can click on the brain icon on the bottom of the screen (NOI Ask). It will change the menu and then you will be able to come back to the AI menu. But again, once you select ChatGPT, it will "freeze" and you'll have to repeat this again to "unlock"

@yanghualv7
Copy link

Same bug here. Only happens once ChatGPT is selected. Doesn't occur with other AIs. You can click on the brain icon on the bottom of the screen (NOI Ask). It will change the menu and then you will be able to come back to the AI menu. But again, once you select ChatGPT, it will "freeze" and you'll have to repeat this again to "unlock"

thanks,Your answer is very useful and solves the problem that bothers me.

@lowestprime
Copy link

same

1 similar comment
@wanghao-SunSky
Copy link

same

@donpare
Copy link

donpare commented Sep 6, 2024

Would like to add that GPTs are fully functional when using ChatGPT website.

@theAkito
Copy link

theAkito commented Sep 6, 2024

Same issue on Windows 10. The area is basically completely "blind". You can double click the area to de-maximise the windows, etc... Unfortunately, ChatGPT inside Noi is almost unusable, like this!

@mario-huang
Copy link

Same issue on Mac

@lencx
Copy link
Owner

lencx commented Sep 9, 2024

1. Please overwrite the local file with this file's code. https://github.com/lencx/Noi/blob/main/extensions/noi-reset/manifest.json
2. Restart Noi

3. #229 (comment)
Screenshot 2024-09-09 at 21 23 31

@mitch133
Copy link

mitch133 commented Sep 9, 2024

Didn't change anything for me. I changed the mentionned .json file lines, but the behaviour remains the same.
I'm on Win 11

@theAkito
Copy link

theAkito commented Sep 9, 2024

  1. Please overwrite the local file with this file's code. https://github.com/lencx/Noi/blob/main/extensions/noi-reset/manifest.json

    1. Restart Noi
Screenshot 2024-09-09 at 21 23 31

Finally! This fixed it! Thank you very much.

Didn't change anything for me. I changed the mentionned .json file lines, but the behaviour remains the same. I'm on Win 11

  1. Triple-check, you actually changed the correct file and saved the changes.
  2. Top Left Corner
  3. File
  4. Quit Noi
  5. Start Noi

@lencx
Copy link
Owner

lencx commented Sep 9, 2024

@theAkito After the webpage has fully loaded, I have set a 3 second delay. Please wait for 3 seconds before attempting to click.
Screenshot 2024-09-09 at 22 12 10

@theAkito
Copy link

theAkito commented Sep 9, 2024

@lencx

It initally worked, but I found a new problem, related to this fix.

Once I select a custom GPT from the sidebar, the fix does not apply anymore, no matter how long the user waits.
It stays unclickable again.

@lencx
Copy link
Owner

lencx commented Sep 9, 2024

@theAkito Switching the GPT will refresh the page, and I need to fix the JS file again.

@lencx
Copy link
Owner

lencx commented Sep 9, 2024

@theAkito @mitch133 Please update the @noi/reset directory (#229 (comment)). It should include the following three files: base.js, darg.js, and manifest.json.

Restart Noi

@theAkito
Copy link

theAkito commented Sep 9, 2024

@theAkito @mitch133 Please update the @noi/reset directory (#229 (comment)). It should include the following three files: base.js, darg.js, and manifest.json.

* https://github.com/lencx/Noi/blob/main/extensions/noi-reset/base.js

* https://github.com/lencx/Noi/blob/main/extensions/noi-reset/darg.js

* https://github.com/lencx/Noi/blob/main/extensions/noi-reset/manifest.json

Restart Noi

Seems to work. Thank you very much!

I set the delay here to 500ms. Still works.

window.NoiUtils?.changeURL?.('noi@reset:drag', () => setTimeout(removeAppRegion, 1000));

The thing with the delay is only a hotfix right? As it does not seem like having a delay in there is the final solution to the underlying issue.


For clarification, in case anyone else wonders.

You are supposed to change the three aforementioned files and scrollbar.js still has to remain in the folder unchanged!


This is, how to properly apply the changes and restart Noi.

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

@lencx lencx added the documentation Improvements or additions to documentation label Sep 10, 2024
@mitch133
Copy link

Still not working for me. I downloaded and replaced the mentionned files, started NOI (which was already closed during the replacement), and nothing has changed. I tried to disconnect from ChatGPT and relog, but it's effectless

@theAkito
Copy link

Still not working for me. I downloaded and replaced the mentionned files, started NOI (which was already closed during the replacement), and nothing has changed. I tried to disconnect from ChatGPT and relog, but it's effectless

I opened a discussion for your individual issue. Let's discuss it there.

@sd3420625
Copy link

Still not working for me. I downloaded and replaced the mentionned files, started NOI (which was already closed during the replacement), and nothing has changed. I tried to disconnect from ChatGPT and relog, but it's effectless

Are you using macos? If so, you need to find the extension folder from the settings in the noi software and replace the file, instead of replacing the noi software package in the application.

@theAkito
Copy link

Still not working for me. I downloaded and replaced the mentionned files, started NOI (which was already closed during the replacement), and nothing has changed. I tried to disconnect from ChatGPT and relog, but it's effectless

Are you using macos? If so, you need to find the extension folder from the settings in the noi software and replace the file, instead of replacing the noi software package in the application.

He's using Windows 11.

@mitch133
Copy link

I am using both Win 10 and Win 11 on 2 different PC's, and tried the workaround on both, and it doesn't work.
I have no particular setup.
I downloaded and replaced the 3 mentionned files there : C:\Users\XXX\AppData\Local\noi\app-0.4.0\resources\extensions\noi-reset

I have no time for screeshots right now, but the best would be to send a video. But in all cases it would just illustrate the described problem in the title ("cannot click GPTs")

So, I wouldn't close the ticket if I were you

@theAkito
Copy link

I am using both Win 10 and Win 11 on 2 different PC's, and tried the workaround on both, and it doesn't work. I have no particular setup. I downloaded and replaced the 3 mentionned files there : C:\Users\XXX\AppData\Local\noi\app-0.4.0\resources\extensions\noi-reset

I have no time for screeshots right now, but the best would be to send a video. But in all cases it would just illustrate the described problem in the title ("cannot click GPTs")

So, I wouldn't close the ticket if I were you

You can use the discussion for your particular setup.

From a programming point of view, it should work and it seems to work for everyone else, inlcuding myself, which necessarily means you have a special setup on both your computers.

@codejockey1
Copy link

codejockey1 commented Sep 14, 2024

I'm struggling with the same issue as @mitch133 is describing above. I've replaced the 3 files and restarted Noi as recommended. Nothing in the ChatGPT menu in the top left corner responds to hover or clicks. ChatGPT in my browser works fine. The only way to start a new ChatGPT chat in Noi is to click the "ChatGPT" menu item in the Noi sidebar.

I'm experiencing this on both Windows 11 and Mac.

@13IcHBiN
Copy link

on win 11 faced similar issue only if side bar is opened, if side bar is closed then new chat button works))
image
image

@codejockey1
Copy link

on win 11 faced similar issue only if side bar is opened, if side bar is closed then new chat button works)) image image

Good catch! I didn't notice that before, but the new chat button does work when the bar is closed. I confirmed on Windows 11 and MacOS.

@lowestprime
Copy link

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

Worked! Win11.

@theAkito
Copy link

theAkito commented Sep 23, 2024

image

I applied this fix and everything worked. Recently it stopped working, I added the files again but its still not working. I tried reinstalling the whole app (and then replaced the files again but issue remains. Any ideas?

The screenshot shows, that the base and darg files both have not been modified since 17th September.

@mitch133
Copy link

Is it still my particular case?

Or can we finally consider it's a bug affecting several users?

Personally I'm a little tired and uninstalling NOI for now.

Thanks for the software, it was cool while it worked.

@theAkito
Copy link

This is how it looks when I download a new zip from https://github.com/lencx/Noi

You mean the patch zip or for installation?

Is it still my particular case?

Or can we finally consider it's a bug affecting several users?

Personally I'm a little tired and uninstalling NOI for now.

Thanks for the software, it was cool while it worked.

It works theoretically and practically. There are obviously some setup specific issues. If you want to make it work, you need to find out, what is special about your setup.

It works on Windows 11 and Mac. These are the platforms you said "don't work"....

@TechWithTy
Copy link
Author

I have also uninstalled NOI , not worth the hastle will look back once its fixed globally

Is it still my particular case?

Or can we finally consider it's a bug affecting several users?

Personally I'm a little tired and uninstalling NOI for now.

Thanks for the software, it was cool while it worked.

@mitch133
Copy link

mitch133 commented Sep 24, 2024 via email

@theAkito
Copy link

Just because it works on your personal setup doesn't mean the problem is exclusively on my side when I did nothing since I initially and successfully installed it. It's even less my responsability to solve it and you should be glad we take time to report it...

Just because it doesn't work on your personal setup, doesn't mean the solution is exclusively on my side.

I am neither part of the project, nor an active maintainer. I'm just a developer, who sees the solution. The solution should work in theory and it actually works in practice. If it doesn't work for some people, there are more issues to discover, that is absolutely fine. But this issue is solved for most. That's the point.

So, if you would start figuring out (instead of ranting), what is special about your setup, we would progress on the further issue, happening to a minority of the users. 🙂

@theAkito
Copy link

@TechWithTy

Did you even apply the patch?

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

Worked! Win11.

Other users confirm, it is working.

@mitch133
Copy link

mitch133 commented Sep 24, 2024 via email

@caldwelljt2
Copy link

This a maddening bug, I've tried to replace the files and restart, but no matter what I do I can't click to start a new one or several other things in the top left of ONLY ChatGPT.

I can get there eventually using a keyboard, but it makes using noi super-frustrating. :-/

I suspect it's something with CSS, but I can't look into it right now to fix it.

@TechWithTy
Copy link
Author

@TechWithTy

Did you even apply the patch?

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

Worked! Win11.

Other users confirm, it is working.

Hey i thought the issue was fixed , but it is not. I synced the project so its up to date. And also quit and restarted it, the fixes to the bug should be merged to main, i do not have time and its not worth it to fix this manually i will keep watching for any updates.

@penggu
Copy link

penggu commented Sep 24, 2024

@TechWithTy
Did you even apply the patch?

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

Worked! Win11.

Other users confirm, it is working.

Hey i thought the issue was fixed , but it is not. I synced the project so its up to date. And also quit and restarted it, the fixes to the bug should be merged to main, i do not have time and its not worth it to fix this manually i will keep watching for any updates.

@TechWithTy , are you able to confirm that you updated all these three files in your local folder? The "New chat" button started working for me again after I updated all of them below:
https://github.com/lencx/Noi/blob/main/extensions/noi-reset/base.js
https://github.com/lencx/Noi/blob/main/extensions/noi-reset/darg.js
https://github.com/lencx/Noi/blob/main/extensions/noi-reset/manifest.json

@mpardonhw
Copy link

This issue is most certainly not resolved, but those affected will need to find another option I guess.

@TechWithTy
Copy link
Author

@TechWithTy
Did you even apply the patch?

  1. Triple-check, you actually changed the correct files and saved the changes.
  2. Open Noi Window
  3. Click on the Noi Logo in the Top Left Corner
  4. File
  5. Quit Noi
  6. Start Noi

Worked! Win11.

Other users confirm, it is working.

Hey i thought the issue was fixed , but it is not. I synced the project so its up to date. And also quit and restarted it, the fixes to the bug should be merged to main, i do not have time and its not worth it to fix this manually i will keep watching for any updates.

@TechWithTy , are you able to confirm that you updated all these three files in your local folder? The "New chat" button started working for me again after I updated all of them below: https://github.com/lencx/Noi/blob/main/extensions/noi-reset/base.js https://github.com/lencx/Noi/blob/main/extensions/noi-reset/darg.js https://github.com/lencx/Noi/blob/main/extensions/noi-reset/manifest.json

Hello @penggu as previously stated i do not have the time or want to put the effort in to updating these files its not worth it as i can just use open AI's browser. I will wait until the fixes are pushed to main

@t880216t
Copy link

@lencx https://github.com/lencx/Noi/blob/main/extensions/noi-reset/darg.js 仓库的代码里,多了个 setTimeout(removeAppRegion, 1000);
修改后,完整的drag.js为,可以解决我的问题了:

// fix: sidebar not clickable
function removeAppRegion() {
  const allElements = document.querySelectorAll('*');

  for (let element of allElements) {
    const style = window.getComputedStyle(element);
    if (style.webkitAppRegion === 'drag' || style.webkitAppRegion === 'no-drag') {
      element.style.webkitAppRegion = 'initial';
      // console.log('Removed -webkit-app-region from:', element);
    }
  }
}

// setTimeout(removeAppRegion, 1000);
window.NoiUtils?.changeURL?.('noi@reset:drag', () => setTimeout(removeAppRegion, 1000));

@mitch133
Copy link

mitch133 commented Oct 9, 2024

Tried again to launch NOI today, and everything works fine on both of my PC's (Win 10 & Win 11).
Did nothing particular since the last time I posted here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests