The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Open floating contextuel windows on the same WS in any case

asked 2014-01-22 08:20:10 +0000

Spheerys gravatar image

Hummm it's a little bit hard to explain my problem with my poor english... I'll try with an example

I have assign th the workspace n°2 the application Thunderbird. When it's launching, TB open itself on WS2. Normal. Sometimes, I'm moving TB on another WS, for example n°3 On the WS 3, when I try to make an attachment in a new message, the "modal" window to select a file to attach is opening in WS 2. Boring.

My question is the following : can we imagine a setting to open the "modal" windows on the same WS as the parent application, doesn't matter of the WS assignation ?

I'm not sure about the "modal" term and if I'm clear. Don't hesite to ask if need.

edit retag flag offensive close merge delete

Comments

I think this is something that could be considered as becoming the default behavior of workspace assignments. You should make a feature request on http://bugs.i3wm.org. You can refer to those windows generally as "dialog windows" as opposed to "top-level windows" and people will know what you mean.

TonyC gravatar imageTonyC ( 2014-01-22 10:34:21 +0000 )edit

2 answers

Sort by » oldest newest most voted
2

answered 2014-01-22 09:53:07 +0000

joepd gravatar image

What you want, is a more exact match for the Thunderbird windows: It should only match the main application, but not the windows that are opened after that. I do not have thunderbird installed on my system, but the best would be to look with xprop at the different window properties of the windows of thunderbird. Maybe there is a way to construct an assignment match that only works on the main window.

Alternatively, you could make a different launcher for Thunderbird, something along the lines of:

workspace number 2, exec thunderbird, workspace back_and_forth

This line you could put either with a key binding in your i3 config file, or you could wrap it in i3-msg '...'.

edit flag offensive delete link more
0

answered 2014-01-22 14:37:05 +0000

Spheerys gravatar image

updated 2014-01-22 15:10:05 +0000

I have precised the rule for the exact match of the main window of my application and you were right : the child windows are now opening themselve on the current WS. Thanks ;)

But maybe the best will be to test this property for the child windows : NETWMWINDOWTYPE(ATOM) = NETWMWINDOWTYPE_DIALOG

The main program is NETWMWINDOWTYPE(ATOM) = NETWMWINDOWTYPE_NORMAL

edit flag offensive delete link more

Comments

Glad it worked, but please post a feature request as TonyC suggested, as this would make sense for default behavior.

joepd gravatar imagejoepd ( 2014-01-23 23:34:14 +0000 )edit

Question Tools

Stats

Asked: 2014-01-22 08:20:10 +0000

Seen: 206 times

Last updated: Jan 22 '14