Giter Club home page Giter Club logo

Comments (8)

vegarab avatar vegarab commented on June 15, 2024

Is the script enabled under Window Management -> KWin Scripts -> Check Quarter Tiling and press enable. You can also try to restart the script with kwin --replace from anywhere.

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 15, 2024

I've probably messed up in the latest commit, what a perfect timing considering the Reddit post. I do try to test everything thoroughly but sometimes mistakes do happen. I'll start versioned releases soon to avoid this. I'll fix it the moment I get on my computer.

Did you just download it? How many displays are you using? Are you using Activities?

from kwin-quarter-tiling.

janbuchar avatar janbuchar commented on June 15, 2024

Yes, I downloaded it a couple of minutes before I opened this issue. I have a single display and I do use activities.

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 15, 2024

Activities should work. How many activities do you have? Are they empty or do they have windows open when you're starting the script? I'll try to replicate this and fix it. Shouldn't take long.

I should probably mention that while activities work, pinning windows to multiple activities only tiles them on the first one. Supporting window pinning is possible but it's a huge job so I haven't implemented it yet.

from kwin-quarter-tiling.

janbuchar avatar janbuchar commented on June 15, 2024

I have 5 activities, some of them contained windows when I started the script. I also tried rebooting with the script already enabled. I do have some pinned windows, opening a mail client after a new mail notification appears is a huge pain without that.

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 15, 2024

I'm testing the script with eight activities and a ton of windows. Some of which are pinned to multiple activities and some of which are pinned to all activities. Surprisingly, the script is starting with no problem. If anything specific comes to mind, feel free to post here and it might help me reproduce the issue.

If you really want to help. Type wm console into Krunner, copy the contents of /usr/share/kwin/scripts/quarter-tiling/contents/code/main.js into the console, execute the script and open a new window, console's output field should start filling up and the latest output should be some kind of error. Just paste the last few lines here and it'll help me figure it out.

If the error is similar to the error below, you need to select "Plasma" and then re-select "KWin" inside the console before pressing execute, it's a bug in the debugging console.

Error: ReferenceError: Can't find variable: readConfig at line 23

Backtrace:
<global>() at 23

from kwin-quarter-tiling.

Jazqa avatar Jazqa commented on June 15, 2024

Can you update and give it a shot? It's possible this was caused by the same bug that caused #28.

from kwin-quarter-tiling.

janbuchar avatar janbuchar commented on June 15, 2024

After the update, it seems to work. Thanks for your work!

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.