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 646253 - The 6-digit confirmation code is corrupted if leading zeroes occur.
The 6-digit confirmation code is corrupted if leading zeroes occur.
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: applet
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-30 17:41 UTC by Dirk Haar
Modified: 2011-05-25 15:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dirk Haar 2011-03-30 17:41:01 UTC
If bluetooth tries to connect via a 6-digit code which has leading zeroes,
this code is not properly displayed in the LINUX applet.
It seems - but I cannot prove it without many attempts - that the code is also trimmed to five (or maybe less) digits internally so that the connection cannot be established.
Comment 1 Bastien Nocera 2011-03-30 17:48:22 UTC
(In reply to comment #0)
> If bluetooth tries to connect via a 6-digit code which has leading zeroes,
> this code is not properly displayed in the LINUX applet.

Screenshot?

> It seems - but I cannot prove it without many attempts - that the code is also
> trimmed to five (or maybe less) digits internally so that the connection cannot
> be established.

That's very highly unlikely.

Please tell us exact reproducer steps for this, it's impossible to know what the problem is when the problem definition is so vague.
Comment 2 Dirk Haar 2011-04-01 22:40:28 UTC
> (In reply to comment #0)
> > If bluetooth tries to connect via a 6-digit code which has leading zeroes,
> > this code is not properly displayed in the LINUX applet.
> 
> Screenshot?

Sorry, I can not reproduce that.
I have no Bluetooth unit at hand now.
The six-digit code is generated to neogiate/confirm the connection manually.
It ist display as well on the smartphone (in my case) and in the apllet popup window 8where the leading zero got lost).
I tried it some times, but only got 6 digit after the first occurence, so I can't deliver a screen shot.

I must be easily found in the source code.

> > It seems - but I cannot prove it without many attempts - that the code is
> > also trimmed to five (or maybe less) digits internally so that the 
> > connection cannot be established.
> That's very highly unlikely.
Funny you know that but don't know where to look for the problem.
In my 30+ years of software development this sentence has mostly been a good
proof that "highly unlikely" is the case which occurs (ever heard of Murphy?).

> Please tell us exact reproducer steps for this, it's impossible to know what
> the problem is when the problem definition is so vague.
It contained any information needed. Look for the module(s) which displays and handles the connection confirmation code.
Comment 3 Bastien Nocera 2011-05-20 15:19:28 UTC
What phone is this? And did you initiate the pairing from the phone, or from the computer?
Comment 4 Dirk Haar 2011-05-24 18:39:27 UTC
It's a Samsung Galaxy S I9000 (Android), but this is not relevant.
The 5 digit code is presented by Ubuntu as written in my first sentence.
So it should be clear that the session started from the Linux side, or not?
Comment 5 Bastien Nocera 2011-05-25 15:39:52 UTC
(In reply to comment #4)
> It's a Samsung Galaxy S I9000 (Android), but this is not relevant.

Why do you think it wouldn't be?

> The 5 digit code is presented by Ubuntu as written in my first sentence.
> So it should be clear that the session started from the Linux side, or not?

I wish you would stop trying to second guess me here. It's a documentation bug in bluez, which explains why gnome-bluetooth wasn't presenting the Secure Simple Pairing keys properly.

Fixed in gnome-3-0 and master for GNOME 3.2.