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.
_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
** Attachment added: "libfm.zip"
https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1578453/+attachment/4661692/+files/libfm.zip
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578453
Title:
custom smb port changes in pcmanfm's address bar
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1578453/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs