After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570963 - Won't retry to connect if first attempt fails
Won't retry to connect if first attempt fails
Status: RESOLVED DUPLICATE of bug 495278
Product: gnome-phone-manager
Classification: Other
Component: general
0.60
Other Linux
: Normal normal
: ---
Assigned To: none
none
Depends on:
Blocks:
 
 
Reported: 2009-02-08 15:49 UTC by Daniele Forsi
Modified: 2009-03-25 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniele Forsi 2009-02-08 15:49:34 UTC
When g-p-m fails the first attempt to connect via Bluetooth it will keep printing "** Message: Can't connect twice" even if you change port in the Preferences.

I would expect it to print an error message that doesn't suggest a connection has bee already established and to try to connect to another device if I change settings.

I think this is different from Bug #495278 where failure to reconnect happens after successful connections, here all attempts fail.

Steps to reproduce:
1. configure g-p-m and phone for Bluetooth connection (make sure it works)
2. exit g-p-m and turn phone Bluetooth off
3. start g-p-m --debug and it prints (I added a g_message() to show app->status):
** Message: bdaddr 00:1A:75:D7:C4:69
** Message: New connection device is 00:1A:75:D7:C4:69 (changed)
** Message: app->status 0
** Message: New connection device is 00:1A:75:D7:C4:69 (not changed)
** Message: Connecting...
** Message: Status 1
** Message: Making serial port connection
** Message: Using serial channel -1 for device 00:1A:75:D7:C4:69
** Message: Failed connection to device on 00:1A:75:D7:C4:69
** Message: Exiting connect thread

[it apparently stops here forever, open Preferences and close it without changes]

** Message: New connection device is 00:1A:75:D7:C4:69 (not changed)
** Message: app->status 1
** Message: Can't connect twice

[open Preferences and change port settings]

** Message: New connection device is /dev/ttyS0 (changed)
** Message: app->status 1
** Message: Can't connect twice
Comment 1 Daniele Forsi 2009-03-25 20:11:08 UTC

*** This bug has been marked as a duplicate of 495278 ***