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

Enabling / disabling floating for containers from other workspace loses their focus #2938

Closed
orestisf1993 opened this Issue Sep 12, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@orestisf1993
Member

orestisf1993 commented Sep 12, 2017

Output of i3 --moreversion 2>&- || i3 --version:

Binary i3 version:  4.14-8-g85eb0976 (2017-09-05, branch "makepkg") © 2009 Michael Stapelberg and contributors
(Getting version from running i3, press ctrl-c to abort…)
Running i3 version: 4.14-40-gbcaec964 (2017-09-11, branch "remotes/origin/HEAD") (pid 902)
Loaded i3 config: /tmp/i3.config (Last modified: Tue 12 Sep 2017 11:42:24 AM EEST, 27 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: /home/orestis/Documents/programming/i3/build/i3

URL to a logfile as per http://i3wm.org/docs/debugging.html:
http://logs.i3wm.org/logs/5751832013963264.bz2

What I did:

  1. open 2 windows on workspace 1.
  2. run i3-msg floating enable && i3-msg mark A for the second one. It is now focused & floating.
  3. switch to workspace 2
  4. run i3-msg '[con_mark=A]' floating disable
  5. switch back to workspace 1

What I saw:
Window marked as A is not floating & is not focused.

What I expected instead:
Window marked as A is not floating & is still focused.

@i3bot i3bot added the 4.14 label Sep 12, 2017

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Sep 12, 2017

Member

We have another ticket called "inconsistent focus fallback" (or something like that) which is possibly related. I can't look for it at the moment, though.

Member

Airblader commented Sep 12, 2017

We have another ticket called "inconsistent focus fallback" (or something like that) which is possibly related. I can't look for it at the moment, though.

@orestisf1993

This comment has been minimized.

Show comment
Hide comment
@orestisf1993

orestisf1993 Sep 13, 2017

Member

You are talking about issue #1975. I think that it's not exactly the same issue. I am currently working on a fix that only modifies floating_disable() and it seems to solve this (2938) issue. Haven't tested it properly yet though.

I'll see if I can make a PR soon.

Member

orestisf1993 commented Sep 13, 2017

You are talking about issue #1975. I think that it's not exactly the same issue. I am currently working on a fix that only modifies floating_disable() and it seems to solve this (2938) issue. Haven't tested it properly yet though.

I'll see if I can make a PR soon.

@orestisf1993

This comment has been minimized.

Show comment
Hide comment
@orestisf1993

orestisf1993 Sep 14, 2017

Member

Bug also applies to floating enable.

Member

orestisf1993 commented Sep 14, 2017

Bug also applies to floating enable.

@orestisf1993 orestisf1993 changed the title from Disabling floating for containers from other workspace loses their focus to Enabling / disabling floating for containers from other workspace loses their focus Sep 14, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 14, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 14, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 14, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 14, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 20, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Sep 20, 2017

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 16, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 25, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 25, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 30, 2018

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment