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

urlselect.lua - closing with script active causes useless bar to show on restart #490

Open
rdrms opened this issue Jan 13, 2022 · 3 comments
Labels
bug Unexpected problem or unintended behavior

Comments

@rdrms
Copy link

rdrms commented Jan 13, 2022

Hi, I really like this script, but whenever I leave the url selector open and end up exiting out of weechat, perhaps not cleanly through /exit but through logging out of the session or clicking the (X) on the terminal emulator, it doesn't restart properly (that is, with urlselect closed). The URLselect bar shows, but has no information. You cannot close it by hitting any of the key combinations that I have tried. The only way is when someone finally posts a url, you can restart the script by getting it to grab the URL, and then you can cancel it. I myself have resorted to going into a test room and logging on with webchat and posting a url there just so I can get the bar to go away.

Thanks for listening!

@Nomarian
Copy link
Contributor

You should probably point this out to the author of the script

https://github.com/tomoe-mami/weechat-scripts/issues

@rdrms
Copy link
Author

rdrms commented Jan 14, 2022 via email

@Nomarian
Copy link
Contributor

after looking at the script, perhaps you should run cmd_action_deactivate on a loop on all buffers before setup() ? that's the only thing that occurs to me at a quick glance.

@flashcode flashcode added the bug Unexpected problem or unintended behavior label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants