• 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
Display artifacts in large (1600 row) table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display artifacts in large (1600 row) table view


  • Subject: Display artifacts in large (1600 row) table view
  • From: "Doug Knowles" <email@hidden>
  • Date: Mon, 24 Mar 2008 16:30:08 -0400

Hi, everyone,
In an application under development, I'm seeing display artifacts at the
boundaries of some rows of a fairly generic NSTableView displaying 1600 rows
by 7 columns. The artifacts seem to be no more than a pixel high, and each
one is no more than 5-10 pixels wide, if that. They appear at the bottom
edge of their row.  It's almost like they are remnants of the tops of
characters, but they do not line up with the characters in the row
immediately beneath them.

A couple of data points:

- The objects bound to the table column values are Objective-C wrapper
around ported C++ code; I'm sure the NSStrings I'm passing are OK, but the
underlying code is hideously inefficient (for now), so it may be having
trouble keeping up with the demands of the view.  Even on my quad-core Mac
pro. :-(  ["Lucy, you got a lot of optimization to do!"]

- I have to scroll to find the artifacts, so they may be created during
scrolling.

- We also see this on an older Intel iMac, but not ever on my 5-month old
MacBook Pro.

- I don't see it in other applications on the affected machines; i.e., it
doesn't seem like a display glitch.

Has anyone encountered something like this before?  For now, I'm going to
look at the optimization first before messing with what has been a very
straightforward implementation of the table.

TIA,
Doug K;
_______________________________________________

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

  • Prev by Date: Re: How to delay application quit?
  • Next by Date: Re: Cocoa Database Connection
  • Previous by thread: Re: How to get NSURL* form NSURLConnection?
  • Next by thread: NSTextStorage subclassing questions
  • Index(es):
    • Date
    • Thread