Bug 287682 - When tiling is enabled, all windows set to float by default
Summary: When tiling is enabled, all windows set to float by default
Status: RESOLVED DUPLICATE of bug 246153
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (show other bugs)
Version: 4.7.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-27 14:53 UTC by Marcus Harrison
Modified: 2011-11-29 20:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Harrison 2011-11-27 14:53:45 UTC
Version:           4.7.2 (using KDE 4.7.2) 
OS:                Linux

When tiling is enabled with the Spiral layout selected, all newly-created windows are set to float by default, meaning all new windows need to be told to tile by using the window menu. Ideally, they should tile automatically by default.

Reproducible: Always

Steps to Reproduce:
1. Enable tiling with default settings (Spiral, Raise/Lower All Floating Windows)
2. Open several new windows (I have tested with terminals, konqueror windows, kopete, kmail and amarok)

Actual Results:  
Notice how all windows are opened as floating windows (on my system, they open maximised even with the, "Smart" positioning selected) and do not tile.

Expected Results:  
Windows tile automatically.
Comment 1 Thomas Lübking 2011-11-27 16:35:10 UTC
a) cannot reproduce but please check whether this is bug #246153
b) multiscreen?
Comment 2 Marcus Harrison 2011-11-29 11:54:52 UTC
I've done more testing, and it's a bit more complicated than I first thought.

What's happening is, creating a new window that doesn't open maximised makes it tile. If the window opens maximised (e.g. because the last time that window was opened it was maximised), it opens as a floating window that's maximised.

Now here's where the real problem lies: if a none-maximised window is tiled on an empty desktop, it fills the whole screen _without becoming maximised_. When that window is then closed and re-opened, it becomes maximised because the window's borders are all touching the screen edge. Because it opens as a maximised window, it opens as a floating window by default.

A better scheme might be to make tiled windows maximised by default: maximised windows can be tiled next to each other, in which case they keep their maximised status i.e. they lose window borders/resize handles/the window controls hug the screen edges, but they are displayed in a tiled manner. Not only does this solve the problem of maximised windows being floating by default, but it results in something more aesthetically pleasing (and removes the bug that resize handles/borders don't actually resize tiled windows) and gives us a standard, clear behaviour for when a tiled window becomes a floating window (it is maximised across the whole screen until the user moves it away).

One issue with the above is that maximised windows don't necessarily hide the window borders, as that is a user-configurable setting (under, "Resize/Move Maximised Windows" somewhere).
Comment 3 Marcus Harrison 2011-11-29 11:57:47 UTC
(In reply to comment #1)
> a) cannot reproduce but please check whether this is bug #246153
> b) multiscreen?

Sorry, I didn't see your comment. The last comment on that bug makes the same observation as I have in my comment, yes.
Comment 4 Thomas Lübking 2011-11-29 20:44:47 UTC

*** This bug has been marked as a duplicate of bug 246153 ***