Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27462] iOS - NavBar properties not working anymore after 8.2.0.GA

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2019-12-12T15:10:25.000+0000
Affected Version/sRelease 8.2.1, Release 8.2.0
Fix Version/sRelease 9.0.0
ComponentsiOS
LabelsengSchedule, ios-13, navbar, regression
ReporterRodolfo Perottoni
AssigneeVijay Singh
Created2019-10-09T23:15:00.000+0000
Updated2020-05-08T20:45:34.000+0000

Description

After updating Titanium to 8.2.0.GA from 8.0.0.GA all navbar customisations stopped working. The project attached to this issue has all the necessary code to reproduce this error. Changing the *barColor*, *hideNavBar*, *barImage*, *hideShadow* all seem to have no effect whatsoever. See images attached for a comparison between 8.0.0.GA and 8.2.0.GA
"#navwindow": {
	barColor: '#182426'
}

"#window": {
	backgroundColor: 'green',
	translucent: true,
	barColor: 'transparent',
	extendEdges: [
		Ti.UI.EXTEND_EDGE_TOP
	],
	barImage:'transparent.png',
	hideShadow:true,
}
<Alloy>
	<NavigationWindow id="navwindow">
		<Window id="window" title="test" class="container">
			<Label id="label" onClick="doClick">Hello, World</Label>
		</Window>
	</NavigationWindow>
</Alloy>

Attachments

FileDateSize
800GA.png2019-10-10T01:15:47.000+000066486
820GA.png2019-10-10T01:15:47.000+000079973
navbarissue.zip2019-10-09T23:14:34.000+00008658826

Comments

  1. Rene Pot 2019-10-10

    if you move extendEdges to the navigationWindow and have barColor only on the window it should work much better. Of course there is TIMOB-27413 to take into consideration as well. Can you test with that recommendation on 8.2.1 and see what according to you still doesn't work properly? Though something seems up if extendEdges is on the window, some other properties are indeed ignored. hideShadow still works for me regardless
  2. Andrea Vitale 2019-10-14

    Same issue here.
  3. Rodolfo Perottoni 2019-11-20

    Rene, I think this is not a matter of changing properties and re-engineering all of my app's navigation. You can see from the attached pictures that this is indeed a bug. Also, I still want to control extendedEdges on a window level instead of applying it to all of my navigation stacks.
  4. Rodolfo Perottoni 2019-11-20

    Still happens on 8.3.X.
  5. Vijay Singh 2019-12-04

    PR - https://github.com/appcelerator/titanium_mobile/pull/11377 Note - @QE please verify test cases from TIMOB-27413 and TIMOB-27263 as well.
  6. Satyam Sekhri 2019-12-12

    FR Passed.
  7. Sohail Saddique 2019-12-12

    Fixes verified in build: 9.0.0.v20191211162818. Navgiation Bar properties are working as expected. Ticket closed.
  8. Hans Knöchel 2020-05-08

  9. Hans Knöchel 2020-05-08

    Sorry, the regression was not caused by this one but TIMOB-27868.

JSON Source