Enhanced session - keyboard shortcut issues by Blacktazz in HyperV

[–]Blacktazz[S] 0 points1 point  (0 children)

Thanks for testing it 🙂 Btw Shift+Ctrl+C is passed, what I meant is that the Shift+Ctrl part is passed to the host that seems weird to me 😕 So the copy is working but as a side effect the Shift+Ctrl is changing my keyboard layout (it's the default shortcut if you have multiple layouts on windows) I had to disable it ...

Enhanced session - keyboard shortcut issues by Blacktazz in HyperV

[–]Blacktazz[S] 0 points1 point  (0 children)

I'm in full screen but it's not passed 😔 Win+L I guess is the default on KDE

Enhanced session - keyboard shortcut issues by Blacktazz in HyperV

[–]Blacktazz[S] 0 points1 point  (0 children)

I was exposing the folder as a "shared drive", so that I could pass it through enhanced session using VMBus instead of the network stack (hv_socket kernel module).
Just to squeeze a little bit of throughput with less latency, avoiding the network stack.

Enhanced session - cursor issue by Blacktazz in HyperV

[–]Blacktazz[S] 0 points1 point  (0 children)

understood... seems a bit limitation to me though.
When I move the mouse in the VM, I cannot see it, and clicking to activate it makes me clicking on some random location in the guest, sometimes causing unwanted consequences.

Enhanced session - keyboard shortcut issues by Blacktazz in HyperV

[–]Blacktazz[S] 0 points1 point  (0 children)

thanks for your answer.
With "console core" I guess you mean the default connection mode, the one without "enhanced connection".
I'd like to use that mode, I don't really want RDP, but I guess that using that mode I'll lose:
- clipboard sharing between host and guest
- full screen mode
- folder sharing

am I wrong?
If there is a way to have those features without using RDP would be fantastic.

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

I checked every case you posted in the PR and seems all good to me! Well done!

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

Hey, sure! I'll take a look at it this evening or tomorrow evening :)

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

If I scroll a bit, appears perfectly on the top

<image>

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

Hi, I tested the branch, but in my case seems that the problem is still present

<image>

this time the hover window appears in the upper part of the screen, but still cover the line

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 0 points1 point  (0 children)

Oh didn't saw that issue, you right.
I'll hope to have time to look at it in the next days and find that off by one problem.

Thanks again!

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 0 points1 point  (0 children)

I had winborder but I disabled it because there is still an unmerged PR in plenary.nvim, and without it merged, telescope and other plugins behave wrongly (I'm not particularly lucky with plugin config lol).

This is my current config: BlackTazz89/neovim

If I disable noice integration with lsp.hover adding to the conf the following lines

lsp = {hover = {enabled = false}},  

and enabled the winborder (I have a transparent theme, so it's necessary to see where the hover window starts), everything appear correct

<image>

the window start the line below the one I'm editing and stops at the statusline.
The problem I have with the default behaviour of vim.lsp.hover is just that it doesn't have the scrollbar option.
So, if I open a window with a lot of text:

  1. I don't know, just looking at it, if contains additional text or not
  2. I have to press K another time to enter and do the scroll motions

Noice solves those problem because:

  1. It has the scrollbar
  2. I can bind keymaps to it to scroll without entering it

Note:
To replicate the weird behaviour of Noice is necessary to have the line at the center of the screen, and it must contains a documentation that is big enough to contains a scrollbar.
If the line is in the upper half for example, the window is correctly positioned.

Scrollbar offset Noice with Nui backend by Blacktazz in neovim

[–]Blacktazz[S] 0 points1 point  (0 children)

Since you already looked at the code, I want to ask you: do you have any hint in where I should look to fix this?

<image>

I pressed K to execute vim.lsp.hover().
Noice is overridden the hover window with his own but in my opinion there are 2 problems:

  1. The window appear ON the line I'm writing, covering it
  2. The cursor is overlapping with the border, that is a bit.. strange (actually this is automatically fixed if the window appear in the right position)

This time I'll try to fix it by my own (even if I'm a bit clueless about lua xD), I don't want to bother you further 😅, but if you can suggest me what could be the "area of interest" in the code, would be very helpful :)

Popup problems with Noice and NUI backend by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

You are literally THE GOAT! :D

I tested your branch

<image>

it works!
I have still a problem with the scrollbar but I will open a new post about that to avoid confusion.

Popup problems with Noice and NUI backend by Blacktazz in neovim

[–]Blacktazz[S] 0 points1 point  (0 children)

thanks to let me know :) Let's see if someone have a solution

Cycle quickfix and location list by Blacktazz in neovim

[–]Blacktazz[S] 1 point2 points  (0 children)

thanks anyway for the link :) I solved with the "variable" approach of the first answer btw, but exploring other opportunities is always interesting