linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.23k stars 299 forks source link

Nemo freezes and CPU's usage goes to 100% when moving the cursor over right-click menu options of a file or folder #3466

Open riomccloud opened 1 month ago

riomccloud commented 1 month ago

Distribution

Mint 22

Package version

6.2.8

Frequency

Quite often

Bug description

I don't know exactly what causes it, but when it happens, if you right-click a file and move the cursor through the options, the highlight will not show instantly, and instead freeze, taking some seconds to highlight where you are at. If you continue moving, it will take more time to recover up, and you can see in System Monitor the CPU usage skyrocketing.

It seems to not happen instantly, but after some time. Every time it happened I was working with .cbz files, extracting them and managing its image files. If I close Nemo and open it again, the issue don't occur.

Steps to reproduce

  1. Right click a file
  2. Move the cursor through the options
  3. See it

Expected behavior

Do not lag.

Additional information

My hardware specs are Intel Core i5-7400, 24 GB RAM (1x8GB + 1x16GB) and Intel HD 630 (kernel 6.8.0-45) / NVIDIA GeForce GTX 1050 (proprietary, version 550.107.02). The storage drive I was using when the problem occurred was an 7400 rpm Seagate HDD, but it also happened when right-clicking on folders stored on my SSD.

Here's a video I recorded of the issue. It didn't lagged as hard as before, since it recovers quite fast from the freeze. Earlier on, it would take more than five seconds to unfreeze.

https://github.com/user-attachments/assets/58144756-4255-4c26-83e6-e3970face818

mtwebster commented 1 month ago

Do you have any nemo actions enabled (edit->preferences->plugins->actions)? Their conditions aren't checked until the popup is requested. If there's some complex check happening here it might cause this if it hangs.

If you suspect this, try disabling them all. If the issue goes away, try re-enabling them one-by-one. You should do the same with Extensions (same preferences page).