In pcmanfm when I browse to smb://xxx/yyy/zzz
The address bar will show smb://xxx/zzz
The address bar location is from _fm_path_display_name.
_fm_path_display_name will call fm_path_display_basename and then put the basename and path together.
But fm_path_display_basename will get the basename from disp_name which is set to "/" some times, which turns smb://xxx/yyy to smb://xxx
A quick fix is to disable the feature, if I change src/base/fm-path.c:1024...
else
disp_base = fm_path_display_basename(path);
To...
else {
disp = fm_path_to_str(path);
return;
}
Maybe that disables something else that's useful, I don't know.
Personally, I'd rather see the full path than a pretty display path. Something that I can copy and paste to use in other apps.
Attached is a compiled libfm with the change.
Unzip it somewhere and run...
LD_LIBRARY_PATH=/tmp/WhereYouUnzippedIt pcmanfm
I have a similar problem.
In pcmanfm when I browse to smb://xxx/yyy/zzz
The address bar will show smb://xxx/zzz
The address bar location is from _fm_path_ display_ name. display_ name will call fm_path_ display_ basename and then put the basename and path together. display_ basename will get the basename from disp_name which is set to "/" some times, which turns smb://xxx/yyy to smb://xxx
_fm_path_
But fm_path_
A quick fix is to disable the feature, if I change src/base/ fm-path. c:1024. ..
else display_ basename( path);
disp_base = fm_path_
To...
else { to_str( path);
disp = fm_path_
return;
}
Maybe that disables something else that's useful, I don't know.
Personally, I'd rather see the full path than a pretty display path. Something that I can copy and paste to use in other apps.
Attached is a compiled libfm with the change. PATH=/tmp/ WhereYouUnzippe dIt pcmanfm
Unzip it somewhere and run...
LD_LIBRARY_