[Breeze Window Decoration] Disable size grip for windows without border
AbandonedPublic

Authored by broulik on Oct 6 2016, 12:42 PM.

Details

Summary

Nowadays you can resize windows from any border even if there isn't actually one, eliminating the need for this ugly triangle in the bottom right corner.

Test Plan

(I'm wondering whether we should just completely kill it)

Before:


(this triangle is there when you choose "No borders")

After:

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 7151.Oct 6 2016, 12:42 PM
broulik retitled this revision from to [Breeze Window Decoration] Disable size grip for windows without border.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Breeze, Plasma: Design, Plasma.
broulik set the repository for this revision to R31 Breeze.
Restricted Application added a project: Plasma. · View Herald TranscriptOct 6 2016, 12:42 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik edited the test plan for this revision. (Show Details)Oct 6 2016, 12:44 PM
This revision was automatically updated to reflect the committed changes.
broulik updated this revision to Diff 7780.Oct 31 2016, 2:47 PM
broulik changed the repository for this revision from R120 Plasma Workspace to R31 Breeze.

Restore original diff...

broulik reopened this revision.Oct 31 2016, 2:47 PM

-1
Since window border and the sizegrip are set in two different windows, disabling the sizegrip by default makes it completely undiscoverable.

Also, though I agree that you can resize the windows from the borderless borders,
1/ as far as I remember this is true only when compositing is on (and maybe, always on wayland; did not check. In fact it is probably completly broken on wayland atm).
2/ the hit area is much larger than the out-of-window borders; and the area is always visible.
So that (for me at least), is is much easier to resize from this handle than from the invisible borders.

PS: I recal that "no borders" is not the default for the window decorations borders, so that the resize handle is indeed not visible by default.

broulik abandoned this revision.EditedOct 31 2016, 4:14 PM

Thanks, Hugo.

I just checked and resizing outside of windows works when I disable compositing. On Wayland there were some changes/fixes going on there but I need to check.

I recal that "no borders" is not the default for the window decorations borders, so that the resize handle is indeed not visible by default.

Right but it shows up as soon as you actually choose "No Borders" :)