Thunar freezes when left inactive for a while
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thunar (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Sean Davis | ||
Yakkety |
Won't Fix
|
Undecided
|
Sean Davis | ||
Zesty |
Fix Released
|
Undecided
|
Sean Davis | ||
Artful |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Thunar freezes after a period of inactivity.
* The process has to completely stopped so the user can resume usage.
* Users have reported the issue to happen more frequently when files have been modified in the current directory.
* Several affected users have reported the issue resolved with this patch.
[Test Case]
* Open Thunar and wait.
* Use another application to create files in the current directory.
* After some time, the application will become unresponsive.
[Regression Potential]
* The patch eliminates a deadlock in Thunar's file monitor mechanism, so regression potential is small.
* Since Thunar will no longer freeze over time with this fix, other bugs could become more pronounced.
[Original Report]
Thunar keeps constantly freezing when I leave it inactive for a while.
I haven't seen it freeze while using it, but when I use some other application for a while and switch back to Thunar window it is often completely frozen and I have to kill it. Zero CPU usage, window not responding. This started to happen a couple of weeks ago.
I have the exact same problem in two different installations, one on virtual machine on Windows, other on a Asus Zenbook laptop.
Ubuntu 16.04.1 LTS
Thunar 1.6.10-2ubuntu1
description: | updated |
Changed in thunar (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Sean Davis (bluesabre) |
Changed in thunar (Ubuntu Yakkety): | |
status: | New → In Progress |
assignee: | nobody → Sean Davis (bluesabre) |
Changed in thunar (Ubuntu Zesty): | |
status: | New → In Progress |
assignee: | nobody → Sean Davis (bluesabre) |
Changed in thunar (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
I just found out how to reproduce this: Edit and save a file visible in Thunar using QtCreator.
Apparently QtCreator (4.2.1) creates a temporary file during saving. When I edit a test.txt file and save it, a new test.txt.YY4824 appears in the directory right before Thunar freezes.
This explains the behavior I have been seeing as I use QtCreator a lot on both machines.