Bug 1381 - Search for I2C does not work
Summary: Search for I2C does not work
Status: RESOLVED DUPLICATE of bug 1375
Alias: None
Product: PulseView
Classification: Unclassified
Component: UI (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 19:08 CEST by Richard Coleman
Modified: 2019-04-25 11:35 CEST (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Coleman 2019-04-24 19:08:14 CEST
In the current Nightly version (on macOS), if you type 'I2C' into the search box of the Decoder Selector, there are no results. I think this is because the name of the decoder is 'I²C' with a superscript '²' instead of the standard '2' in the string I searched for. (Searching for 'I²C' confirms this; the expected results are there with that search string).

Since most users cannot easily type a '²' character, I think the 'I²C' decoder should also match searches for 'I2C'.
Comment 1 Soeren Apel 2019-04-24 19:11:50 CEST
This has been fixed very recently: https://sigrok.org/bugzilla/show_bug.cgi?id=1375

Which version does your nightly say it has?
Comment 2 Richard Coleman 2019-04-24 19:12:59 CEST
(In reply to Soeren Apel from comment #1)
> This has been fixed very recently:
> https://sigrok.org/bugzilla/show_bug.cgi?id=1375
> 
> Which version does your nightly say it has?


PulseView
0.5.0-git-af33d4c
Qt
5.5.1
glibmm
2.56.0
Boost
1_67
libsigrok
0.6.0-git-6449b2e/4:0:0 (rt: 0.6.0-git-6449b2e/4:0:0)
- glib
2.56.1 (rt: 2.56.1/5601:1)
- libzip
1.5.1
- libserialport
0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
- libusb-1.0
1.0.22.11312 API 0x01000106
- libftdi
1.4
- Host
x86_64-apple-darwin15.6.0, little-endian
- SCPI backends
TCP, RPC, serial, USBTMC
libsigrokdecode
0.6.0-git-75523bf/4:0:0 (rt: 0.6.0-git-75523bf/4:0:0)
- glib
2.56.1 (rt: 2.56.1/5601:1)
- Python
3.7.0 / 0x30700f0 (API 1013, ABI 3)
- Host
x86_64-apple-darwin15.6.0, little-endian
Comment 3 Soeren Apel 2019-04-24 19:20:14 CEST
Thanks, that confirms my suspicion because https://sigrok.org/gitweb/?p=pulseview.git;a=commit;h=af33d4cbacc745f4473f5c0f4fa1f9ebb8d84d0a is from before this was fixed - i.e. the nightly is outdated.

https://sigrok.org/jenkins/job/sigrok-native-macosx/platform=native-macosx/lastSuccessfulBuild/artifact/cross-compile/macosx/build_app/ shows the nightly was last built April 16th, so something's up with Jenkins. We'll look into it and let you know once it's fixed and an up-to-date build is available. Thanks!
Comment 4 Richard Coleman 2019-04-24 19:22:09 CEST
(In reply to Soeren Apel from comment #3)
> Thanks, that confirms my suspicion because
> https://sigrok.org/gitweb/?p=pulseview.git;a=commit;
> h=af33d4cbacc745f4473f5c0f4fa1f9ebb8d84d0a is from before this was fixed -
> i.e. the nightly is outdated.
> 
> https://sigrok.org/jenkins/job/sigrok-native-macosx/platform=native-macosx/
> lastSuccessfulBuild/artifact/cross-compile/macosx/build_app/ shows the
> nightly was last built April 16th, so something's up with Jenkins. We'll
> look into it and let you know once it's fixed and an up-to-date build is
> available. Thanks!

Thanks, I downloaded the nightly 30 mins ago from http://sigrok.org/jenkins/job/sigrok-native-macosx/platform=native-macosx/lastSuccessfulBuild/artifact/cross-compile/macosx/build_app/PulseView-NIGHTLY.dmg.
Comment 5 Soeren Apel 2019-04-24 20:56:10 CEST
The DMG has been rebuilt, please try again.

*** This bug has been marked as a duplicate of bug 1375 ***
Comment 6 Richard Coleman 2019-04-25 11:35:16 CEST
With the new nightly it works, I can search 'I2C' and find the I²C decoder. Thanks!