Bug 288767 - Fail to tile korganizer
Summary: Fail to tile korganizer
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (show other bugs)
Version: 4.7.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 00:13 UTC by Yichao Yu
Modified: 2012-07-14 09:27 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 Yichao Yu 2011-12-12 00:13:41 UTC
Version:           4.7.4 (using Devel) 
OS:                Linux

KOrgainzer is not tiled even though I haven't set any special rules to make it floating.

Reproducible: Always

Steps to Reproduce:
1, Enable tiling
2, Start KOrganizer in whatever way you like.


Actual Results:  
KOrganizer is floating.

Trigger the window floating doesn't do anything but trigger floating/tiling mode do make it tiling.


Expected Results:  
It should be tiling when it is started.

OS: Linux (x86_64) release 3.1.4-1-ARCH
Compiler: gcc
Comment 1 Yichao Yu 2011-12-12 13:15:08 UTC
I have tested again and found out that the problem is a little different from what I have described.

KOrganizer is tiled with no problem now when it started, but if I click the system-tray icon to minimize it (somehow it isn't closed but only minimized.) and then reactive it, it will not be handled by kwin.

I also connect to all possibaly related signals in kwinscript but what I have found is no signal is emitted when using system-tray icon to minimize and when reactive it after this.

My test script:

workspace.clientManaging.connect(function(client) {
    print(client.getWindowInfo().windowClassName + " is managed");
    client.clientMoved.connect(client, function() {
        print(this.getWindowInfo().windowClassName + " is moved");
    });
});

workspace.clientAdded.connect(function(client) {
    print(client.getWindowInfo().windowClassName + " is added");
});

workspace.clientMinimized.connect(function(client) {
    print(client.getWindowInfo().windowClassName + " is minimized");
});

workspace.clientUnminimized.connect(function(client) {
    print(client.getWindowInfo().windowClassName + " is unminimized");
});
Comment 2 Thomas Lübking 2011-12-12 14:55:55 UTC
(left)clicking the korganizer systray icon (whether SNI or FDO) does nothing here (rightclicking brings up a popup)

Afaik that icon is the daemon (eg. you can "quit" it but keep the calendar window on screen)

Regular un/minimizing works? (titlebar button, alt+f3 menu)
Comment 3 Yichao Yu 2011-12-12 15:06:42 UTC
Yes, regular un/minimizing works (although I hide title bar and use orther shortcuts~~).

I know the system tray daemon is different from the program showing the window, but I can run the program buy clicking it, which is fine if (and I suppose it can) save resources. The problem is just when I click the icon again the window is "hidden" (not really normal minimize).
Comment 4 Martin Flöser 2012-07-14 09:27:47 UTC
As of git commit 34027455aaa2ee738c45987ca2d8cb7d65491bf0 window tiling support has been removed from KWin. This change will go into version 4.10, the upcoming release 4.9 still provides window tiling support. The discussion has been taken on the developer mailing list [1]. A short summary of the reasons here:
* it is unmaintained
* it is a mode not used by any of the core KWin team
* original developer said at Akademy 2012 that he is not interested in picking up the work again
* tiling has quite some bugs, e.g. multi screen not supported
* is conflicting with other concepts in KWin, e.g. activities

A result of this change is that we will not implement any new features or fix bugs related to window tiling.

There is ongoing work to provide window tiling as an external KWin script. We encourage everyone to participate in this effort and to make it really rock and have it available once 4.10 is going to be released. The current state can be found in the git repository [2] in the directory kwin/scripts/tiling.

[1] http://lists.kde.org/?l=kwin&m=133149673110558&w=2
[2] https://github.com/mgottschlag/kwin-tiling/