Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
right-click sent FocusLost. #3998
Comments
|
What is |
|
I have tested |
|
@justinmk |
|
Well, if the host terminal is showing a menu on right-click, wouldn't it makesense for FocusLost to fire? |
|
@justinmk It is terminal business to send FocusLost. Konsole does not do this. Also note that with Vim FocusLost (GTK GUI) does not close messages. Have not checked the popup, but I guess it is not closed as well. |
|
gvim works well,vim in gnome-terminal works well,only neovim's message and popupmenu well be closed on right click,and this happebd not only when click on the message area,but also on the main area |
|
Anyone can help me ,if you are using ubuntu ,can you try with this issue? |
justinmk
added
the
unconfirmed
label
Jan 18, 2016
justinmk
added this to the 0.3 milestone
Jan 18, 2016
|
@justinmk I have change to ubuntu 14.04LTS,and this issue is gone.I think it is the issue of gnome-terminal, not neovim itself |
wsdjeg
closed this
Jan 18, 2016
|
Thanks for followup. Must be libvte https://github.com/GNOME/vte |
|
thanks ,by the way,I think there is no need to use the daily build ubuntu os now ,just waitting for the release version. |
justinmk
added
tui
and removed
unconfirmed
labels
Jan 19, 2016
|
@justinmk I just test in ubuntu 16.04(daily build) in virturlbox, if need,we can reopen this issue. |
wsdjeg
reopened this
Feb 1, 2016
|
Sounds like a configuration issue. |
justinmk
closed this
Feb 6, 2016
|
not configuration issue,all test in same config,just with different gnome-terminal version |
|
@wsdjeg I guess he meant gnom-terminal configuration issue. Also note that we cannot and should not do anything with gnome-terminal sending FocusLost. It it the responsibility of terminal to send FocusLost and if you think it should not send FocusLost on certain events you need to go to to gnome-terminal bug tracker. But we can and should do something with redraw on FocusLost and it was the meaning of the issue referenced from your previous issue that was closed as duplicate. |
|
For reference, FocusLost redraw issue: #3416 |
|
agree with you @ZyX-I |
wsdjeg commentedJan 13, 2016
here is my mini vimrc only one line,my os is ubuntu ,gnome-terminal.
open a file with neovim
:messagethe type right-click in the message area, the message will be close ,and show me FocusLost 1
:messageagaintype right-click ,same as before,and show FocusLost 2
:messageagagintype
Altthem show me FocusLost 6:messageagaintype
winwhich issuperas os 7EDIT: I have test another terminal
terminatorit works well ,but also some other button treated as FocusLost.I think maybe this butten sand anescto the terminal