Bug 37291 - UITextField - Attributed Text - Right Click -> Font -> Underline Causes a Crash
Summary: UITextField - Attributed Text - Right Click -> Font -> Underline Causes a Crash
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 5.10 (C6SR3)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jose Medrano
URL:
Depends on:
Blocks:
 
Reported: 2015-12-26 23:34 UTC by Christopher Conover
Modified: 2016-09-16 06:00 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Example Project (68.72 KB, application/zip)
2015-12-26 23:39 UTC, Christopher Conover
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Christopher Conover 2015-12-26 23:34:47 UTC
1. Create a project with a storyboard that contains a view controller.
2. Add a UITextField to the view controller's view.
3. Change the UITextField's Text type to Attributed.
4. Select some text in UITextField's Text editor box.
4. Right-click on the selection to bring up the context menu
5. Hover of the Font item to bring up the sub-menu
6. Select Underline. Xamarin Studio will crash.
Comment 1 Christopher Conover 2015-12-26 23:39:32 UTC
Created attachment 14401 [details]
Example Project

1. Open the storyboard
2. Select some text in the UITextField's Text editor box
3. Right-Click on the text to open the context menu
4. Select the Font item
5. Select Underline in the Font submenu
Comment 2 Danish Akhtar 2016-01-13 09:05:04 UTC
I am also able to reproduce this issue after following the steps mentioned above. XS gets crashed, when user Select Underline in the Font submenu of Text view. Here is the screencast for the same:  http://www.screencast.com/t/3cVrorPwGN

Supplement info:
XS Problem Report:https://gist.github.com/saurabh360/5883726fc174c13b221a
iOS designer logs: https://gist.github.com/saurabh360/51c46c61186f90f22931
ide logs: https://gist.github.com/saurabh360/1c876dbfa446250c70d0

Hence marking this as Confirmed.

Environment info:=== Xamarin Studio ===

Version 5.10.2 (build 51)
Installation UUID: 46d4d4b6-9307-4ad8-8136-09022b256dbf
Runtime:
	Mono 4.2.2 (explicit/11c1351)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010003

=== Xamarin.Profiler ===

Version: 0.29.99
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 6.0.99.309 (Starter Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.4
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: 9.4.1.21 (Trial Edition)
Hash: c71a120
Branch: master
Build date: 2016-01-12 14:45:43-0500

=== Xamarin.Mac ===

Version: 2.5.0.3111 (Starter Edition)

=== Build Information ===

Release ID: 510020051
Git revision: 36453d5e06a1ad2cc8d261ad32e29abe0ed57c1f
Build date: 2016-01-12 17:33:10-05
Xamarin addins: ab25321e8918350655a7d46c86cfbaac3222fd3c
Build lane: monodevelop-lion-cycle6-c6sr1

=== Operating System ===

Mac OS X 10.10.5
Darwin Danish.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Comment 4 Alan McGovern 2016-04-01 00:51:12 UTC
Should be fixed in the latest internal c7 builds.
Comment 5 xamarin-release-manager 2016-04-01 13:25:10 UTC
Fixed in version 6.0.0.4915 (cycle7)

Author: Jose?? Medrano
Commit: 8f7983601c98b505ce77821206c338231c3a9784 (xamarin/md-addins)
Included in Commit: df940b0f631d3907d86b6e9c7e61d1f8ea6ad734 (mono/monodevelop)
Comment 6 xamarin-release-manager 2016-04-01 14:33:57 UTC
Fixed in version 6.0.0.4773 (cycle7-android-n)

Author: Jose?? Medrano
Commit: 8f7983601c98b505ce77821206c338231c3a9784 (xamarin/md-addins)
Included in Commit: 59b7ad8f33177a4fad8833d1bf7fd4c2d21a7391 (mono/monodevelop)
Comment 7 xamarin-release-manager 2016-04-13 16:18:45 UTC
Fixed in version 6.0.0.5016 (cycle7-hdpi-win32)

Author: Jose?? Medrano
Commit: 8f7983601c98b505ce77821206c338231c3a9784 (xamarin/md-addins)
Included in Commit: ec2dbbf221a42fdb066133241cb3c4dd48d56e7f (mono/monodevelop)