• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
      • From: Jens Alfke <email@hidden>
References: 
 >Text Field Cells in Table View: Enabled and Editable not working (From: Jerry Krinock <email@hidden>)
 >Re: Text Field Cells in Table View: Enabled and Editable not working (From: Keary Suska <email@hidden>)
 >Re: Text Field Cells in Table View: Enabled and Editable not working (From: Jerry Krinock <email@hidden>)
 >Re: Text Field Cells in Table View: Enabled and Editable not working (From: Kyle Sluder <email@hidden>)
 >Re: Text Field Cells in Table View: Enabled and Editable not working (From: Jerry Krinock <email@hidden>)
 >Re: Text Field Cells in Table View: Enabled and Editable not working (From: Kyle Sluder <email@hidden>)
 >Re: [SOLVED] Text Field Cells in Table View: Enabled and Editable not working (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Optimal height for WebView
  • Next by Date: Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
  • Previous by thread: Re: [SOLVED] Text Field Cells in Table View: Enabled and Editable not working
  • Next by thread: Re: [BUG SUBMITTED] Text Field Cells in Table View: Enabled and Editable not working
  • Index(es):
    • Date
    • Thread