Problems with the new tasks applet

Aaron J. Seigo aseigo at kde.org
Wed Oct 22 21:55:05 CEST 2008


On Wednesday 22 October 2008, Christian Mollekopf wrote:
> > Date: Wed, 22 Oct 2008 20:23:37 +0200
> > From: chrigi_1 at gmx.ch
> > Subject: RE: Problems with the new tasks applet
> > To: plasma-devel at kde.org
> >
> > > From: petri.damsten at gmail.com
> > > To: plasma-devel at kde.org
> > > Subject: Re: Problems with the new tasks applet
> > > Date: Wed, 22 Oct 2008 20:42:25 +0300
> > >
> > > On Wednesday 22 October 2008 19:38:38 Aaron J. Seigo wrote:
> > > > > Just let me know if you need me to do more testing/debugging.
> > > >
> > > > your other settings, e.g. "show only current desktop" or whatever
> > > > would be a good start.
> > >
> > > [ ] Show tooltips (One more thing. Tooltips popup even if this is
> > > unchecked) [ ] Only show tasks from the current desktop
> > > [X] Only show tasks from the current screen
> > > [ ] Only show tasks that are minimized
> > > - Grouping by program
> > > - Sorting by alpha
> > > - Max rows 1
> > >
> > > If I move window from screen 1 to screen 2 and it does not show on
> > > either of the task managers. If I change any setting in task manager I
> > > get it back. Hopefully this helps.
> >
> > I think this is because the screen updated by Tasks class is wrong. Its
> > always 0 for me although i have only 1 screen. Is the first screen screen
> > 0?
>
> Sorry the screen is not always 0 but -1.
>
> Plasma::Containment* appletContainment = containment();
>         if (appletContainment) {
>             m_groupManager->setScreen(appletContainment->screen());
>         }
>
> Thats how the screen is retrieved in Tasks. Somthing wrong with it?

that means it's on a containment that isn't associated with a screen. -1 == no 
screen (or in contexts where a screen is *required*, such as the window 
manager, it means "all screens").

look in your plasma-appletsrc, find this taskbar of yours (plugin=tasks), see 
wht containment # it is in (you can tell by looking at the group name =) and 
find the screen= value for that containment.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081022/f96c5f46/attachment.sig 


More information about the Plasma-devel mailing list