Bug 193241 - please add a bluetooth kioslave
Summary: please add a bluetooth kioslave
Status: RESOLVED FIXED
Alias: None
Product: kbluetooth
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.4
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
: 197207 197882 215151 217986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-19 14:27 UTC by Dotan Cohen
Modified: 2010-10-13 02:18 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kio-obex (4.81 KB, application/x-gzip)
2010-02-06 01:17 UTC, H.H.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2009-05-19 14:27:19 UTC
Version:            (using KDE 4.2.3)
Installed from:    Ubuntu Packages

In KDE 3 one could browse remote bluetooth devices (PDAs, cellphones) from within Konqueror. Please add this ability to Dolphin. Thanks!
Comment 1 Dotan Cohen 2009-06-20 00:53:50 UTC
*** Bug 197207 has been marked as a duplicate of this bug. ***
Comment 2 Pino Toscano 2009-06-25 22:01:59 UTC
*** Bug 197882 has been marked as a duplicate of this bug. ***
Comment 3 Thorsten Staerk 2009-06-26 09:02:08 UTC
This is a regression bug of KDE 4.3 vs KDE 3.5. With KDE 3.5, I could use my bluetooth phone - with KDE 4, I can't. This is a major impact on my life - I no longer have the possibility to transfer pictures from my phone to my computer. This is not a "wishlist item".
Comment 4 Bob Skaroff 2009-06-27 22:16:35 UTC
should be merged with 165588
Comment 5 Thorsten Staerk 2009-06-27 22:32:59 UTC
No. 165588 is something about the K Menu regarding bluetooth. This is about Dolphin.
Comment 6 Bob Skaroff 2009-08-06 13:17:29 UTC
this is not about dolphin. it is about providing a kioslave for bluetooth in kde4. i will continue to use konqueror, i don't like dolphin.
merge it
Comment 7 Nicolas L. 2009-08-16 11:00:55 UTC
this kioslave can't be used ? it doesn't work ?

http://websvn.kde.org/trunk/playground/network/kbluetooth4/src/kioslave/
Comment 8 Dotan Cohen 2009-08-16 16:06:47 UTC
> this kioslave can't be used ?
> it doesn't work ?

How is the end user supposed to use that kioslave, Nicolas? I have a Dolphin window open, what am I to do?
Comment 9 Nicolas L. 2009-08-16 16:21:33 UTC
using bluetooth:/  should be enough. If this is working, we can add an option on the kbluetooth systray icon.
Comment 10 Dotan Cohen 2009-08-16 19:14:57 UTC
Typing "bluetooth:/" into the Konqueror addressbar in KDE 4.3 takes me to this webpage:
http://www.bluetooth.com/bluetooth/
Comment 11 Nicolas L. 2009-08-16 19:41:09 UTC
ok i looked deeper and for the moment this kioslave isn't compiled ( and doesn't compile ).
Comment 12 Pino Toscano 2009-08-18 13:31:43 UTC
*** Bug 197882 has been marked as a duplicate of this bug. ***
Comment 13 Cedric Laczny 2009-10-19 00:55:56 UTC
I just saw that this bug is assigned to Tom Patzig. When I check the "About" dialog in kbluetooth-0.4 (under gentoo), I see Tom Patzig as Former Developer and Alex Fiestas as the Maintainer. So I'm not sure if this is correctly assigned.
Either way, I also noticed that browsing is missing and I'm really missing this under KDE-4.x.
As I don't know yet what is responsible for this (missing kio-slave or whatever), I decided to mail Alex Fiestas and I hope that he will shed some light into this.
Comment 14 Daniel Morris 2009-10-22 11:03:53 UTC
Just trying out bluetooth after all the other great improvements in 4.3.2 (openSUSE 11.1) and kioslave is not supported - konqueror reports "protocol not supported).
Comment 15 Alex Fiestas 2009-11-06 00:59:13 UTC
Hi, I'll try to get the kio_slave back as soon as possible, but first I've to get the solid-bluez a bit more stable.
I hope to have it finished by 4.4 release.
Comment 16 Thorsten Staerk 2009-11-06 09:10:54 UTC
I cannot vote for this bug any longer nor see its votes. I get a mail that my votes have been removed - what's going on?
Comment 17 Alex Fiestas 2009-11-06 12:22:56 UTC
(In reply to comment #16)
> I cannot vote for this bug any longer nor see its votes. I get a mail that my
> votes have been removed - what's going on?

I don't know :/ maybe they have been removed because we create a new product "kbluetooth" and move this but to it :/

I'm sorry for the inconveniences u.U
Comment 18 Alex Fiestas 2009-11-18 17:32:54 UTC
*** Bug 215151 has been marked as a duplicate of this bug. ***
Comment 19 Dotan Cohen 2010-01-12 20:51:30 UTC
*** Bug 217986 has been marked as a duplicate of this bug. ***
Comment 20 H.H. 2010-02-01 22:52:12 UTC
I have started a bluetooth (obex) kio-slave. most important things (browse folders, transfer files) work in dolphin now. konqueror displays an error message (don't know what goes wrong). still todo: add browsing for devices.
Comment 21 Alex Fiestas 2010-02-01 22:56:31 UTC
(In reply to comment #20)
> I have started a bluetooth (obex) kio-slave. most important things (browse
> folders, transfer files) work in dolphin now. konqueror displays an error
> message (don't know what goes wrong). still todo: add browsing for devices.

Wo! that are great news! when you're done if you want we can integrate it with the current KBluetooth project (restore the kio folder, add it to the cmake etc).
Comment 22 H.H. 2010-02-06 01:17:54 UTC
Created attachment 40558 [details]
kio-obex

So here my code so far. What works for me:
- list devices (7-8 seconds evil hardcoded scan) with "obex:/" by name
- browse folders
- transfer files
- mkdir
- delete files

The code is still a mess and coded by try&error. I did not succeed to solve following problems:

- one device cannot be shared between multiple kio_slaves, the two lines
 "maxInstancesPerHost=1",  "maxInstances=1" in kde-protocol-config did not solve the issue, so for example it is not possible to launch gwenview to view a file, because gwenview starts a new slave-instance before the other is closed

- konqueror can not display data delivered by the slave (don't know why)

- dolphin seems to be the only application, which handles UDS-entries with different "target" right, but only in its main view, not in its folderview. that means, if my device is named "my mobile" and I click in folder-view the URL "my mobile" is called, although the target should be the hardware address

- kurl seems not to allow real hw-addresses, so I did a workaround by replacing ":" by "-"

- kio-slaves cannot handle signals, because they are bocked somehow, so I manually called "processEvents" to process the eventloop for listing devices 

What is needed to build the slave:

- obexftp: http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp (it is hardcoded in cmakefile)
Comment 23 Dotan Cohen 2010-03-16 20:56:40 UTC
Alex, can you review the patch from the previous comment? Thanks.
Comment 24 Dotan Cohen 2010-05-06 17:26:24 UTC
Bump. The patch has been on this bug for three months, can someone (Alex?) review it please. I'd like to see this get into KDE 4.5. Thanks.
Comment 25 anyr 2010-06-02 08:08:18 UTC
Are there any changes in this way?
Comment 26 Alex Fiestas 2010-10-13 02:18:09 UTC
With bluedevil, this issue is fixed (implemented).

Thanks for the feedback!