Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
- Subject: Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
- From: Jerry Krinock <email@hidden>
- Date: Fri, 04 Jan 2013 11:52:08 -0800
I've submitted this with a sample project. Bug ID# 12958605.
Text Cell in NSTable Can't be Edited if Window has no Title
Summary: In an NSTextFieldCell, in an NSTableView, in an NSWindow that has to title bar (as many developers configure for use as sheets), the user cannot edit the text. Demo project is attached.
Steps to Reproduce:
1. Build and run the attached project. This is not my project but a little sample that I found hereā¦
https://github.com/daemonDevarshi/SportsCatalogue
Note that, due to its minimalist nature, the new row in the table is not selected after you click the "+" button.
2. After clicking the "+" button, click near the top of the table to select the first row.
3. Note that you can type text into either column. It works
4. Quit the app.
5. In Xcode, open the project's MainMenu.xib.
6. Select the Window.
7. In the Utilities area, select the Attributes Inspector.
8. Switch the checkbox "Title Bar" OFF.
9. Rebuild
10. Repeat steps 2-3.
Expected Results:
Should work same as before, except the window should not have a title bar.
Actual Results:
Instead of getting a focus ring around the clicked cell, you get a 1-pixel gray rectangle.
Instead of the text being highlighted normally, you get a gray highlight.
When you type characters, a sysbeep.
Notes:
This is a completely unexpected result and took me several hours, with help, to find this bug.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden