Hi, it would be a super-great feature in KDE – and make me love it even more – if I could double-click a window border to maximize its width or height. Windows, for instance, supports the latter (though not well known) since...ages. It still doesn't so with the former which is a pity. STEPS TO REPRODUCE 1. Double-click on the borders of basically resizable windows. OBSERVED RESULT Performing 1. on left, right and bottom borders does nothing, on the top border it maximizes the window – but that works on all of the empty space of the title bar anyway (and that shouldn't change). EXPECTED RESULT 1. Double-clicking a horizontal border maximizes the height of the window. Optionally (in a multi-monitor setup) customizable for: a. use just the display with the mouse cursor on it (default) or b. use all displays that are stacked on each other (with the option to achieve this with a triple-click, in case a. is selected). 2. Double-clicking a vertical border maximizes the width of the window. Optionally (in a multi-monitor setup) customizable for: a. use just the display with the mouse cursor on it (default) or b. use all displays that are placed side-by-side. (with the option to achieve this with a triple-click, in case a. is activated). SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20240201 (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 ADDITIONAL INFORMATION I owe you a beer, or two, or even an entire party once this is implemented. Cheers! Geri
> > EXPECTED RESULT > ... > (with the option to achieve this with a triple-click, in case a. is selected). > After re-reading – and re-thinking – my writing this could be extended to: (with the option to achieve this with a triple-click or Ctrl+|Alt+|Shift+Double-click, in case a. is selected).
That actually does strike me as a great idea!
(In reply to Nate Graham from comment #2) > That actually does strike me as a great idea! Thank you for your kind reply. (And I'm humble enough _not_ to say: "I know it is." :)) Am I really the first who comes up with this idea? Because this didn't come into my mind just a few days ago. I'm thinking of this since I completely changed to Linux (at home, business is different, unfortunately) after the final end-of-life of Win7. And I've always been asking myself since: „Why isn't it there? It's obvious that there are so many great girls and guys in this community. Did really no one of them think of this for more than a quarter century?“
Git commit d8e8f952a20a3bc2954d342ac5d5b248ea5afea6 by Vlad Zahorodnii. Committed on 27/02/2024 at 21:27. Pushed by vladz into branch 'master'. Allow maximizing the window by double clicking borders It's a more intuitive way to maximize a window either horizontally or vertically. M +0 -54 autotests/integration/decoration_input_test.cpp M +27 -6 src/window.cpp https://invent.kde.org/plasma/kwin/-/commit/d8e8f952a20a3bc2954d342ac5d5b248ea5afea6