Bug 80323

Summary: putting smb:/ into konq's sidebar makes SMB workgroups un-expandable
Product: [Applications] konqueror Reporter: Jens <jens-bugs.kde.org>
Component: sidebarAssignee: Joseph Wenninger <jowenn>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kde
Priority: NOR    
Version: 3.3.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jens 2004-04-25 18:53:35 UTC
Version:            (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:          Linux (i686) release 2.6.5-rc1-bk2-p3

Hi,

I put a "smb:/" entry in .kde/share/apps/konqsidebartng/virtual_folders/services/samba.desktop, so I now have a "Windows network" icon in my sidebar. When I expand it, I see all the workgroups in our LAN. (great!) but I cannot expand any of the workgroups to see the COMPUTERS.

Instead, I get "Übergeordnetes Element smb://$some_machine/ ist nicht auffindbar. Interner Fehler." (parent element smb:/$some_machine/ is not locatable. Internal error.) where $some_machine is a computer which I _can_ see if I click on the workgroup in the _main_ konqueror window (icon view).

I suspect that's because kio_smb uses smb:/WORKGROUP to show the workgroup's computers, but then redirects to smb:/COMPUTER instead of smb:/WORKGROUP/COMPUTER and the tree view widget doesn't know how to cope with that.


Thanks
Jens
Comment 1 Joerg de la Haye 2004-07-28 12:57:44 UTC
Same for me, I can confirm this one, I've added that entry to my sidebar too.
It doesn't work, no matter if you use "smb:/" or "smb://<WORKGROUP>/" as the URL entry.
Comment 2 Jens 2004-11-15 15:03:16 UTC
Hello,

is this being looked at? The same problem exists for several other ioslaves (e.g. settings:/), they are not "tree view compatible".

Thanks!
Comment 3 Stephan Kulow 2004-11-18 15:54:07 UTC
I don't see how this can be fixed
Comment 4 Jens 2004-11-18 16:52:55 UTC
Hi,

settings:/ seems to have been fixed. It works in tree view now.
But smb:/ still does not. Perhaps the following would work:

- make the default URL format smb:/workgroup/computername/share/directory/.../file.txt
- if one uses smb:/xyz, check if xyz is a workgroup name
- if not, check if it is a computer name, find out the workgroup the computer belongs to and redirect to smb:/xyz-group/xyz

Maybe that'll fix the tree view behaviour as well.

Comment 5 Joerg de la Haye 2004-11-18 21:55:18 UTC
I'm 100% sure that it did work with earlier versions of KDE, but I can't remember since which version it doesn't work anymore, since KDE 3.1?

Maybe someone has an old Knoppix somewhere to confirm it...
Comment 6 Stephan Kulow 2004-11-19 14:35:05 UTC
I have my doubts
Comment 7 Joerg de la Haye 2004-11-30 11:29:12 UTC
I downloaded an old Knoppix 3.2 from 05/20/03, it contains KDE 3.1.2 according to the Knoppix' changelog.

To clear out any doubts, our bug didn't exist in KDE 3.1.2, and the smb-kioslave in 3.1.2 is already the one linked to libsmbclient, not the older smbclient-wrapper. 
So this problem did appear somehwere between 3.1.2 and 3.2.2.
Comment 8 Jens 2005-01-11 14:42:20 UTC
Hi,

this still happens with KDE 3.3.2. Can anybody perhaps comment my suggestion of using a different URL syntax like described in the above comment?:

- make the default URL format smb:/workgroup/computername/share/directory/.../file.txt 
- if one uses smb:/xyz, check if xyz is a workgroup name 
- if yes, display computers in that workgroup
- if not, check if it is a computer name, find out the workgroup the computer belongs to and redirect to smb:/xyz-group/xyz 

If "foo" is both a workgroup and a computer name, we would have problems with the current syntax, but not with my suggested syntax.

Thank you!

Jens
Comment 9 Joerg de la Haye 2005-06-16 17:39:23 UTC
Now (KDE 3.4.1) it is expandable if I use smb:/, if I use smb://<WORKGROUP> or smb:/<WORKGROUP>, it isn't, although these URLs show the desired workgroup as they should.
Comment 10 Jens 2005-06-16 18:47:38 UTC
Hi,
but it still does not work as expected: Computers in a workgroup will appear on the same level as the workgroup itself, not as subitems. That's not logical.
Comment 11 Janek Bevendorff 2012-06-18 17:17:12 UTC
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.