Bug 369579 - Expand Tasks to fit the Complete Task Manager
Summary: Expand Tasks to fit the Complete Task Manager
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-30 17:56 UTC by Jayesh Badwaik
Modified: 2016-10-01 07:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayesh Badwaik 2016-09-30 17:56:18 UTC
Normally, if there is only one or two tasks in the task manager, they take up only a fraction of the task manager space. What I would like is that, I would like to have an option, where the tasks fill up to expand the complete task manager space if the option is enabled. 

I am thinking about this implementing this feature too, and I am reading the code in libtaskmanager to understand what changes I would have to make. 

If you think this is a good idea and have some suggestions on how to do it, please let me know. I'll follow it up. If you think this is a bad idea, please let me know that too!! 

Thank You. :-) 

If you think it is not a good idea or would be really difficult to implement because it would need to touch other parts of the system too. 

Reproducible: Always

Steps to Reproduce:
1. Open only a single window in the task manager
2.
3.

Actual Results:  
It occupies a fixed size, leaving the rest of task manager empty.

Expected Results:  
It should occupy as much of task manager as possible, maxing out at half of the task manager.

The option to enable this behavior could be provided as an option in the settings.
Comment 1 Eike Hein 2016-10-01 07:21:51 UTC
I think this is a pretty bad idea because it makes where to click less predictable, but if you want to do it for personal use, see layout.js in the Task Manager applet's source in plasma-desktop.git.
Comment 2 Jayesh Badwaik 2016-10-01 07:26:47 UTC
Thank You.
Comment 3 Eike Hein 2016-10-01 07:28:58 UTC
Sorry for the negative reply :)
Comment 4 Jayesh Badwaik 2016-10-01 07:50:13 UTC
It's fine. :-) I looked at layout.js and I can already do what I wanted. This is cool, I had to change like just two lines. And hence, nice!! I perfectly understand why that's a bad UI design in general. :-)