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

bug: Two confirm()'s one after the other don't update the text in the confirm window. #968

Open
4 tasks done
dapetcu21 opened this issue Oct 11, 2024 · 3 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@dapetcu21
Copy link

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.1

Operating system/version

Windows 10

Describe the bug

Two confirms in quick succession will exhibit a weird behavior where the second confirm window will resize to the correct size, but keep the text contents of the first one.

image
Then:
image

Steps To Reproduce

call confirm("This is a longer text. This is a longer text.") | call confirm("Meow")

Expected Behavior

image
Then:
image

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})
@dapetcu21 dapetcu21 added the bug Something isn't working label Oct 11, 2024
@qlaq2435
Copy link

qlaq2435 commented Oct 11, 2024

I’m experiencing the same issue, when I use 'qa' cmd, and confirm to save multi files, similar to what you described.
The related information about Noice is as follows:

        version 4.5.2
        tag     v4.5.2
        branch  main
        commit  df448c6

about nvim:

NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Nov 11, 2024
@dapetcu21
Copy link
Author

Still an issue

@github-actions github-actions bot removed the stale label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants