This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma panel: Allow the user to put a widget below a widget

1

Votes
1
0
Tags: None
(comma "," separated)
kdea
Registered Member
Posts
23
Karma
0
In the panel, we can put a widget (plasmoid) on the left or on the right of other widget. But we can't put a widget below or above other widget. It would be useful in big panels, because sometimes the user doesn't want to see the widgets bigger, he/she just wants to see more widgets.

The implementation would be easy, since it doesn't require to change the widgets, they just will "see" that the panel has been resized (half of the height) when other widget is put below or above it. Only the panel libraries have to be changed to "lie" to the widget.

The user will have more freedom to customize the panel.


2015-10-04: I'm adding an example of use, to make the proposal clearer.

First, the user creates an empty big panel, with a height of 90 px:

Image

Then, the user adds 3 widgets to the panel: the kde menu widget, a clock widget, and a weather widget:

Image

The user sees that the widgets are gigant, the kde menu widget is ok because it is the main widget, but the others could be smaller, so the user puts the weather widget above the clock widget:

Image

So now the weather widget "sees" a panel height of 90/2 = 45 pixels, the clock widget "sees" a panel height of 45 pixels too, and the kde menu widget "sees" a panel height of 90 pixels.

Then the user adds 3 more widgets to the panel: A widget that shows last released version of the linux kernel, a widget that shows the number of computers with linux, and a widget that shows the number of new comments at kde forums in last 24 hours:

Image

The user sees that the tree widgets are using too much space, so first he/she puts the linux computers widget below the forum comments widget:

Image

So now the linux computers widget "sees" a panel height of 90/2 = 45 pixels, the forum comments widget "sees" a panel height of 45 pixels too, and the linux version widget "sees" a panel height of 90 pixels.

Finally the user puts the linux version widget below the forum comments widget and above the linux computers widget:

Image

So now the linux version widget "sees" a panel height of 90/3 = 30 pixels, the forum comments widget "sees" a panel height of 30 pixels too, and the linux computers widget "sees" a panel height of 30 pixels too.

Notice how the user gets much more freedom to customize the panel.

Last edited by kdea on Sun Oct 04, 2015 2:44 pm, edited 1 time in total.
User avatar
google01103
Manager
Posts
6668
Karma
25
quicklaunch when implemented would satisfy this ?

see:
https://git.reviewboard.kde.org/r/125174/
https://git.reviewboard.kde.org/r/125283/


OpenSuse Leap 42.1 x64, Plasma 5.x

kdea
Registered Member
Posts
23
Karma
0
google01103 wrote:quicklaunch when implemented would satisfy this ?

see:
https://git.reviewboard.kde.org/r/125174/
https://git.reviewboard.kde.org/r/125283/


Well, I think quicklaunch is different from my proposal.

First, because quicklaunch seems to be a container widget, so the user would have to add the container widget to the panel, and then add widgets to the container. In my proposal, no container widget has to be added, widgets can be put below or above other widgets directly, same as they can be added on the right or on the left or other widgets.

Second, because quicklaunch seems to impose same number of rows to all of its columns of stacked widgets. In my proposal, as shown in the example of use that I added today, the user can stack widgets freely. He/she can put 2 widgets in a column, put 3 widgets in other column, put 1 widget in other column, etc.

Third, because quicklaunch seems to admit only application launchers (direct access icons). In my proposal, all types of widgets are admitted, same as currently the panel admits all types of widgets.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]