This is standard behavior from my experience, even for other tiling
window managers (I know i3 did this for instance).

I believe (not an expert in qtile) there would need to be communication
between your launcher and qtile to get the desired behavior. Qtile has no
control over when a program decides to actually create a GUI window after
you've started the executable. Therefore the launcher would have to:
1) document when a program is launched,
2) document what window currently has focus,
3) if said program will spawn a GUI window,
4) Determine when the GUI window has actually been created and get some ID
on it that qtile would understand.

>From there, it should be easy to get qtile move a window placement. The
major headache is step 4. I'm honestly not sure how to do that in a robust
way.


James Wright



On Mon, Aug 30, 2021 at 8:14 PM Miguel Rodriguez <[email protected]>
wrote:

>
> In summary an as an example: If I spawn Firefox in the group "1" and move
> the screen focus or switch to the workspace "2", Firefox will appear in the
> "2" group and not in the group "1" where it was called from.
> I would appreciate so much if someone knows how to avoid this non desired
> behavior, I looked in the documentation but could no find the reference
> that could solve my problem.
> Thanks in advance for your time and for reading. :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/652c7d9f-472d-4dfe-a8b6-6e3fed306ffbn%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/652c7d9f-472d-4dfe-a8b6-6e3fed306ffbn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CAHErDQj9%3DHF06L6vnEtVKSB0XF1gDoHMqRHO3uoi4mieFo7EEQ%40mail.gmail.com.

Reply via email to