Giter Club home page Giter Club logo

Comments (7)

lingtjien avatar lingtjien commented on August 12, 2024

My first guess would be that that window is not a "normal" window, but I'll have to look into it.

The script currently ignores all windows of types: dialog and specialWindow. I think dialog speaks for itself and quoting the documentation of KWin: specialWindow: Returns whether the window is any of special windows types (desktop, dock, splash, ...), i.e. window types that usually don't have a window frame and the user does not use window management (moving, raising,...) on them

from grid-tiling-kwin.

lingtjien avatar lingtjien commented on August 12, 2024

I just tested it with my qt-creator (had to assign a different shortcut since Ctrl+E, 4 didn't work) and it worked fine for me, it would create a new window and that window would be tiled immediately on the next virtual desktop (I have creator in my list of minSpace 1 ). Which version of Qt creator do you use?

My version:
Qt Creator 4.9.1
Based on Qt 5.12.3 (GCC 8.3.0, 64 bit)

from grid-tiling-kwin.

teonnik avatar teonnik commented on August 12, 2024

I have the exact same version. I have a dual-monitor setup (laptop and a big monitor) with 4 virtual desktops. Each virtual desktops spans the two monitors (I would prefer it it didn't but couldn't figure out how to force one virtual desktop per screen).

It didn't work for me on virtual desktop number 2, curiously, I just tried on a different virtual desktop and it does work.... perhaps the problem is related to my multi-monitor setup. I've observed other strange behaviour too: the qt-creator window on virtual desktop number 2 will occupy the entire monitor and will not allow for any other windows to be spawned despite the script having been configured for 1 row, 2 columns per monitor.

from grid-tiling-kwin.

lingtjien avatar lingtjien commented on August 12, 2024

It didn't work for me on virtual desktop number 2

do you mean virtual desktop 2 on screen 1 or virtual desktop 1 on screen 2?

the qt-creator window on virtual desktop number 2 will occupy the entire monitor and will not allow for any other windows

What do you have in your configuration for Client min space the name and space variables? By default creator is in that list with a space value of 1 which means that any client with a name that contains that name, such as Qtcreator will always fully occupy a desktop.

from grid-tiling-kwin.

teonnik avatar teonnik commented on August 12, 2024

do you mean virtual desktop 2 on screen 1 or virtual desktop 1 on screen 2?

Each virtual desktop occupies both screens (the laptop screen and the external monitor's screen). I was referring to virtual desktop 2 (out of 4), which had qt-creator on it. I have qt-creator on the monitor and I have other apps on my laptop screen. I am unable to open a new window next to qt-creator (on the monitor's screen)

What do you have in your configuration for Client min space the name and space variables? By default creator is in that list with a space value of 1 which means that any client with a name that contains that name, such as Qtcreator will always fully occupy a desktop.

Thanks for clarifying , the value is 1. I tried changing it to 2, but that had no effect. Perhaps I need to restart?

from grid-tiling-kwin.

lingtjien avatar lingtjien commented on August 12, 2024

Yes, all the settings are only loaded in when the script is started. So you can either log out and log in again to restart the window manager or turn the script off and on again

from grid-tiling-kwin.

lingtjien avatar lingtjien commented on August 12, 2024

I assume you figured it out. You can open a new issue if you still have the issue.

from grid-tiling-kwin.

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.