Bug 66822

Summary: resizing windows larger than workarea impossible via dcop
Product: [Plasma] kwin Reporter: Melchior Franz <mfranz>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Melchior Franz 2003-10-29 11:40:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) 
OS:          Linux

It is no longer possible to resize windows via dcop to sizes
larger than the working area. This was possible before kwin_iii
and I used this feature regularly. If somebody asks dcop to
resize a window to e.g. 2000 2000, that's for a reason, and the
system should IMHO not try to be wiser.   :-]

Example:

$ dcop `dcopstart konsole` konsole-mainwindow#1 resize 2000 2000
Comment 1 Lubos Lunak 2003-10-29 14:22:57 UTC
You're not asking dcop to do it, you're asking the application via dcop to do it. And KWin doesn't let applications grow larger than the workarea, for good reasons. Feel free to add your votes to #34882.


*** This bug has been marked as a duplicate of 34882 ***
Comment 2 Melchior Franz 2003-10-29 14:46:04 UTC
> KWin doesn't let applications grow larger than the workarea [...]

Yes, it does: Alt (or Meta)+RMB! This is a useful feature, and if it can
be done with the mouse, it should be doable via dcop, too.

> [...] for good reasons.

Such as? I understand that a user shouldn't be allowed to place a whole
window outside the working area. But why should he not be able to make
a window wider? A konsole window could contain a very wide table
(e.g. some logging output). Making the window narrower than the user
asked to totally screws the output and makes it unreadable. Please
reconsider this.
Comment 3 Lubos Lunak 2003-10-29 15:08:51 UTC
>> KWin doesn't let applications grow larger than the workarea [...] 
>Yes, it does: Alt (or Meta)+RMB! 
That's done by the user, not by the application. And that's why KWin will refuse it when the application requests it (when you ask it via dcop). And that's why I closed it as a duplicate of the other bugreport, which is about kwin's interface.