Bug 115305 - Clicking on a folder while browsing via obex brings up a "what app do you want to use" dialog
Summary: Clicking on a folder while browsing via obex brings up a "what app do you wan...
Status: RESOLVED FIXED
Alias: None
Product: kde-bluetooth
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 09:45 UTC by Ryan Saunders
Modified: 2007-10-25 21:41 UTC (History)
1 user (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 Ryan Saunders 2005-10-29 09:45:11 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs
OS:                Linux

Platform: Mandriva 2006 on AMD64
Phone: Motorola e815

It seems that konqueror and/or the bluetooth kio_slave aren't recognizing folders on my phone as being "folders". If I click the widget to the left of the folder name to expand the folder, I am able to list the folder's contents. However, clicking on the folder name (which would normally open the folder in a konqueror window) pops up a dialog that says:

    Open 'obex://[00:14:9a:28:f5:f8]:16/mixedmedia'?

    Type: folder

    [] Do not ask again

Also (possibly as a result of this) I cannot drag'n'drop files onto folders on my phone.

I am comfortable building from source, and am willing to test any fix you come up with.
Comment 1 Nikolay Sarmadzhiev 2006-04-10 20:29:51 UTC
Same issue on 3.5.2 with kbluetoothd-r3 on gentoo. 
Works fine on PocketPCs but on my phone Motorola V3 Razr it is showing exactly the same message. It seems the mime-type is messed up and I can get around that. If I can help please let me know. 
Comment 2 Nikolay Sarmadzhiev 2006-04-10 20:49:12 UTC
Workaround is to open the folder with 
kfmclient_dir
It seems to work OK. 
I tried to add mime-type folder without any success. 
Konqueror finding it is a folder (shows in the info bar 3 folders in my case) but then did not open them, nor showing the icon properly. 
It seems to be problem with the slave when it is not return proper mime-type for this particular case. 

Thx
Comment 3 rgpublic 2006-04-11 21:54:00 UTC
With my Motorola V3i this does not work either.
As a workaround I created an icon on my desktop saying
"My mobile (pictures)" pointing to:

kfmclient openURL "obex://[00:00:00:00:00:00]/picture" inode/directory

where "00:00:..." is the code of your mobile.
This calls Konqui with the pictures folder immediately open.
Once you have it setup it is even more comfortable than to click your
way through the folders IMHO so I'm not missing it really but of course
it would be great if it worked again one day. If this only occurs on
some devices and you cannot reproduce it please tell me if I can provide any more information that might be helpful here.

Comment 4 Nikolay Sarmadzhiev 2006-04-11 23:19:51 UTC
Actually it is working fine with my PocketPC 6315. 
I have a blackberry device, I havn't tested with. I will test and confirm if it is working. 

Otherwise - Yes I saw it only in Motorola V3. I believe it is not specific to the phone rather to the OS it is used. 


Thx
Comment 5 bauerfichtner 2006-04-28 19:04:39 UTC
I am using a Motorola V525, opening any folder located on the mobile phone with konqueror does not work. I receive the message described in the initial bug report. 
KDE version is 3.5.2, my distribution is SUSE 10.0. 

Calling 
> kfmclient openURL obex://[00:00:00:00:00:00]/picture inode/directory 
works fine for me. 
Comment 6 SukkoPera 2006-08-22 16:07:37 UTC
Sam problem here. KDE 3.5.4 and kdebluetooth 1.0 beta1. Distro is Slackware and most stuff is hand-compiled by me. Phone is Motorola V3i.

The kfmclient solution doesn't work either for me, konqui still asks me for which application I want to use to open the URL.
Comment 7 SukkoPera 2006-08-22 16:15:07 UTC
Sorry, the kfmclient solution works, if before launching the command I close all my Konqui windows.
Comment 8 gianogli 2006-08-22 19:03:12 UTC
I am using a Motorola V550, and I have the same problem since KDE 3.4.X (with KDE 3.3.X works fine)!!!
The kfmclient solution works but I think there is a BUG in Konqueror...
I use Slackware 10.2 @ Current (22/08/2006).
I hope that someone solve this problem quickly...
Thank you
Comment 9 SukkoPera 2006-08-23 00:42:23 UTC
Sorry for the many-comments-in-a-row: I just tried SVN and it behaves the same. If I can help or do anything to get the bug solved, feel free to contact me, by e-mail even!
Comment 10 Gregor Riepl 2006-09-02 11:09:39 UTC
Same here: I just installed the latest SVN version, and the folders still don't open (the bad mimetype seems to be a good guess).
My mobile phone is a Motorola V3, and I can confirm that it worked fine with my old Samsung SGH-D500.

A little rant: Why is this bug still unconfirmed?
Someone needs to analyze what kobex does and where the Motorola's folder index data differs from the one returned by other devices.
I may have some time to debug a little later.
Comment 11 Gregor Riepl 2006-09-02 11:10:14 UTC
*** This bug has been confirmed by popular vote. ***
Comment 12 gianogli 2006-10-05 20:07:19 UTC
I think that this problem is solved in current kdebluetooth svn. It's true? Bye...
Comment 13 SukkoPera 2006-10-05 22:01:15 UTC
Yes, it seems it has been solved, probably by this commit:

r583920 | boiko | 2006-09-13 21:49:39 +0200 (mer, 13 set 2006) | 2 lines
The right mimetype for directory is not folder, but inode/directory

Thanks.
Comment 14 Daniel Gollub 2007-07-10 19:54:26 UTC
This should be fixed in kdebluetooth 1.0-beta3 aswell. kio_obex got replaced with kio_obex2.
Comment 15 Michal Sylwester 2007-10-25 21:41:21 UTC
I've just got this problem with kdebluetooth 1.0-beta8.

kio_obex2 seems to be scrapped, and the fix mentioned earlier is somehow gone from kio_obex sources.
Phone: Motorola K1. Distros: Gentoo and Kubuntu 7.10 (both using kdebluetooth 1.0-beta8)