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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to