Bug 266612

Summary: Task manager not separate launchers and applications, instead mixing everything.
Product: [Unmaintained] plasma4 Reporter: Fest <fest.in>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot for example

Description Fest 2011-02-18 16:13:32 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

When you use launchers, task manager list mixed. You can have something like this:
Launcher, application, application, launcher, application.
IMHO, it's making visual understanding, nearly impossible. Sorting launchers and application separately be much elegant way.

Reproducible: Always

Steps to Reproduce:
1. Add Launchers to task manager.
2. Open/close few launchers.

Actual Results:  
Task manager not sorting launchers and application. Everything mixed.

Expected Results:  
Task manager sorting launcher and application separately.
Comment 1 Aaron J. Seigo 2011-02-18 17:38:39 UTC
i can't reproduce this. you'll need to give clearer steps to reproduction, include any relevant configuration of the tasks widget (e.g. "show only tasks on the current desktop") and maybe some screenshots, even.
Comment 2 Fest 2011-02-18 18:01:51 UTC
Screenshot for example:
http://imageshack.us/photo/my-images/692/snapshot28.png/
You can see application on left and right side of panel, and launchers in the middle. Sometimes it even get more ridiculios layout like: app,launcher, app, launcher, etc.

I think there is at least few ways for reproduction, but one way is always working:

1. Create launchers.
2. Open launcher. 
Layout is: launchers, application.
3. Switch to another virtual desktop and back.
Layout switched to: application, launchers.
4. Open another launcher.
Layout is: application, launcher, application.

Expected layout at all steps: launchers, applications.
Comment 3 Aaron J. Seigo 2011-02-18 18:07:07 UTC
note that you can attach screenshots directly to bug reports. the imageshack link in your comment isn't working: 503 errors. :/

in any case, your steps to reproduction do not work. i'm guessing you have customized the settings of the tasks widget. can you (as i asked for in my first comment) provide information on the configuration of your tasks widget?
Comment 4 Aaron J. Seigo 2011-02-18 18:08:51 UTC
after playing with the settings on a hunch that it was probably something to do with that, i can see odd behaviour indeed with "show only on current desktop".

why didn't you include that rather significant information in your report or in the follow up comment? it makes our job of trying to fix issues, which starts with being able to reproduce them, SO much harder. :(

i'm still unsure what your specific settings are, and it would be very, very good to have them in this report. in the meantime, i'll look into fixing "only on current desktop".
Comment 5 Fest 2011-02-18 18:14:00 UTC
Created attachment 57355 [details]
Screenshot for example

I'm really apologise for forgeting post settings.

Here they are:
Task manager configuration:
Only show task from current screen/ current desktop / current activity.
Maximum rows: 1.
Grouping by name. only when taskbar full.
Sorting manually.
Show tooltips.

Panel configuration:
center alignment.
auto-hide.
Comment 6 Aaron J. Seigo 2011-02-18 22:12:53 UTC
Git commit 85f221f26e4e6b8434af8b8bc5982c29e48e0fb7 by Aaron Seigo.
Committed on 18/02/2011 at 22:09.
Pushed by aseigo into branch 'KDE/4.6'.

keep launchers at the head of the list, always

BUG:264863
BUG:266612

M  +17   -1    libs/taskmanager/taskgroup.cpp     

http://commits.kde.org/kde-workspace/85f221f26e4e6b8434af8b8bc5982c29e48e0fb7
Comment 7 Aaron J. Seigo 2011-02-18 22:12:53 UTC
Git commit f498b20c879ba8a4dc853337ff4255ead225a3ac by Aaron Seigo.
Committed on 18/02/2011 at 22:09.
Pushed by aseigo into branch 'master'.

keep launchers at the head of the list, always

BUG:264863
BUG:266612

M  +17   -1    libs/taskmanager/taskgroup.cpp     

http://commits.kde.org/kde-workspace/f498b20c879ba8a4dc853337ff4255ead225a3ac