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: popup window cutoff unless popup_border_style option is set #1600

Open
3 tasks done
johnpitchko opened this issue Nov 11, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@johnpitchko
Copy link

johnpitchko commented Nov 11, 2024

Did you check docs and existing issues?

  • I have read all the docs.
  • I have searched the existing issues.
  • I have searched the existing discussions.

Neovim Version (nvim -v)

0.10.2

Operating System / Version

MacOS Sequoia 15.0.1 (24A348)

Describe the Bug

The top half of the popup window is cut off. That is, after opening the popup window in Neotree, such as when adding a new file or renaming a current one, the top half of the popup window is missing. The window still works - it collects and echos user input and adds/renames file correctly.

Setting the popup_border_style = "rounded" option for Neotree appears to resolve this issue; the full popup window is rendered.

Screenshots, Traceback

Screenshot 2024-11-11 at 12 22 41 Screenshot 2024-11-11 at 13 35 46

Steps to Reproduce

  1. Clear/unset any popup_border_style value.
  2. Open Neotree.
  3. Press a to add a new file or r to rename file under cursor.
  4. Observe window top appears cut off, or border is missing, and font is very faint.

Expected Behavior

Border surrounds entire window; font is visible.

Your Configuration

return {
  "nvim-neo-tree/neo-tree.nvim",
  cmd = "Neotree",
  branch = "v3.x",
  dependencies = {
    "nvim-lua/plenary.nvim",
    "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
    "MunifTanjim/nui.nvim",
    -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
  },
  keys = {},
  opts = {
    close_if_last_window = true
  },
}
@johnpitchko johnpitchko added the bug Something isn't working label Nov 11, 2024
@johnpitchko johnpitchko changed the title BUG: BUG: popup window cutoff unless popup_border_style option is set Nov 12, 2024
@junghochoi
Copy link

Can confirm that this issue is reproducible. Popup windows were working fine until I updated my neovim plugins

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