Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc need: windows opened in multiple workspaces cause by false config #33

Open
iiey opened this issue Jun 15, 2020 · 2 comments
Open

Doc need: windows opened in multiple workspaces cause by false config #33

iiey opened this issue Jun 15, 2020 · 2 comments

Comments

@iiey
Copy link

iiey commented Jun 15, 2020

Step to reproduce:

  1. Assign tabbed layout for certain programs then opening one in a workspace. Let say Firefox in Workspace 2
assign [class=Firefox*|Thunderbird] 2
for_window [class=Firefox*|Thunberbird] layout tabbed

#minimal config as in readme
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
  1. Open new window for ex. Firefox History oder Firefox Bookmark or Thunderbird in Workspace 2
    Each time it will spawn new workspace for each window. That is bad, that I must use mouse to switch between them.
    screenshot_20200615_084343

Expected behaviour is all windows should spawn in the same workspace.

I'm using ubuntu 16.04 KDE , i3 version 4.17.1 (also same problem in i3 version 4.11) with dual monitor.

@CastixGitHub
Copy link
Contributor

It's actually an issue with your i3 config file and it is related to assign, not to the tabbed layout:
You need to replace: assign [class=Firefox*|Thunderbird] 2
with: assign [class=Firefox*|Thunderbird] number 2

from i3 user guide 4.17:

# Assign to the workspace with number 2, regardless of name
assign [class="^URxvt$"] → number 2

I think this issue should stay open until the readme is more clear about that

@iiey
Copy link
Author

iiey commented Jun 19, 2020

Wow, thank you so much! What an idiot I am, writing down without noticing it.
Then we let the maintainer close this issue when README, Wiki or FAQ are more clear about it.
Until then I would change the subject so other with same problem can find easier.

@iiey iiey changed the title Problem opening new window in tabbed layout always create new workspace Doc need: windows opened in multiple workspaces cause by false config Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants