Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7631387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:20:26+00:00 2026-05-31T06:20:26+00:00

I have a carbon application with a list view data browser and vertical scrolling.

  • 0

I have a carbon application with a list view data browser and vertical scrolling. When the list is long (hundreds of items), rapid scrolling through the window produces blurred, sometimes “smeared” text:

Screen shot of ListView

Other artifacts can also occur, such as clipped or overlapping lines. Sometimes the entire contents are nothing but a vortex-like smear. Clicking any item causes a normal repaint of the ListView contents. Here is how Interface Builder sees the ListView:

enter image description here

I am building against MacOSX10.5.sdk using Xcode 3.2.6. Building and testing is under 10.6. I am not doing any special handling of scroll events. I have only defined DataBrowserCallbacks for itemDataCallback, itemNotificationCallback, and itemCompareCallback.

My question is: what could possibly cause this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:20:28+00:00Added an answer on May 31, 2026 at 6:20 am

    I figured it out, so here is the answer for posterity:

    It turns out that the problem always and only occurs when the list view data browser is positioned at a non-integer horizontal offset.

    HIViewSetFrame() takes an HIRect argument which uses float types for origin and size. When the parent frame is resized such that the origin of the browser falls on a non-integer origin.x, the graphics errors are triggered. It does not matter whether or not the vertical offset or either size dimension is non-integral.

    The solution is to ensure that browsers which are moved when the window resizes have their x value rounded off:

    frame.origin.x = roundf(frame.origin.x);
    

    It does not appear that any other controls have any problems with non-integer origins.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a Cocoa Window within an otherwise Carbon Application (it's an
I have a carbon C++ application and I would like to programmatically do the
I'm using Eclipse Carbon now and I have some installed Plugins. How to move
I have made a sample application in which I am able to implement help
I have not done any work with Carbon/Cocoa, only Qt. I know Qt has
I have an application where the database back-end has around 15 lookup tables. For
I'm writing a Carbon application and we are creating JPEG files. I'm currently doing
I'm going through SICP and I'd like to have an interpreter analogous to the
With Python2.6, the Evt module (from Carbon import Evt) does not have seem to
I have downloaded eclipse 3.4 (java version) for MacOSX (carbon). I have tried to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.