plasma-pstate icon indicating copy to clipboard operation
plasma-pstate copied to clipboard

Possible to add to System Tray?

Open trgeiger opened this issue 6 years ago • 4 comments

Is there any possibility that this could live inside the KDE System Tray, much like how the Redshift widget can be enabled there?

trgeiger avatar Jan 23 '19 03:01 trgeiger

This was my original intention. The "problem" with the tray is that the widget cannot expand to its own size, but the tray imposes some kind of fixed size for it: Try for example clicking on several plasma widgets on your system tray and you will see that all of these have the same fixed size.

So I guess I should either introduce a scrollview, which looks really ugly or somehow redesign the whole user interface to fit in that size :\

jsalatas avatar Jan 23 '19 19:01 jsalatas

Ah yeah I totally forgot about that limitation. I mean, it would be a great option eventually, but I know redesigning the interface for a small space like that would be a lot of work.

A few of the standard parts of the System Tray have scrollable parts, so maybe if some of the interface was smaller it wouldn't be so bad to scroll? Not sure.

Also, separately, I just thought it might be nice if the icon used for the widget could be changed manually by the user?

trgeiger avatar Jan 24 '19 23:01 trgeiger

A few of the standard parts of the System Tray have scrollable parts, so maybe if some of the interface was smaller it wouldn't be so bad to scroll? Not sure.

Yeah! Maybe a less fancy interface, eg dropdown boxes instead of big fancy buttons with icons. I'll give it a try... :)

I just thought it might be nice if the icon used for the widget could be changed manually by the user?

Sure!

jsalatas avatar Jan 24 '19 23:01 jsalatas

Could you please test the latest code? You should be able to change the icon.

jsalatas avatar Feb 25 '19 01:02 jsalatas