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

Inconsistent floating behavior #72

Closed
nibblebot opened this issue Oct 6, 2013 · 2 comments
Closed

Inconsistent floating behavior #72

nibblebot opened this issue Oct 6, 2013 · 2 comments

Comments

@nibblebot
Copy link

There are two different floating behaviors:

action: toggle float on an existing tiled window
result: floating windows float above the tree of other tiled windows.

 +-------------------------+             +-------------------------+
 |1           |2           |             |1                        |
 |            |            |   Toggle    |       +------+          |
 |            |            |   Float     |       |2     |          |
 |            |            |   ------>   |       |      |          |
 |            |            |             |       |      |          |
 |            |            |             |       +------+          |
 |            |            |             |                         |
 +-------------------------+             +-------------------------+

action: launch new application with --floating rule
result: floating windows take real space in the window layout as if it were tiled

action: alt+mouse1 drag floating window between monitors
result: floating windows take real space in the window layout as if it were tiled

 +-------------------------+             +-------------------------+
 |1                        |             |EMPTY       |1           |
 |                         |   Launch    |SPACE  +------+          |
 |                         |   Floating  |       |2     |          |
 |                         |   App       |       |      |          |
 |                         |   ------>   |       |      |          |
 |                         |             |       +------+          |
 |                         |             |            |            |
 +-------------------------+             +-------------------------+

In both cases, bspc query -T shows the same output.

Launch Floating App:

%  ~  bspc query --monitor 'DVI-0' -T
DVI-0 1920x1080+1920+0 0,0,22,0
  Desktop2 3 16 1 T *
    V m 0.50
      m Nautilus 0x1C0134D 1 3 673x611+2483+202 L f------ *
      m URxvt 0x81599B 1 3 564x292+2598+394 L -------

Toggle Float:

%  ~  bspc query --monitor 'DVI-0' -T
DVI-0 1920x1080+1920+0 0,0,22,0
  Desktop2 3 16 1 T *
    V m 0.50
      m Nautilus 0x1C0134D 1 3 673x611+2483+202 L f------ *
      m URxvt 0x81599B 1 3 564x292+2598+394 L -------

Which behavior is expected? according to answer on #17 it seems the correct behavior is when it takes up space in the tree layout?

@baskerville
Copy link
Owner

No, floating windows should not leave holes.

I can't reproduce, what's your bspwmrc?

@ghost
Copy link

ghost commented Oct 9, 2013

I was having the same issue, but it seems to have been fixed as of the most recent commit.

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