Comments (7)
I see, something still wrong with the resize event handler.
from neovim-e.
@coolwanglu that looks similar to something I saw while working on #13. I suspect that what's happening is:
- window resize event triggers, and tells nvim to resize to
NxM
rows/cols - nvim resizes and triggers
nv_resize
nv_resize
callswindow.resizeTo
which triggers the window resize event again
This is not a problem for OS X (and I assume Linux?), but if the calculation of window size in nv_size
produces a window that's too small, then it will trigger a loop that keeps reducing the rows/cols until it hits a minimum size.
#13 may fix this (I changed the conditions under which nv_resize
calls window.resizeTo
)
from neovim-e.
@rygwdn , I tried to manually apply your change locally, but get a compilation failure:
In file: src/nvim/ui.coffee
On line: 95
if not @resize_timer
^
Warning: CoffeeScript failed to compile. Use --force to continue.
So I just commented out the line with the if (first time I look at coffescript code so not much else I can do). Tested and now I don't get the previous behavior.
from neovim-e.
@jmlucjav: #13 was merged, can you try master
again?
from neovim-e.
I just tested 2d3fc60 and the weird behaviour is gone. Also, I can resize the window, and it works.
Next issue I see:
- if I do :e package.json the file is loaded fine and I can edit it
- if I drag it with the mouse over the window, the file is loaded, but I loose control of the cursor, I cannot do anything more, Esc and i don't change mode and there is no cursor visible.
I have not tried loadding my _vimrc yet, will try another time.
from neovim-e.
should I close this and open a new issue or we can reuse this for 'all things Windows'?
from neovim-e.
@jmlucjav Please create a new issue for this, thanks!
from neovim-e.
Related Issues (20)
- [idea] Full screen mode like iTerm (doesn't go into it's own workspace). HOT 1
- Slow scroll HOT 4
- Closing the electron window doesn't exit neovim cleanly HOT 2
- [idea] Prevent cursor blink when moving the cursor.
- (Windows) crashes when switching splits
- [BUG] Scrolling with mouse scrolls wrong window (top left window).
- [idea] Fontsize should change when pressing Meta + "0, -/_, +/=" keystroke
- [idea] Use one.js for WebGL font rendering. HOT 4
- HiDPI on Linux. HOT 4
- Please set up bounty source so people can support your work. HOT 2
- Popup menu flickers while typing. HOT 6
- Support ligatures. HOT 2
- [bug] <c-w> closes Neovim-e in Linux. HOT 2
- Cannot map command keys
- Crashes on creating a new split HOT 5
- How to change the line height? HOT 1
- [idea] command line binary
- cmd -> ctrl option in OS X HOT 7
- Misrepresented?
- Cannot find module 'app' HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim-e.