Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

gvim not working #9

Closed
flosse opened this issue Dec 29, 2013 · 10 comments
Closed

gvim not working #9

flosse opened this issue Dec 29, 2013 · 10 comments

Comments

@flosse
Copy link
Contributor

flosse commented Dec 29, 2013

The gvim window and its content is totally transparent.

  • kwin-tilling 1.3.1.2
  • kde 4.11.3
  • gvim 7.4.86
@faho
Copy link
Collaborator

faho commented Dec 29, 2013

Can you upload a screenshot and your ~/.xsession-errors?

What happens when you resize gvim (i.e. hold down alt and right mouse button and move it around)?

@flosse
Copy link
Contributor Author

flosse commented Dec 30, 2013

Can you upload a screenshot

gvim_and_tiling

and your ~/.xsession-errors?

there is no ~/.xsession-errors

What happens when you resize gvim (i.e. hold down alt and right mouse button and move it around)?

then I can see the gvim window but its like a static picture, no interaction is possible

@faho
Copy link
Collaborator

faho commented Dec 30, 2013

there is no ~/.xsession-errors

What's the terminal output when you launch kwin with
kwin --replace
?

(I should really prefix the script's output with something, e.g. "TILING:")

v1.3.2 contains fixes for something like this (especially concerning minimum window size, which you can check with xprop), but because you can't run that (#8), we should fix that first.

@faho
Copy link
Collaborator

faho commented Dec 30, 2013

Just tested, I can reproduce the issue with v1.3.1.2, but that's precisely the issue that aa54343 was fixing. So this one should be closed for current git and #8 should be fixed instead (setting up a VM as we speak).

@faho
Copy link
Collaborator

faho commented Dec 31, 2013

This one is really weird and may well be a gvim bug - it seems to miscalculate the geometry it should occupy, resulting in something like this:

Resizing client gvim from 0 0 660 385 to 0 0 1366 768
Resizing client gvim from 0 0 1364 755 to 0 0 1366 768
Resizing client gvim from 0 0 1364 755 to 0 0 1366 768
Resizing client gvim from 0 0 1364 725 to 0 0 1366 768
Resizing client gvim from 0 0 1364 755 to 0 0 1366 768
Resizing client gvim from 0 0 116 755 to 0 0 1366 768
Resizing client gvim from 0 0 1364 755 to 0 0 1366 768
Resizing client gvim from 0 0 116 755 to 0 0 1366 768
Resizing client gvim from 0 0 1364 755 to 0 0 1366 768

Disabling window border for gvim (e.g. through window rules or completely disabling borders via the script config) seems to work around this, as does launching gvim via a terminal.

@faho
Copy link
Collaborator

faho commented Jan 6, 2014

So, I just tested the latest gvim hg, and it seems to completely fix this issue.

Since I believe it's a gvim bug and I don't know how I could workaround it, I'll close this bug.

Until your distro gets a newer gvim version, you can:

  • Always launch gvim through the terminal
  • Disable window borders for gvim (e.g. through the rules)
  • Disable tiling for gvim (see the script config)
  • Build your own gvim

You can also file a bug with your distribution so they can maybe apply a patch or upgrade (many people run vim from hg).

If that's not good enough for you, reopen and I'll see if I can do anything. Thanks for filing a bug.

@zhou13
Copy link

zhou13 commented Sep 12, 2014

On my system, even with lastest gvim built from the souce, I still get a transparent gvim.

Workaround 1, 2, 4 fail on my system..

@zhou13
Copy link

zhou13 commented Sep 12, 2014

OK. Although gvim is totally transparent, I'm still able to resize that transparent window by draging its title bar. After the resize, gvim will display normally..

Is it possible to make this workaround happens automatically?

EDIT: It seems gvim will only refresh after resizing. gVim still not works after typing something.

EDIT2: I give it up. Switch to https://github.com/equalsraf/vim-qt

@anntzer
Copy link

anntzer commented Jan 22, 2015

Same issue here. Sometimes I see a transparent gvim that works fine after redrawing, sometimes a black window that does not respond, and sometimes a normal looking window with the vim GUI menu (which I disabled in my vimrc) that does not respond either.

@faho
Copy link
Collaborator

faho commented Jan 29, 2015

See #6 - this is a duplicate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants