You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do F three times in a row. The third times nothing appears anymore.
A workaround is typing ":" to show popupmenu then echo filename works again.
After debugging I think the culprit is in lua/noice/ui/init.lua M.enable
ifManager.tick() >tickthen
The condition if true the first two times and false the third.
Note that the problem is only with the backend mini, not with notify. But the bug doesn't seem to be in mini's implem. It just that I think notify, like popupmenu when typing ":", must increase tick (I'm not sure) ?
Note:
It took me many hours of debugging. I will give my two cents: I think that a lot of small functions calling other functions, a lot of abstractions, a ton of dynamic dispatch makes very hard to understand the code as an outsider. To understand a bug you have to understand what calls what, what modifies what data etc. if you're not the person who wrote the code then you don't know the abstractions very well and you struggle a lot to understand what's going on.
So it's just my 2 cents which can be ignored I just felt like maybe a bit less abstractions can help.
Steps To Reproduce
See above
Expected Behavior
Can show more than two times notification with mini
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-965+gfb74fd295 Build type: RelWithDebInfo LuaJIT 2.1.1727870382
Operating system/version
WSL ubuntu
Describe the bug
do F three times in a row. The third times nothing appears anymore.
A workaround is typing ":" to show popupmenu then echo filename works again.
After debugging I think the culprit is in lua/noice/ui/init.lua M.enable
The condition if true the first two times and false the third.
Note that the problem is only with the backend mini, not with notify. But the bug doesn't seem to be in mini's implem. It just that I think notify, like popupmenu when typing ":", must increase tick (I'm not sure) ?
Note:
It took me many hours of debugging. I will give my two cents: I think that a lot of small functions calling other functions, a lot of abstractions, a ton of dynamic dispatch makes very hard to understand the code as an outsider. To understand a bug you have to understand what calls what, what modifies what data etc. if you're not the person who wrote the code then you don't know the abstractions very well and you struggle a lot to understand what's going on.
So it's just my 2 cents which can be ignored I just felt like maybe a bit less abstractions can help.
Steps To Reproduce
See above
Expected Behavior
Can show more than two times notification with mini
Repro
The text was updated successfully, but these errors were encountered: