re-orging plasma-mobile repository

Stefan Werden Stefan.Werden at open-slx.de
Wed Jul 13 18:43:19 CEST 2011


 

"Sebastian Kügler" <sebas at kde.org> hat am 13. Juli 2011 um 15:23 geschrieben:

> Hi,
>
> On Wednesday, July 13, 2011 12:05:44 Stefan Werden wrote:
> > Marco Martin <notmart at gmail.com> hat am 11. Juli 2011 um 22:48 geschrieben:
> > > > great work. I'v added a power of/suspend/logout app. Currentl we need
> > > > something
> > > > like this for example for the wetab.
> > > >
> > > > I'm not shure if this is the right place, but I just added it to the
> > > > spreadsheed
> > >
> > > this seems really device specific. i suppose this is needed on the
> > > wetab because power management doesn't work correcty and the power
> > > button doesn't do what it should or there is another reason?
> >
> > I think this is definitly not device specific. You need something to
> > shutdown you device with an touch event.
> > But there are more reasons:
>> > - if you press the phyical power down button by accident, you may want to
> > cancel this
> > - if you press the power down short for example you may want to decide vor
> > a cold reboot, suspend or a warm start (option)
> > - it is easier to have at the beginning an icon, than finding out the
> > events for button on new devices. That may have negative impacts for
> > AppDevelopers. They often need to reboot for testing apps
>> > Probably more reasons are. But it clearly makes sense to have something
> > like that which is configurable when it appears, even some devices we
> > don't need it on the display in the future. But you always need it for
> > power down events.
>
> I've made the following changes:
>
> - the default powerdevil configuration should now make the (physical) power
>   button suspend the device
> - there's a power button in the panel now in the top panel. Position isn't
>   great yet, but it's hard to miss. It's packaged on OBS and works here
>
> The power button (plugin name: org.kde.active.powerbutton) uses a new
> dataengine, ("org.kde.active.capabilities") to request a service which does
> the suspend (and possibly other actions).  This is the start of the
> capabilities dataengine we planned for during Tokamak (actually, in the same
> room I'm sitting in ;)). We can add stuff like "lock screen", "halt",
> "restart", possibly even airplane mode and screen rotation (query and setting)
> there.
>
> The interaction of the power button is currently limited to "you click it, and
> it suspends", I'll probably add "tap and hold" -> show logout dialog, so we
> have an easy way to also reboot the machine.
>
> The bigger picture is that we assume that rebooting/power down is something
> for system maintainance, in the usual case, suspend is used since it's way
> faster (both suspending and resuming) and stateful, i.e. the user doesn't have
> to open stuff anew. On battery, the device suspends by itself after being idle
> for a few minutes, so that just putting the device aside makes it not run out
> of battery. Pretty similar to how power management is set up on smartphones,
> for example.
>
> I think overall, this needs some UI polish, but it's a good start and solves
> the immediate problem.
>
> Comments? :-)
 
Great Sebas, thank you very much. :)))))))))
 
> > Cheers,
> --
> sebas
>
> http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
> _______________________________________________
> Active mailing list
> Active at kde.org
> https://mail.kde.org/mailman/listinfo/active
>
--
Dr. Stefan Werden
Managing Director
open-slx gmbh, HRB 25876,
Einsteinring 7, 90453 Nürnberg, Germany



More information about the Active mailing list