Bug 459355 - tiled window touching a side panel can not be resized
Summary: tiled window touching a side panel can not be resized
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 5.24.5
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-18 21:35 UTC by djahma
Modified: 2022-09-26 16:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.25
Sentry Crash Report:


Attachments
Bug demo (79.49 KB, video/webm)
2022-09-18 21:35 UTC, djahma
Details
Bug demo made better (436.92 KB, video/webm)
2022-09-18 21:39 UTC, djahma
Details
Bug demo following Nate's tips (693.28 KB, video/webm)
2022-09-22 19:55 UTC, djahma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djahma 2022-09-18 21:35:50 UTC
Created attachment 152198 [details]
Bug demo

SUMMARY
***
Have a side panel to your left, Unity style. Tile a window that touches this side panel. Now try to drag to resize your window...you can not. 
***


STEPS TO REPRODUCE
1.  Set your desktop in the defunct Unity fashion, with a left side panel to hold your opened apps icons.
2. Tile a window to either side your screen (left or right)
3.  Drag a side edge to resize horizontally (width)

OBSERVED RESULT
- The window doesn't change size. Dragging has no effect

EXPECTED RESULT
- The grabbed edge should move with the drag to resize the window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 djahma 2022-09-18 21:39:33 UTC
Created attachment 152199 [details]
Bug demo made better
Comment 2 Nate Graham 2022-09-22 18:07:55 UTC
This is intentional, but there's a set of off-by-default setting you can use to allow it:
- System Settings > Appearance > Window Decorations > border size : anything other than "None"
- System Settings > Appearance > Window Decorations > Breeze > Click the pencil icon > Allow resizing maximized windows from window edges

These settings are not the default because they break Fitts' law for window close buttons and scrollbars, which many people are quite passionate about, it turns out. : ) So turning these settings on entails a trade-off, and only you can decide whether those trade-offs are worth it for you personally.

This is being made clearer in https://invent.kde.org/plasma/breeze/-/merge_requests/251.
Comment 3 djahma 2022-09-22 19:55:06 UTC
Created attachment 152349 [details]
Bug demo following Nate's tips
Comment 4 djahma 2022-09-22 19:55:59 UTC
Thanks for your consideration of my report.
I've tried your tips, to no avail unfortunately. I really believe it has something to do with "panels", as this bug only appears when a side panel is set (ref: second attachment). Top and bottom panels do not cause this issue.
Comment 5 Nate Graham 2022-09-23 18:33:53 UTC
Your video depicts something strange. Are you using any 3rd-party KWin effects or scripts?

Are you using Kvantum?

Is the video showing the entire screen, or only part of it?

if you create a new user account with no customizations, does the bug still happen in there?
Comment 6 djahma 2022-09-24 12:29:51 UTC
Hello, I tried kubuntu 22.04 from a usb key, set a side panel and couldn't reproduce the bug. I had no internet connection from the key though, so I couldn't install and play around with customization as I wished.

On my current installation, I have no kwin script active and no third party effect installed. I had kvantum though, which I've uninstalled but the bug is still there.

The videos are only showing a bit more than the top left quarter of the screen where the quarter-tiling and (absence of) resizing actions occur.  This was to keep them small and cut irrelevant stuff.

Not being a KDE dev, perhaps there's a log somewhere, which would record what happens when I try to resize a tiled window?
Comment 7 djahma 2022-09-24 16:07:29 UTC
Hey! the bug is gone on kde 5.25! :-D
Just updated now, via kubuntu ppa backports-extra, and on first test tiled-windows are resizable in all directions.

Thanks for having looked into this issue nonetheless
Comment 8 Nate Graham 2022-09-26 16:32:59 UTC
Oh good. :)