timthedevguy / BGHUDAppKit

* BGHUDAPPKIT is no longer under development by me, I hope that the community will keep it alive and going as I no longer have time to dedicate to the project** The missing HUD controls. Please scroll down to read the readme file for an important notice concerning the future of BGHUDAppKit. Note that there are multiple versions available, 10.5+, 10.6.7, and now 10.7. As soon as I learn how I'll make these all one code base if possible.
http://www.binarymethod.com/
312 stars 57 forks source link

TableView column not drawing title on Snow Leopard when sorting. #28

Closed jrhass closed 14 years ago

jrhass commented 14 years ago

To demonstrate:

Create an app which uses BGHUDTableView and bind it to an array controller. When you run the app, and click on the column to sort, the sort indicator draws correctly, but the title does not.

This appears to only be on Snow Leopard, as this works as expected on Leopard.

EDIT: posted pics

first launching the app: http://imgur.com/cS6CP.png

when sorting, no title: http://imgur.com/XR1P0.png

timthedevguy commented 14 years ago

Ah ok, sorry, somehow this slid through the cracks of my email, my gmail got hacked recently, I see the problem and will get it resolved!

jrhass commented 14 years ago

Oh great! Thank you very much -- sorry about your gmail!

timthedevguy commented 14 years ago

Any chance you could send me a test project, I don't seem to be able to even get sort working on a regular tableview.... lol (binary dot god at gmail dot com)

preble commented 14 years ago

I'm seeing the same thing. Let me know if you need any additional info. For what it's worth I'm not using bindings in my project. Thanks.

preble commented 14 years ago

Here is my hack/fix for the issue: a modification to BGHUDTableViewHeaderCell.m. It's not pretty, it has only seen limited testing, and that testing was only on 10.6. http://gist.github.com/457967

timthedevguy commented 14 years ago

Working on this problem right now, thanks for the example code preble, will be testing it as well.

timthedevguy commented 14 years ago

Fixed: TableView column not drawing title

This fixes BGHUDTableView column headers that would fail to draw when in a sorted state. Closed by c7bfe8cda3af12b352d85b55e025ed82b99f1eaa