https://bugs.documentfoundation.org/show_bug.cgi?id=146219

--- Comment #4 from Kevin Suo <[email protected]> ---
Created attachment 176961
  --> https://bugs.documentfoundation.org/attachment.cgi?id=176961&action=edit
GDB Backtrace when unmounted

This is the gdb backtrace when the remote nextcloud (webdav) folder is
unmounted in the Gnome File Manager.

Steps:
1. Mount a nextcloud/webdav folder in the system File Manager.
2. Open a file with LibreOffice from that fodler.
3. Unmount that nextcloud webdav folder. 
(this is common, for instance I mounted that remote folder yesterday, opened a
file in LibreOffice, then I close my computer, and today I start libreoffice
for today's work)

As indicated in the stack calls, when LibreOffice is launched, it tries to
mount the remote folder in order to get the thumbnail information of the file. 

For a webdav file:
* It hangs for 15s, then become active again and the start center opens.
Problem is that, LibreOffice does not have the necessary information (username,
password etc) to mount the remote instance, thus the mount fails for sure.
* Even worse, after it become active, if I try to create a new Calc document in
the start center, it hangs for another 15s. The same also happens when I click
the "X" *below* the main "X" of the Window Manager, or if I mouse-hover through
the Files menu (so that the Recent Files submenu is touched), it hangs for
another 15s.

I then tried with a sftp file:
* A dialog pops up asking for password at the time of startup. This is good,
but if there are many remote sftp files opened before and the folders were
unmounted, then should it popup many dialogs to ask for password for each of
them?
* Interestingly, if I click "Cancel" on the Password dialog, the dialog pops up
for the 2nd time, then I click cancel again, Start Center opens. Then I create
a New Calc file, the Password dialog pops up again. I clicked cancel (2 times),
a new Calc document is created. Then I try to close the Calc document by
clicking on the 'X" button *below* the main "X" button of the window manager,
so that LibreOffice goes to the Start Center again, but this time the Password
dialog shows up again. 
* Also, after a new Calc document is created, and I mouse-hover within the
Files menu and the "Recent Document" submenu was touched, the Password dialog
pops up again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to