Bug 467725 - Show resize cursor's arrow only for the direction in which the window size can actually be changed
Summary: Show resize cursor's arrow only for the direction in which the window size ca...
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-23 18:48 UTC by postix
Modified: 2024-09-23 11:06 UTC (History)
2 users (show)

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


Attachments
Mockup (165.15 KB, image/png)
2023-03-23 18:48 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-03-23 18:48:09 UTC
Created attachment 157536 [details]
Mockup

SUMMARY

When hovering the cursor over an edge of a window, a resize pointer with two arrows showing in opposite directions is displayed.

Some windows have a minimum width or height. If the window cannot be shrunk any more, it would make sense to only display a single arrow, in which direction the size of the window can actually be changed.

If a window cannot be changed at all in any direction, only the middle dot could be displayed.
Comment 1 postix 2023-03-23 18:48:28 UTC
@VDG :)
Comment 2 Vlad Zahorodnii 2024-09-23 11:05:53 UTC
kwin already allows it, the cursor theme needs to provide n-resize, s-resize and so on shapes

the issue is that breeze_cursors makes n-resize, s-resize, etc aliases of size_ver and size_hor