Bug 363557 - cannot access SMB share within window instance if first connection attempt was offline
Summary: cannot access SMB share within window instance if first connection attempt wa...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 18.04.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: smb://
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-26 19:50 UTC by Dawid Oriański
Modified: 2020-10-27 11:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Oriański 2016-05-26 19:50:25 UTC
I have a dolphin window, which has some local network SMB shares open in tabs at all time.
At boot, when session is restored, and there is no network connection, all tabs display error:
"Plik lub katalog %s nie istnieje" (polish) - "File or directory %p does not exist" is the best English translation I can come up with.
The real problem is, that this error persists even after establishing connection. In fact, only new window enables opening those shares.
I now have version 16.04.1 from Gentoo repository, but I could reproduce this problem since version 4.14.3, I believe, with slight difference - in 4.14.3 after few minutes of waiting, refreshing with F5 loaded share contents without a hitch.

Reproducible: Always

Steps to Reproduce:
1. Disable network connection
2. Enter SMB share uri and confirm with enter
3. Enable network connection
4. Refresh window with F5, or CTRL+R

Actual Results:  
There is an error message, that file or directory does not exist.

Expected Results:  
Contents of SMB share should be loaded and displayed.
Comment 1 Julian Steinmann 2018-05-17 19:24:49 UTC
Does this still happen with newer versions of Dolphin? Samba support has greatly improved in the last few years.
Comment 2 Dawid Oriański 2018-05-17 21:11:17 UTC
(In reply to Julian Schraner from comment #1)
> Does this still happen with newer versions of Dolphin? Samba support has
> greatly improved in the last few years.

I currently have 18.04.1 version of dolphin installed and it is the latest version available. The problem persists in a fashion closer to that of 4.14.3 version, i.e.
- if I boot, connect via wi-fi, wait a few minutes I can refresh tab and everything works,
- if I refresh too early this timeout seems to reset, so more waiting is required,
- issue persists between tabs within window,
- new windows opened after establishing connection are completely unaffected.

I took the liberty to update version and reopen bug. I hope this is not assignee's responsibility - unfortunately I rarely work with open bugtrackers :)
Comment 3 Julian Steinmann 2018-05-18 15:09:30 UTC
Okay, thanks for the response. I cannot triage this issue myself as I do not have a SMB share around, so I'll need to leave this problem to somebody who can further debug the process. Of course I would have updated the information accordingly, but I appreciate it that you did this yourself :)
Comment 4 Justin Zobel 2020-10-26 02:44:54 UTC
I've just tested this in Dolphin git master and when I hit refresh (F5) after running through your steps Dawid I get the content in the folder displayed.

Can you please check on an updated version of Dolphin and confirm if the issue is still present or resolved, thanks.
Comment 5 Dawid Oriański 2020-10-27 11:48:09 UTC
(In reply to Justin Zobel from comment #4)
> Can you please check on an updated version of Dolphin and confirm if the
> issue is still present or resolved, thanks.

I got so used to the issue, that I haven't paid it much attention for a while now :) Indeed I couldn't reproduce it with 20.04.8, so I assume it got fixed at some point.

Good job guys! I really appreciate it.