Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,094
    • Issues 2,094
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #29179
Closed
Open
Created Dec 12, 2015 by FPC Admin account@fpc_adminOwner

TListView - Assign SmallImages with OwnerData consume 100% CPU

Original Reporter info from Mantis: Dibo
  • Reporter name: Krzysztof Dibowski

Description:

Hi,

I'm using OwnerData. If I assign TImageList to SmallImages then it consume 100% CPU (see attached image, it is 25% because I have 4 cores). GUI is fully responsible and app is closing without error. It is especially weird because I'm not using ImageIndex in items and image list is empty. It occur only if items count is > 0. This issue is not present with OwnerData = False.

Regards

Steps to reproduce:

Run attached demo and go to processes manager. You should see 100% CPU usage. Comment line:
ListView1.SmallImages := ImageList1;
... and everything should be fine

Additional information:

Tested on Lazarus 1.7 from SVN but occur also on stable 1.4.4
FPC 2.6.4
Kubuntu 14.04 64 bit
Qt widgetset

Mantis conversion info:

  • Mantis ID: 29179
  • OS: Kubuntu
  • OS Build: 14.04 64 bit
  • Platform: Linux
  • Version: 1.5 (SVN)
  • Fixed in revision: 50759 (#27a603e4),50761 (#a8b48c4b)
Assignee
Assign to
Time tracking