No progress report during transfer
Submitted by Jeff Bai
Link to original bug (#768069)
Description
- GNOME Bluetooth version: 3.18.3.
- BlueZ version: 5.40.
- DBus: has user session support.
I find it quite bizzare that GNOME Bluetooth wasn't handling files sent from my phone if the GNOME Control Center panel for Bluetooth wasn't opened. Here below is a simple comparison of the different behaviors you can get when sending a phone to a laptop/desktop/whatever running GNOME, via Bluetooth.
When the Bluetooth control panel is not opened:
6月 26 22:17:01 thinkpad obexd[5326]: CONNECT(0x0), (null)(0xffffffff)
6月 26 22:17:01 thinkpad obexd[5326]: CONNECT(0x0), (null)(0x0)
6月 26 22:17:02 thinkpad obexd[5326]: PUT(0x2), (null)(0xffffffff)
6月 26 22:17:02 thinkpad obexd[5326]: PUT(0x2), FORBIDDEN(0x43)
6月 26 22:17:02 thinkpad obexd[5326]: DISCONNECT(0x1), (null)(0xffffffff)
6月 26 22:17:02 thinkpad obexd[5326]: DISCONNECT(0x1), SUCCESS(0x20)
6月 26 22:17:02 thinkpad obexd[5326]: disconnected: Transport got disconnected
6月 26 22:17:02 thinkpad bluetoothd[916]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
(And your phone will say the file failed to send)
When the Bluetooth control panel IS opened:
6月 26 22:22:56 thinkpad obexd[5326]: CONNECT(0x0), (null)(0xffffffff)
6月 26 22:22:56 thinkpad obexd[5326]: CONNECT(0x0), (null)(0x0)
6月 26 22:22:58 thinkpad obexd[5326]: PUT(0x2), (null)(0xffffffff)
6月 26 22:22:58 thinkpad obexd[5326]: PUT(0x2), CONTINUE(0x10)
(And boom the file is sent)
This might well be something I have done wrong while packaging GNOME for AOSC OS (package tree https://github.com/AOSC-Dev/aosc-os-abbs), but just in case, might as well have some words from the experts right? XD
P.S.
Is it normal for GNOME to not have a confirmation notification/prompt when a file was received? And also I saw no progress indication available from the GNOME side, I would think it's useful to have one. I would really like to have your opinion on this.
Version: 3.18.x