Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #38062

TListView (and others ?) not drawing text on uncover

Original Reporter info from Mantis: dbannon @davidbannon
  • Reporter name: David

Description:

There is a problem in Trunk with TListView's ownerdraw, I expect it would also apply to similar components. Lines of text that are 'covered' are not (re)drawn when uncovered.

The problem applies only to GTK2 does not exist in Fixes or 2.0.10. Qt5 and GTk3 are not affected.

It dates back to revision 63436, June 2020, #37219 (closed) changes made to gtk2winapi.inc. Reverting that file make the problem go away. I am a bit unsure exactly what that fix was fixing, it perhaps related to not drawing where it was deemed unnecessary ?

Davo

Steps to reproduce:

The attached demo illustrates the issue, compile on current trunk, gtk2, press button1 and scroll down ...

Mantis conversion info:

  • Mantis ID: 38062
  • OS: Ubuntu
  • OS Build: U18.04
  • Platform: Linux
  • Version: 2.1 (SVN)
  • Fixed in revision: r64130 (#e405b8c6)
Assignee
Assign to
Time tracking