Bug 105946 - Resize windows like fvwm / ctwm
Summary: Resize windows like fvwm / ctwm
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 11:33 UTC by Jerôme Pouiller
Modified: 2005-11-25 17:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch implementing this behaviour (3.73 KB, patch)
2005-11-24 01:04 UTC, Jerôme Pouiller
Details
Real patch (51.29 KB, patch)
2005-11-24 23:03 UTC, Jerôme Pouiller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerôme Pouiller 2005-05-19 11:33:10 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

It is a little difficult to describe.

In fvwm or ctwm, you can resize windows with special behaviour (default in ctwm): 
  - press Alt;
  - click down on window you want resize;
  - move your cursor. Until your cursor does not leave out window, nothing appends;
  - side where cursor leave window is the side moving (for example, if you touch left side, only left side will move and windows will be resized by the left).

This behaviour allows a very quick resizing of windows. I love it.
Comment 1 Lubos Lunak 2005-05-19 13:14:28 UTC
You haven't actually first tried this, have you? Left button to move, right to resize.
Comment 2 Jerôme Pouiller 2005-05-19 18:00:26 UTC
You have not understand. Currently, kwin choose border nearest cursor and move it. In my description, border to move is chosen only when cursor move over the border. 

For exemple, right-click near left border of window. Move your cursor to the right. Nothing happends. When your cursor move over the right border, right border begin to move. 

(My remark only refer to resize operation, not move operation)
(As i said, it's difficult to explain...)
Comment 3 Stefan Gehn 2005-05-19 18:27:29 UTC
And what is the gain from that behaviour? I don't think it's needed, the current one is helpful enough already, the ctwm-behaviour just adds more complexity for end-users.
Comment 4 Jerôme Pouiller 2005-05-20 11:20:45 UTC
I know many people who prefer this behaviour. I suggest to implement this behaviour in devellopement branch and i suggest to experimented users to test it (it's very fast to use, try it...). 

If you think it adds more complexity for end-users, option to activate this behaviour can stay hidden (not appear in configuration panel).

I can try to implement it, but i have never seen kwin code, and i think it would be very faster if someone who know better kwin implement it.
Comment 5 Lubos Lunak 2005-05-20 11:32:46 UTC
I agree with Stefan, I don't see any point in adding a different way that's just different. If you like the way FVWM works, simply use KDE with FVWM instead of KWin.
Comment 6 Jerôme Pouiller 2005-05-20 11:43:01 UTC
I will send a patch when i will finish...
Comment 7 Jerôme Pouiller 2005-11-24 01:04:14 UTC
Created attachment 13626 [details]
Patch implementing this behaviour
Comment 8 Jerôme Pouiller 2005-11-24 23:03:54 UTC
Created attachment 13640 [details]
Real patch

Sorry, my previous patch was buggy (Never do a modification without test it,
even if it is very small). This one work.
Comment 9 Paul ROUGET 2005-11-25 17:50:40 UTC
Oh my god ! Really really nice idea !
I use FVWM especialy for this feature.
Thanks for this work !