Summary: | The sort order of the windows is not most recently used order | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Michael Couck <michael.couck> |
Component: | tabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | victor.varvariuc |
Priority: | NOR | ||
Version: | 4.11.14 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Michael Couck
2015-01-15 10:11:52 UTC
By default kwin doesn't use the shortcut CTRL+TAB, thus I do not know which functionality you have mapped to it. Could you please clarify this, then we can point you to the code. run "kcmshell4 kwintabbox" and check the value of "sort order" (upmost item in top right group) for both (main & alternative) switchers. If this is about the "recent" behavior of minimized windows, this is bug #297445 Indeed, related to the bug 297445 which has been 'resolved invalid'. This is not functioning as expected. Please point me in the direction of the logic that defines this functionality, if you know where it is of course. Thanks in advance. focuschain.cpp ~ line 241 Just comment/remove the "client->isMinimized()" branch in FocusChain::makeFirstInChain(.) NOTICE: the only somewhat recent change in that area was commit 038278cfb7b10bfd541a7461c37da6303f5bab44 Author: Thomas Lübking Date: Fri Apr 5 22:28:05 2013 +0200 make minimized windows first of minimized instead of last See https://git.reviewboard.kde.org/r/110567/ for details Minimized windows have not been in the "normal" recently used order ever since- *** This bug has been marked as a duplicate of bug 297445 *** Hello Thomas, Thank you for your input. I assume this functionality is in the focuschain.cpp class? In any event I will find the logic eventually, and I will take a closer look in the following days, and more than likely fix it and issue a pull request, or in the worst case use a patch for myself. Have a fantastic day ;) K-Rgds, Michael in the file kde-workspace/kwin/focuschain.cpp at around the mentioned line. Classname is "FocusChain", but that would not have been helpful, would it? ;-) Indeed, not helpful at all ;) Cheers, M Thomas, where is the source, I would have expected it to be on GitHub? > Thomas, where is the source, I would have expected it to be on GitHub?
no, our source is hosted on our own infrastructure:
git clone git://anongit.kde.org/kde-workspace.git
or for master (5.x)
git clone git://anongit.kde.org/kwin.git
Just as an update, for future reference: When changing applications, using the arrow keys brings the window into focus, and therefore becomes the last actively used window/application, so the sort order is in fact the 'most recently arrowed', which is why it seemd that the sorting did not function as expected. Looking at the code, it seems that the behaviour is indeed correct. Apologies for the wasted time to all... |