Giter VIP home page Giter VIP logo

Comments (10)

faho avatar faho commented on June 3, 2024

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)?

from kwin-tiling.

flosse avatar flosse commented on June 3, 2024

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

from kwin-tiling.

faho avatar faho commented on June 3, 2024

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.

from kwin-tiling.

faho avatar faho commented on June 3, 2024

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).

from kwin-tiling.

faho avatar faho commented on June 3, 2024

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.

from kwin-tiling.

faho avatar faho commented on June 3, 2024

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.

from kwin-tiling.

zhou13 avatar zhou13 commented on June 3, 2024

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..

from kwin-tiling.

zhou13 avatar zhou13 commented on June 3, 2024

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

from kwin-tiling.

anntzer avatar anntzer commented on June 3, 2024

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.

from kwin-tiling.

faho avatar faho commented on June 3, 2024

See #6 - this is a duplicate.

from kwin-tiling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.