Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2,099
    • Issues 2,099
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #33575
Closed
Open
Issue created Apr 06, 2018 by FPC Admin account@fpc_adminOwner

Calling procedurelist on 125% dpi display crashes with "InvalidatePreferredSize loop detected"

Original Reporter info from Mantis: rvk
  • Reporter name: Rik van Kekem

Description:

When calling Search > Procedure List (Alt+G) on a display set at 125% the IDE will crash with:
TControl.InvalidatePreferredSize loop detected TB:TToolBar Bounds=l=0,t=0,r=950,b=32.

When the procedurelist.lfm is touched (@ 125% dpi) and saved and the IDE is recompiled it works correctly because the lfm is saved for 125%.

Steps to reproduce:

In standard trunk (or even Lazarus 1.8.2), call the Procedure List (Alt+G) and the crash will happen (when your screen is set at 125%).

Additional information:

Somehow in 125% the TB (TToolbar) keeps setting the cfAutoSizeNeeded in Form.FControlFlags for TProcedureListForm which results in the loop (I think).

See forum topic:
https://forum.lazarus.freepascal.org/index.php/topic,40795.0.html

Mantis conversion info:

  • Mantis ID: 33575
  • OS: Windows
  • OS Build: 7
  • Platform: Win32/Win64
  • Version: 1.9 (SVN)
  • Fixed in revision: 57674 (#f620b70d)
  • Monitored by: » eyfpc (eyfpc), » @martok (Martok)
  • Target version: 1.8.4
Assignee
Assign to
Time tracking