All this time, I just thought it was slow

I have the task manager set up like probably most of you do, to show a preview of the window when I hover the icon.

There’s a significant delay between when I hover, and when I see the thing I came for. For the past few years, I have been operating under the impression that Plasma just took that long, to generate the preview.

No, it’s an entirely artificial delay. You can bring it down to 1 millisecond like so:

kwriteconfig6 --file ~/.config/plasmarc --group PlasmaToolTips --key Delay 1

Or some other number that feels nice and snappy but not too crazy like 150.
0 will disable all tooltips, so you probably don’t want that.

If you try the above and don’t like it this will get you back to default.

kwriteconfig6 --file ~/.config/plasmarc --group PlasmaToolTips --key Delay --delete

I presume this is one of those “yeh didn’t you know?” things, but just in case anyone else didn’t know… Now ya know.

FWIW I think this default setting of 700ms(!) delay gives a terrible impression of Plasma’s performance and should be revisited. But that’s not what this thread is for, I ain’t tryin to fix it, just trying to share the love :wink:

By the way, if anyone else knows of any other spots like this where delays are added ‘for taste’ then please do share :slight_smile:

Late edit: Shout out Zren for mentioning this gem. Full credit goes to Zren. I’m just a messenger.

5 Likes

wow, amazing! You save my life! This is a problem has been troubling me for a long time, to the point where I even considered turning to Cinnamon. Btw, could you tell me where to find related documents?

1 Like

:policeman:
Take it easy sir stay calm and slowly put down the USB stick :laughing:

Btw, could you tell me where to find related documents?

I wish! I spent about an hour searching to find a setting, then digging through the task manager’s source code trying to find this, and found nothing. It was then that it hit me - this isn’t task manager’s delay, this is the same time everything is delayed for. I moved my mouse around the screen and the realisation that the various delays were all the exact same timespan hit me. I bet this is plasma-wide. So I searched for that, and found a post on reddit from the ever-helpful Zren, with this tip.

I wonder if there’s a list somewhere of all the hidden settings… Like a KDE config file schema or something?

I do like the idea of having this exposed in a GUI somewhere if it is sensible. I just set it to a value of 25 (up to 50 is good as well) so that viewing window previews feels fairly instantaneous but is also not going to use unnecessary cpu as I move quickly over menus. It comes in handy whenever I want to see something on my desktop panels in more detail.

1 Like

I expect to get those changes to really affect the desktop you need to run:

plasmashell --replace &

so it restarts a fresh plasmashell using the new Delay value, otherwise just running that kwriteconfig6 command simply edits the change to the plasmarc file and you’d not get the change until the next login. I guess the small delay of the 700 is something I didn’t notice. I’ve set that Delay to 250 to see if I notice it.

Nope, it’s instant.