Giter Club home page Giter Club logo

Comments (6)

Jazqa avatar Jazqa commented on June 18, 2024

Sorry for a slow response. Fullscreen applications "block" the screen. I've chosen to remove the clients in such situations for consistency – I personally don't think tiling on top of a fullscreen client is desirable behavior. However, the client should go back to tiling when moved from a blocked screen back to a screen without a fullscreen application, so that's a bug.

Good job reading my spaghetti code by the way, removing the removeClient call fixes the issue but allows tiling on blocked and ignored screens. Removing the if (client.included) condition a few lines up should fix this though. I'm already in bed, but I have a few hours tomorrow to fix this issue and multiple other ones that have been piling up while I've been busy.

from kwin-quarter-tiling.

barisdemirdelen avatar barisdemirdelen commented on June 18, 2024

Thanks for the feedback. It makes sense that nothing broke for me because i don't have any ignored screens. The code itself isn't that bad to get around. Lets just say that i have seen much worse :)

On an unrelated question, i am not at all familiar with developing kwin scripts, and i have another rare bug with this one i would like to track. Can i ask how you develop and debug this script?

I found that i could use

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveConsole

to start an editor and execute the script but its not the most convenient way for me.

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 18, 2024

I'm afraid the interactive console is the best way to debug KWin Scripts. What kind of bug are you experiencing?

from kwin-quarter-tiling.

barisdemirdelen avatar barisdemirdelen commented on June 18, 2024

Sometimes when i move a window to another screen with mouse, and leaving the mouse on top of the screen so the window moves to the screen and fullscreens at the same time, it breaks tiling. But i haven't tested yet as to in which circumstances this occurs.

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 18, 2024

Fixed. Quarter Tiling shortcuts now move windows across screens even if the screens are ignored or blocked. However, you may not notice the change as fullscreen programs are displayed above others, so the window moved to the same screen will be located under the fullscreen program.

from kwin-quarter-tiling.

barisdemirdelen avatar barisdemirdelen commented on June 18, 2024

I can confirm it works now, thanks!

from kwin-quarter-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.