User:Chani/WayOfThePlasma/Categories/Corona

From KDE TechBase

Layouting of elements of a Corona

For now containments are added to the corona in a roughly grid-like fashion. Long term the user should be able to freely position containments (and other components) on the corona.

Original discussion

Aaron

Currently new containments are placed on the desktop based on the screen affinity (e.g. "belongs to screen 1"). This obviously doesn't work well when we have overlapping screens according to x.org (lies! damn lies! ;) and it makes dealing with on-the-fly changes to screens a bit annoying. It also raises problems for adding new desktop-y containments which aren't associated with any screen.

This patch implements a (trivial, even mildly naive) system of laying out the containments in something of a grid-like pattern, slotting containments when they change in the first available space.

I considered going for a strictly grid layout based system (and even just using a grid layout itself) *but* the following considerations prevented me from going this route:

  • I do want users to eventually be able to click and drag containments into (to Corona) random groupings (spacial properties)
  • We are likely to have non-Containment items on the Corona at some point, Panels already have their own layouting system now, and so using a stock layout or any other such layout mechanism would be full of special cases anyways

Sources

Emails of discussion on review board on panel-devel

Review board (down, so not checked)

Non-Containments on the Corona

The corona can also contain components, which are not containments.

Original Discussion

Aaron Seigo

* We are likely to have non-Containment items on the Corona at some point

Chani

we are? like what? :) ....like an add-containment button, or are you thinking of other things?

Aaron Seigo

random ideas i've had:

  • add containment (or the "empty activity")
  • a wandering personality (konqi & kaitie? =) that becomes visible when you

zoom out and which you can interact with (educational and fun?)

  • time of year easter eggs (sort of like google's logo changes on certain

days)

Sources

Emails of discussion on review board on panel-devel

Review board (down, so not checked)