Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18378] iOS8: Option Dialog Caret Present on iPad

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-01-15T16:31:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.5.1, Release 4.0.0
ComponentsiOS
Labelsqe-verified
ReporterEduardo Gomez
AssigneeVishal Duggal
Created2015-01-14T19:32:38.000+0000
Updated2015-02-19T20:47:05.000+0000

Description

Issue Description

Using the 3.5.0.GA SDK option dialogs in iOS 8 have a little caret on the left hand side and the dialog is not centered on iPads running iOS 8. This issue is not present in iOS7 (tested iPad 7.1 (11D167)).

Expected behaviour

The dialog should be centered and the caret should not be present.

Test Case

(function() {
	var myWindow = Ti.UI.createWindow({
		height : Ti.UI.FILL,
		width : Ti.UI.FILL,
		backgroundColor : 'blue'
	});

	myWindow.open();

	var dialog = Ti.UI.createOptionDialog({
		cancel : -1,
		options : ["YES", "NO"],
		selectedIndex : 1,
		destructive : 0,
		title : "Option Dialog"
	});

	dialog.show();
})();

Attachments

FileDateSize
iPad_iOS_8.1_3.4.1.GA.png2015-01-14T19:32:38.000+0000102995
iPad_iOS_8.1_3.5.0.GA.png2015-01-14T19:32:38.000+0000104070
iPadDialog.png2015-01-14T21:35:54.000+0000247554
iPadDialog2.PNG2015-01-14T21:44:57.000+0000101656
iPhone6Dialog.png2015-01-14T21:35:54.000+0000326010
iPhone6Dialog2.PNG2015-01-14T21:44:57.000+0000100199

Comments

  1. Ingo Muschenetz 2015-01-14

    What is the customer priority?
  2. Travis Crist 2015-01-14

    Ingo, this is a critical issue for our team that we would like to have fixed ASAP.
  3. Ewan Harris 2015-01-14

    I am able to reproduce the behavior Mac OSX 10.10.1 Appcelerator Studio, build: 3.4.1.201410281743 Titanium SDK build: 3.5.0.GA Titanium CLI, build: 3.4.1 Alloy: 1.5.1 Xcode 6.1.1 iPhone 6 (8.1.1), iPad Air 2 (8.2b4) I have also included some screenshots from native applications for comparison.
  4. Vishal Duggal 2015-01-15

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6573
  5. Travis Crist 2015-01-15

    PR Looks good, verified on iPad running iOS 8.1.1 and iPad running iOS 7.0.4.
  6. Vishal Duggal 2015-01-15

    Backport to 3_5_X https://github.com/appcelerator/titanium_mobile/pull/6576
  7. Ewan Harris 2015-01-16

    Verified fix on: Mac OSX 10.10.1 Appcelerator Studio, build: 3.4.1.201410281743 Titanium SDK build: 3.6.0.v20150116070927, 3.5.1.v20150115094121 Titanium CLI, build: 3.4.1 Alloy: 1.5.1 Xcode 6.1.1 iPad Air 2 (8.2b4), iPad Air (7.0.3) Using the attached code built to both devices, there is no longer a caret when using option dialogs on iOS8. Closing ticket.
  8. Ewan Harris 2015-02-19

    Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 3.4.2.201502181619 Titanium SDK build: 3.5.1.v20150219103744 Titanium CLI, build: 3.4.2-alpha Alloy: 1.5.1 Xcode 6.1.1 iPad Mini 3 (8.1.3), iPad Air (7.0.3) Using the attached code built to both devices, there is no longer a caret when using option dialogs on iOS8. Closing ticket

JSON Source