daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
718 stars 56 forks source link

Can't resize neovim-gtk window! Missing window borders! #60

Open Zardoz89 opened 6 years ago

Zardoz89 commented 6 years ago

Possible related to https://github.com/daa84/neovim-gtk/issues/58#issuecomment-366181843

Looks that neovim-gtk window not have borders where I can click and drag to resize the window, except on the title bar.

imagen

I try with commit f9b20db , Kubuntu 17.10 + kubuntu backports + dark breeze gtk theme

daa84 commented 6 years ago

In gnome border exists. Looks like this also depends on wm.

Zardoz89 commented 6 years ago

Some weeks ago, It had borders (thin, but there was). It was broke on some point. I could try to find on what commit this changed.

paldepind commented 6 years ago

I have this issue as well. This seems to be caused by the client side decorations. It would be really nice to have an option to disable CSD. In my experience CSD never works nicely outside of GNOME.

Zardoz89 commented 6 years ago

I agree with @paldepind . I think that is related to CSD. Before I begin to use kubuntu backports, the Neovim-gtk CSDs was working nice. Some change on Qt or kwin from the backports, should had break partially the CSD borders. I suggest to add a option to disable CSD and/or control the border size.

Sadly I don't have idea of rust or about gtk+ stuff related to CSDs, to try to help more.

PD: And the menu published on dbus, like any other software would be great for anyone that uses global menu like me.

daa84 commented 6 years ago

If this is CSD problem, you can try to disable titlebar by setting environment variable NVIM_GTK_NO_HEADERBAR=1, maybe this helps.

Zardoz89 commented 6 years ago

I just installed gtk3-nocsd (disables CSD on all gtk aplications) and launch neovim-gtk with it. The borders are back! So yes, the problem is the CSD