blue-systems / plasma-ideas

Keeping track of various ideas for plasma
0 stars 0 forks source link

[widgets]: allow resize-handles on all 4 sides when in "edit"-mode #64

Open star-buck opened 7 years ago

star-buck commented 7 years ago

rather bland example showing where the mouse cursor could turn into resize mode when hovering on the edges of a widget in "edit-mode": https://www.dropbox.com/s/6eqezysv5fktqk1/allow-resize-handles-on-all-sides-when-in-edit-mode.mkv?dl=0

notmart commented 7 years ago

i have a very rough proof of concept that makes it promising. I'm more on the systemsettings redesign today, but i'll shortly put up a branch about it. adding @eikehein to the discussion as he did most of the work in the containment

notmart commented 7 years ago

possible approach: https://phabricator.kde.org/D5527

notmart commented 7 years ago

patch landed, it will be in 5.10 out 3oth of may

star-buck commented 7 years ago

@notmart : would it be possible to only allow resizing with mouse cursor changing on the edges while in edit mode? otherwise it could be a bit annyoing, since on every mouse over the mouse cursor flips.

notmart commented 7 years ago

you mean after long press that makes the handle come up? is not really possible when the panel settings is open as that edit mode is a panel thing, which the desktop doesn't know anything about. Right now the panel settings window is a modal popup, meaning any click or interaction outside of it, will close the panel config dialog, so the desktop cannot be interacted with when the panel config is open.

davidedmundson commented 7 years ago

@marco you added the edit mode to the desktop when you click on the toolbox.

notmart commented 7 years ago

problem is that the toolbox can be disabled, which is done in netrunner, if this would depend from this, netrunner would be left without this feature (i can also make the handles work only in edit mode if the toolbox exists otherwise always working)

star-buck commented 7 years ago

maybe my fault: with edit mode i meant "widget edit mode" not general edit mode?

notmart commented 7 years ago

ok, i made it do so, it will be resizable by edge only when the plasmoid is in edit mode, it's pushed in master and Plasma/5.10 branch, so it will be in the release