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,084
    • Issues 2,084
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • 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
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #23014
Closed
Open
Created Sep 28, 2012 by FPC Admin account@fpc_adminOwner

Calling listview.itemfocused.editcaption causes TApplication.HandleException Access violation

Original Reporter info from Mantis: johnkdevnull
  • Reporter name: John Kelly

Description:

With one listview item selected -

Calling listview1.selected.editcaption works
Calling listview1.itemfocused.editcaption crashes

TApplication.HandleException Access violation
  Stack trace:
  $00000000006C1E60 line 380 of include/listitem.inc
  $00000000004DC907 line 65 of main.pas
  $00000000006858C1 line 2718 of include/control.inc
  $00000000006B480E line 56 of include/buttoncontrol.inc
  $00000000006B5111 line 175 of include/buttons.inc
  $00000000006B58BD line 355 of include/buttons.inc
  $00000000006B4731 line 26 of include/buttoncontrol.inc
  $00000000004ABBA9
  $000000000067546C line 5322 of include/wincontrol.inc
  $000000000075E6D5 line 117 of lclmessageglue.pas
  $000000000076D9FA line 2393 of gtk2wsstdctrls.pp
  $00007F6BC2651943
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?

Additional information:

(Sorry for raising all the listview issues - I'm converting a Delphi project.)

Run the attached project, select an item and press one button at a time.

Left button calls listview.selected.editcaption

Right button calls listview.itemfocused.editcaption and crashes.

Running on Fedora 17, x86_64, KDE4. Latest SVN lazarus version.

Mantis conversion info:

  • Mantis ID: 23014
  • Version: 1.0.1 (SVN)
  • Fixed in revision: 38895 (#24625416)
Assignee
Assign to
Time tracking