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

App doesn't honor window size when headerbar's text is too wide #41

Closed
baco opened this issue Dec 18, 2022 · 1 comment
Closed

App doesn't honor window size when headerbar's text is too wide #41

baco opened this issue Dec 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@baco
Copy link

baco commented Dec 18, 2022

When opening a file with a long filename/path that exceeds the default width for text on the header bar the window auto-resizes horizontally, sometimes even exceeding the screen width.

Here, the Neovim-gtk window is maximized to occupy the entire screen:
image

Now, opening a file with a really long path (~/src/ceg-intranet_release_700/ceg/exchange_rate_adjustment/migrations/0002_exchangerateadjustmentinvoice_exportede xchangerateadjustmentinvoicesfile.py), as the app is unable to fit the entire text in the Headerbar, the right side of the window leaves the screen, not respecting the default size:
image

As a result, the “Save All”, “Paste from clipboard”, “hamburger menu” and close buttons, as well as some plugin indicators at the bottom, are unreachable.

Technical information:

  • OS: Debian testing
  • Neovim version: v0.9.0-dev-519+g2d8bbe468 (Nightly release)
  • Neovim-Gtk build version: Compiled from source at commit 0ceef22
@Lyude Lyude added the bug Something isn't working label Dec 18, 2022
@Lyude Lyude closed this as completed in 651d4cf Dec 18, 2022
@baco
Copy link
Author

baco commented Dec 18, 2022

Excellent!! Thanks for the prompt response. I can confirm that solves the bug.

Lyude added a commit that referenced this issue Dec 19, 2022
* Update dependencies
* Drop some leftover dead cairo code I missed, and our explicit cairo
  dependency
* Some bugfixes:
  * Fix funny window sizing issue with long file names (#41)
  * Fix scrolling speed on devices like touchpads (#40)
  * Aesthetic improvements to the new underline style (underline should no
    longer look like it's moving under the text cursor)
  * Fix issue with underlines disappearing under the text cursor if no
    pango item was below the cursor
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