[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Eike Hein via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

Eike Hein  changed:

   What|Removed |Added

 CC||mgraess...@kde.org

--- Comment #1 from Eike Hein  ---
I don't think there's any good way to do this in the Task Manager. I don't have
a data source for "recently used", and I don't want to track activation changes
in the lib. I think for this I'd need a "restore list of windows" API in the
windowing system that figures out what to do. Martin?

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #2 from Martin Gräßlin  ---
Even KWin would not be able to handle that without significant engineering
effort. The reason for that is that a window is moved to the end of the
FocusChain (KWin's model of recently used windows) when it gets minimized. In
addition KWin has a chain per desktop and those can be different. KWin would
not be able to restore it the way the user expects it.

I don't think that it's worth the effort.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Eike Hein via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #3 from Eike Hein  ---
Is it guaranteed that restoring a minimized window will activate it btw?

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #4 from Martin Gräßlin  ---
(In reply to Eike Hein from comment #3)
> Is it guaranteed that restoring a minimized window will activate it btw?

That's X what we are talking about. Nothing is guaranteed, I'd say.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2017-10-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=368867

Nate Graham  changed:

   What|Removed |Added

 CC||pointedst...@zoho.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2019-11-25 Thread Eike Hein
https://bugs.kde.org/show_bug.cgi?id=368867

Eike Hein  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/pla
   ||sma-workspace/c0acd1434147c
   ||ff80de4841c62e766a2bb817c0f
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Eike Hein  ---
Git commit c0acd1434147cff80de4841c62e766a2bb817c0f by Eike Hein.
Committed on 25/11/2019 at 18:50.
Pushed by hein into branch 'master'.

[libtaskmanager] Track stacking order and window activation (on X11)

Summary:
`TaskGroupingProxyModel::requestToggleMaximized` now uses this to
minimize and restore groups of windows while preserving the
stacking order, a frequently user-requested wish.
Related: bug 370258

Window activation is additionally tracked to implement a new front-
end feature to activate the most recently active window (or fall
through to stacking order otherwise) subsequently.

A Wayland implementation requires the addition of a
`PlasmaWindowManagement::stackingOrder()`, which should be a QList
of PlasmaWindow* in stacking order, along with a change signal. We
discussed this at the Plasma+KWin sprint and I'll code up patches
to KWin and KWayland soon and then implement the new API in here.

Reviewers: #plasma

Subscribers: davidedmundson, pino, anthonyfieroni, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22053

M  +5-0libtaskmanager/abstracttasksmodel.h
M  +19   -6libtaskmanager/taskgroupingproxymodel.cpp
M  +21   -1libtaskmanager/xwindowtasksmodel.cpp

https://commits.kde.org/plasma-workspace/c0acd1434147cff80de4841c62e766a2bb817c0f

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2019-12-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=368867

Nate Graham  changed:

   What|Removed |Added

 CC||get.so...@gmail.com

--- Comment #6 from Nate Graham  ---
*** Bug 414720 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2017-10-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=368867

Nate Graham  changed:

   What|Removed |Added

 CC||pointedst...@zoho.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Eike Hein via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

Eike Hein  changed:

   What|Removed |Added

 CC||mgraess...@kde.org

--- Comment #1 from Eike Hein  ---
I don't think there's any good way to do this in the Task Manager. I don't have
a data source for "recently used", and I don't want to track activation changes
in the lib. I think for this I'd need a "restore list of windows" API in the
windowing system that figures out what to do. Martin?

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #2 from Martin Gräßlin  ---
Even KWin would not be able to handle that without significant engineering
effort. The reason for that is that a window is moved to the end of the
FocusChain (KWin's model of recently used windows) when it gets minimized. In
addition KWin has a chain per desktop and those can be different. KWin would
not be able to restore it the way the user expects it.

I don't think that it's worth the effort.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Eike Hein via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #3 from Eike Hein  ---
Is it guaranteed that restoring a minimized window will activate it btw?

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 368867] restoring a group of windows should stack them in recently used order

2016-09-16 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368867

--- Comment #4 from Martin Gräßlin  ---
(In reply to Eike Hein from comment #3)
> Is it guaranteed that restoring a minimized window will activate it btw?

That's X what we are talking about. Nothing is guaranteed, I'd say.

-- 
You are receiving this mail because:
You are watching all bug changes.