Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5750] iOS: A separator is displayed on the search results of a TableView.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2011-10-13T14:31:51.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-44
ComponentsiOS
Labelssearchbar, tableview
ReporterKunio Murasawa
AssigneeStephen Tramer
Created2011-10-04T23:19:59.000+0000
Updated2017-03-23T21:12:55.000+0000

Description

A separator was displayed in SDK5.0. It is not displayed in SDK4.3.
// test program
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({  
    title:'Tab 1',
    window:win1
});

data = [
	{ title: 'a1', header: 'a' },
	{ title: 'a2' },
	{ title: 'a3' },
	{ title: 'a4' },
	{ title: 'a5' },
	{ title: 'b1', header: 'b' },
	{ title: 'b2' },
	{ title: 'b3' },
	{ title: 'b4' },
	{ title: 'b5' },
	{ title: 'c1', header: 'c' },
	{ title: 'c2' },
	{ title: 'c3' },
	{ title: 'c4' },
	{ title: 'c5' },
];
index = [
	{ title: 'a', index: 0 },
	{ title: 'b', index: 5 },
	{ title: 'c', index: 10 }
];

var search = Ti.UI.createSearchBar({
	showCancel: false,
	filterAttribute: 'title'
});

var tableView = Ti.UI.createTableView({
	data: data,
	index: index,
	search: search
});

win1.add(tableView);

tabGroup.addTab(tab1);  
tabGroup.open();

Attachments

FileDateSize
SDK4.3.png2011-10-04T23:19:59.000+0000123404
SDK5.0.png2011-10-04T23:19:59.000+0000124109

Comments

  1. Kunio Murasawa 2011-10-04

    This problem occurs in iOS5 device. iPhone SDK version is not related.
  2. Paul Dowsett 2011-10-13

    Kunio Your tickets will be easier to understand if you use the formatting markup provided. For help on this, click the question mark icon underneath the textFields. Cheers
  3. Paul Dowsett 2011-10-13

    Note that the previous message was intended for Kunio rather than Karol.
  4. Paul Dowsett 2011-10-13

    Karol Please remember to reassign tickets after moving them from the TC project. Thanks :)
  5. Reggie Seagraves 2011-10-13

    Unable to reproduce in simulator or on device with SDK 5.0 from current master.
  6. Kunio Murasawa 2011-10-13

    Please check again. It occur in Ti SDK 1.7.2, 1.7.3.v20111013094213 and 1.8.0.v20111013161411. !http://lh4.googleusercontent.com/-PB8ZsCAGxZo/TpeMIFYgTqI/AAAAAAAAAcc/9z_vGJQol3Y/s720/bug.png! http://picasaweb.google.com/117446683474720129000/Titanium
  7. Kunio Murasawa 2011-10-20

    It happens 100%. Procedure 1. touch search bar 2. input "b" 3. tap "Search" button
  8. Kunio Murasawa 2011-11-03

    This problem occur also in Ti SDK 1.7.5
  9. Dietrich Streifert 2011-11-24

    Please consider reopening this issue: The same bug shows up in our app which has a tableview with sections and a searchbar. Titanium mobile SDK versions 1.7.5, 1.8.0.1.v20111123202050, 1.7.6.v20111122141108 iOS SDK 5 iPhone simulator from SDK 5 iPhone 4 with iOS 5.0.1 The bug does not show up in iPhone simulator from SDK 4.3
  10. Dietrich Streifert 2011-11-25

    Again: please reopen this issue. Reproducable also in KichenSink table_view_headers_filter.js for Titanium mobile SDK versions 1.7.5, 1.8.0.1.v20111123202050, 1.7.6.v20111122141108 iOS SDK 5 iPhone simulator from SDK 5
  11. Mauricio Meirelles 2011-11-29

    This is also happening to me when I try to use custom cells at Table View. (v1.8 - iOs 5)
  12. Alberto Marcone 2013-08-08

    this is still happening on TiSDK 3.1.1 iOS 6. as [~kunio.murasawa] said, just: 1. touch search bar 2. input "b" 3. tap "Search" button if you set separatorColor = "transparent" or separatorStyle = Titanium.UI.iPhone.TableViewSeparatorStyle.NONE it will still show the separator.
  13. Lee Morris 2017-03-23

    Can verify this ticket as "Cannot Reproduce". Tested with the following environment; iPhone 7 and Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.3 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80

JSON Source