[Bug 1578453] Re: custom smb port changes in pcmanfm's address bar

2017-05-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pcmanfm (Ubuntu)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1578453] Re: custom smb port changes in pcmanfm's address bar

2016-05-12 Thread niknah
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1578453] Re: custom smb port changes in pcmanfm's address bar

2016-05-12 Thread niknah
** Attachment added: "libfm.tar.xz"
   
https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1578453/+attachment/4661694/+files/libfm.tar.xz

** Attachment removed: "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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs