Bug 151662

Summary: Placement of plasmoids like windows: snap zones
Product: [Unmaintained] plasma4 Reporter: Grósz Dániel <groszdanielpub>
Component: containment-desktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: bluedzins, cfeck, finex, KaiUweBroulik2, kde-2011.08, linux, mail, martinkunev, reavertm, sebas, toddrme2178
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: mockup

Description Grósz Dániel 2007-11-01 00:57:19 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I'd really like placement of plasmoids be easier, with snapping to each other and the desktop border.
Comment 1 Richard Moore 2008-01-30 22:45:23 UTC
Already part of the plan, see http://techbase.kde.org/index.php?title=Projects/Plasma/4.1_Roadmap specifically:
Widget Snap-n-Stick: make it possible to stick widgets together, "magnetic grouping" 
Comment 2 Stefan Endrullis 2008-08-23 13:46:27 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 Martin Kunev 2009-01-29 17:06:28 UTC
I too think that this option will be very useful but I am using KDE 4.2 and it is still not implemented.
Comment 4 FiNeX 2009-06-27 14:49:31 UTC
*** Bug 197950 has been marked as a duplicate of this bug. ***
Comment 5 Elias Probst 2009-09-04 17:16:10 UTC
The 4.1 Roadmap was deleted from the Wiki.
Does anyone have any details about the planned features?

What I'd like to see: some kind of grid snapping also for resizing:
Imagine, having 3 applets side by side like this:

 __________   __________   __________ 
|          | |          | |          |
|  Applet  | |  Applet  | |  Applet  |
|     A    | |     B    | |     C    |
|          | |          | |          |
|          | |__________| |          |
|          |              |__________|
|__________|

When resizing now the height of "Applet B", it snaps when it is at the same height as the neighbor applets A and C.
This could be achieved by a virtual invisible grid which is used for placing and resizing the applets.
Furthermore permanent snapping with a grid covering the whole desktop shell like it is available in graphics applications like Inkscape could be used to, so that moving/resizing snaps at every 'n' pixel.
Comment 6 FiNeX 2009-09-13 17:46:27 UTC
*** Bug 207088 has been marked as a duplicate of this bug. ***
Comment 7 FiNeX 2009-09-14 09:10:29 UTC
A similar wish (snap to grid) has been reported on bug #167223.
Comment 8 Todd 2010-11-07 17:36:02 UTC
Created attachment 53226 [details]
mockup

Here is a mockup of how this could work.  The digital clock is being moved, with the possibility of snapping it to the bottom of the folderview and/or the middle of the panel.  The blue lines show where it would snap, and the red lines show what part of the plasmoid would snap to it.
Comment 9 Kai Uwe Broulik 2011-01-04 23:31:17 UTC
In 4.6 there is the Grid Desktop which divides the desktop into suqares/retangles and makes your widgets automatically adjust to this size. You can add and remove rows/columns and the widgets automatically adapt.
Comment 10 Todd 2013-01-29 10:12:16 UTC
This is now implemented in the QML desktop containment:

http://vizzzion.org/blog/2013/01/desktop-containment-moving-to-plasma-quick/
Comment 11 Christoph Feck 2013-03-05 12:56:33 UTC
The QML containment work has not yet been merged to master, so it is unsure if it will appear in 4.11.

Reopening.
Comment 12 Nate Graham 2018-06-08 20:06:58 UTC
Hello!

This feature request was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this feature request is already implemented in Plasma 5, or is no longer applicable.

Accordingly, we hope you understand why we must close this feature request. If the requested feature is still desired but not implemented in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham