Unmounting fuse-mount blocked after closing tab

Bug #1689494 reported by Peter Passchier on 2017-05-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Undecided
Unassigned

Bug Description

Not sure if this is something you can do anything about, but here goes (qpdfview 0.4.17beta1):

I opened a pdf on a fuse-mounted partition, and then closed the tab. But "fusermount -u" didn't work, and as lsof indicated:

$ lsof /home/pp/Private
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
qpdfview 10443 pp 38r REG 0,41 822930 399266 /home/pp/Private/HondaPRB16.pdf

(This happens both when qpdfview was already opened, and when it was started this way -- I use multitab & single instance, so there are other tabs present in both cases.)
After closing the whole qpdfview application window, it unmounted fine of course.

Adam Reichold (adamreichold) wrote :

Hello Peter,

thank you for taking the time to report this! Please check if you have the "Keep recently closed tabs" setting (on the "Behavior" tab of the settings dialog) enabled. If so, the file will stay opened as long as the entry is visible in the recently closed menu, but should be closed when you clear that list. Otherwise, I'll have to investigate further...

Best regards, Adam.

Hello Adam,

Thanks for your always speedy replies! Yes, I have "Keep recently closed" checked. I thought it would remember my recently used files, but now I see there is also a "Track recently used" setting... What does "Keep recently closed" do?? (I unchecked it, and now it all works as expected!)

Thanks again,
Peter

Adam Reichold (adamreichold) wrote :

Hello again,

"Keep recently closed" keeps closed tabs (an also configurable number of) tabs around when they are closed instead of actually closing them and hence release associated resources. This means that they basically become invisible but continue to consume memory and are destroyed only when so many further tabs are closed, that they are evicted from the recently closed list. This implies that e.g. if you perform some unsaved modifications like adding annotations, close the tab and then restore it, these modifications are not lost.

Best regards, Adam.

Changed in qpdfview:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers