NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.34k stars 13.58k forks source link

Plasma5 task manager is too slow #49162

Closed coretemp closed 5 years ago

coretemp commented 5 years ago

Issue description

This is probably an upstream issue, but since we don't know that yet:

When I click on Konsole (I have 50 terminals open) in the task manager, I have to wait 2-3 seconds, before the menu with the items and the scrollbar exists allowing me to select the Konsole instance of interest. I suspect quadratic scaling in this feature, which makes it too slow for interactive use.

Steps to reproduce

Create 50 instances of Konsole and try to switch to the lowest one.

Technical details

system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.1, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

worldofpeace commented 5 years ago

This is probably an upstream issue, but since we don't know that yet

I don't see how this could be related to NixOS.

I think it would be a good idea to report this at their bugtracker.

coretemp commented 5 years ago

I opened https://bugs.kde.org/show_bug.cgi?id=400364.

Just because you cannot see a direct connection (neither can I), doesn't mean there is no connection. Reporting issues in this particular way by including the two communities increases the cache hit rate for other people that might have the same issue.

Also, if you take the stance that NixOS is a full operating system (like FreeBSD) then it is a bug in NixOS. If you don't have this stance, then you are essentially saying that we just throw some components together and hope it sticks. Not sure whether there is a specific policy for this.

I read Slackware doesn't (or didn't) distribute Plasma5, because it was considered a broken system. One of the main contributors to Slackware made significant contributions to Plasma5 to improve its state, however. I hope this piece of context shows that there exist distributions that consider the complete user experience and are building a full system. Whether NixOS is such a system, I don't know. Currently, I see it more as an operating system toolkit than an operating system. What are your thoughts on this?

jcrben commented 5 years ago

I don't agree with reporting upstream in both places as a general matter. There's just too many, and it confuses where the fix lies. Do you have a machine running another system? If so, can you try it there? If it's not caused by NixOS, I hope you consider closing this.

NixOS does tend to have unique issue affecting core packages sometimes. One way that I check if it's really a NixOS issue is to run different distributions off a USB drive - I use reFInd as a boot loader. For example you can install Arch following http://valleycat.org/linux/arch-usb.html?i=2 - I also installed Ubuntu on a USB drive (altho it was a pain as the installer has bugs; manually installed bootloader roughly following https://gist.github.com/0x414A/7f1c27ac24f05a42ed43aa73946a7033).

I sometimes hang around KDE areas, but when I get the chance I recommend that they pull more of their stuff into plugins and do not explicitly support it in the core (which is not to say that they could extract Task Manager as optional). I recommend that NixOS does the same - if we could modularize KDE to have as few widgets shipping into NixOS by default as possible, we reduce our maintenance burden and your complaint about "full system".

dotlambda commented 5 years ago

Has been solved upstream: https://bugs.kde.org/show_bug.cgi?id=400364#c2.