Thumbnail Grid

Kwin Switching Layouts

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/kwin-tabbox-thumbnail_grid

4
Score 77.5%
Description:

Thumbnail + Icon + Caption + Close Button

There are a few other skins like this, but they don't work in KDE 5.5 (Kubuntu 16.04) or later.
Note: If you tried an older broken KWin switcher, KWin won't use a skin until it's restarted (logout+login). Even the working skins (like this one) won't work.
Last changelog:

v5 - April 18 2019 5 months ago

* Fix focus so arrow keys work in Plasma 5.15+
* Cleanup repo + scripts.
* Fix anchor warning spam.

jingglang

2 months ago

10 change rating to 10

Report

jingglang

3 months ago

Thanks for the great Task Switcher. However it doesn't work well with hiDPI screen. Please check this screenshot:

https://i.imgur.com/77K6Gey.jpg

Report

jingglang

2 months ago

I doubled the value of captionRowHeight and thumbnailWidth. It looks good now. Thank you.

Report

C

Zren

2 months ago

Sorry, must of missed this comment / email. Rather than doubling the absolute value from 22 to 44. I'll need to scale it by DPI so it works for users with 1x DPI too.

Does this work?

property int captionRowHeight: 22 * units.devicePixelRatio
property int thumbnailWidth: 300 * units.devicePixelRatio

Report

jingglang

2 months ago

Yup. It works beautifully. Thank you!

Report

wolftune

5 months ago

9 +almost perfect for me, just need the arrow-keys to be working (there was a bug blocker but that's fixed now)

Report

wolftune

5 months ago

That bug linked in older conversation that was blocking the use of arrow keys: it's fixed!! Please update this so that I can use arrow keys. Then it will be basically perfect for me.

Report

C

Zren

5 months ago

Oh right. Thanks for reminding me. Uploaded v5 with the patch the gives it focus when fixes the arrow keys in Plasma 5.15+

Report

mockroot

9 months ago

9 +

Report

no1cares

10 months ago

9 +

Report

doctorx32

11 months ago

9 favorite task switcher, using it on every PC

Report

Nano-Ocelot

1 year ago

9 +Works flawlessly and the only one that resembles firefox's tab switcher

Report

nightreveller

1 year ago

Cheers for a very effective Task switcher!
One feature request is mouse integration. Similar to the ctrl-tab behavior in firefox: hover and click. This would speed up my workflow considerably. Thanks for looking into this.

Report

C

Zren

1 year ago

You can hold Alt, click a window to select it, then release Alt.
It don't preview on hover though, not sure if I'll add that as you need to ignore where the mouse is when the window appears, and only "select" when the mouse has moved a minimum distance.

Report

nightreveller

1 year ago

> You can hold Alt, click a window to select it, then release Alt.

Really? I tried but can't do this. Any idea what settings

Report

nightreveller

1 year ago

Hmm, clicked 'Reply' too fast.
Anyhow, I can't use the mouse in the way you describe. Any idea what setting is causing this?

> It don't preview on hover though, not sure if I'll add that
I agree, and I wouldn't use it. It would be nice to have an hover style though. I think Firefox has a nice way of doing this.

Report

C

Zren

1 year ago

Most KDE config files are in ~/.config/ and the "app data" stuff in stored in ~/.local/share/

Report

C

Zren

1 year ago

> This does not work for me

Which Distro? What version of Plasma, KDE Frameworks? Check the "Info Center" app.

Report

nightreveller

1 year ago

Thanks for your reply. Good news: I went back from synaptics to libinput and now it works! I thought the problem that I have with not being able to drag using just the touchpad was related, but this problem remains. I'm trying to diff KDE config files with a working system, but I'm at loss where all the settings are stored on disk.
Plasma: 5.13.4; Frameworks: 5.48; Qt 5.11.1; Kernel: 4.18.3 (Manjaro) on ThinkPad T480s.

Report

C

Zren

1 year ago

Alt+Tab down, release just Tab, then click a window, then release Alt.
Eg: https://www.youtube.com/watch?v=m0YWDpbj71o

And yeah, you're right that it doesn't highlight the "hovered" window via an outline or... anything. Hmmm. The "Breeze" skin doesn't either.

Report

nightreveller

1 year ago

Thanks for the video!
This does not work for me, but I think something with clicks/mouse/window settings is messed up for me anyway - very annoying. When I try with the Breeze TaskSwitcher it behaves the exact same way (so has nothing to do with ThumbnailGrid). A "hover highlight" might be very sexy, I tell you ;)

Report

C

Zren

1 year ago

After a recent update in KDE Neon, KDE changed which "skin" was used. When I went into System Settings to try and select this skin again, it wasn't listed in the drop down list.

To fix this, I deleted:
~/.local/share/kwin/tabbox/kpluginindex.json

Then I closed and opened System Settings back up, and Thumbnail Grid was listed again.

Report

christianbueno

2 years ago

thanks , very good work, working on f26 plasma spin

Report

baldur

2 years ago

This is a very nice extension and by far the most useful task switcher! I have some suggestions for additional features that would really make this stellar. I would like to help out any way I can but my KDE extension knowledge is not quite there yet. 1) the possibility to jump between windows by using the arrow keys (I have a lot of windows open at the same time so this would help with selecting the right one) 2) Enable a keyboard shortcut for closing the window one is hovering over and 3) speed up the activation so it is instant one I press alt+tab 4) have a setting for displaying it on all monitors in a multi-monitor setup?

Report

C

Zren

2 years ago

1+2. This is a bug with KWin. The QML layouts do not recieve any key press events, so we can't do anything when the arrow keys / "close key" is pressed.
https://bugs.kde.org/show_bug.cgi?id=374287

3. This is done by kwin intentionally to make quick presses faster, since it won't need to draw a popup window. It does look at a config key in ~/.config/kwinrc though.

kwriteconfig --file ~/.config/kwinrc --group TabBox --key DelayTime 0
qdbus org.kde.KWin /KWin reconfigure

4. I don't see any hidden config keys that will enable this feature in KWin. None of the other layout support this right? So you'd need to make a feature request to KWin. I don't see any open requests:

https://bugs.kde.org/buglist.cgi?component=tabbox&list_id=1442048&order=bug_id%20DESC&product=kwin&query_format=advanced

So we need to make a new request here:
https://bugs.kde.org/enter_bug.cgi?product=kwin&component=tabbox

Report

v5 - April 18 2019 5 months ago

* Fix focus so arrow keys work in Plasma 5.15+
* Cleanup repo + scripts.
* Fix anchor warning spam.

v4 - Jan 9 2017 2 years ago

* Use subdiff's recursive algorithm to determine how many columns should be used.
* The number of columns is frozen while the switcher is visible (so closing windows doesn't move the close button around).

v3 2 years ago

* Disable highlighted item change animation

12345678910
71
product-maker jingglang Jun 24 2019 10 the best
change rating to 10
product-maker wolftune Apr 17 2019 9 excellent
+almost perfect for me, just need the arrow-keys to be working (there was a bug blocker but that's fixed now)
product-maker mockroot Nov 21 2018 9 excellent
+
product-maker no1cares Oct 24 2018 9 excellent
+
product-maker doctorx32 Sep 30 2018 9 excellent
favorite task switcher, using it on every PC
product-maker Nano-Ocelot Sep 02 2018 9 excellent
+Works flawlessly and the only one that resembles firefox's tab switcher
product-maker sxe Oct 03 2016 9 excellent
product-maker sh4nks Sep 06 2016 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
GPLv2 or later
version
5
updated Apr 18 2019
added Sep 04 2016
downloads 24h
23
page views 24h 31